Diskless NFS mounts weirdness

Erik Norgaard norgaard at locolomo.org
Tue Feb 15 19:27:54 GMT 2005


cpghost at cordula.ws wrote:

> On Tue, Feb 15, 2005 at 05:20:32PM +0100, Erik Norgaard wrote:
> If the md-based /var is only needed until the nfs /var is mounted,
> I could try tweaking the varsize knob in /etc/rc.conf, right?

Yes, 1kb should be enough ?! The interesting thing is that mounttab is 
only created by nfsclient - on my disk'ed system I have no such file.

> There's plenty of RAM on the workstations; it shouldn't be a problem
> to keep the ramdisk. I've done some monitoring for three weeks or
> so, and there's hardly any swapping to the nfs swapfiles involved.

Then simply remove the nfs mounted /var. You want to keep an nfs mounted 
   /var if you have data that you want to keep persistent, but if you 
keep the nfs /var then you also have to bother about cleaning it up.

> I only wonder if I could simply reuse /dev/md0 for something else
> than var (say newfs and mounting it somewhere else, e.g. on /tmp),
> because:

The problem is: If you first unmount the memory disk /var, the nfs mount 
of /var will fail as before. If you unmount /var after the nfs mount - 
what are you unmounting?

Cheers, Erik
-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2


More information about the freebsd-questions mailing list