Date: Tue, 15 Feb 2005 20:27:50 +0100 From: Erik Norgaard <norgaard@locolomo.org> To: cpghost@cordula.ws Cc: freebsd-questions@freebsd.org Subject: Re: Diskless NFS mounts weirdness Message-ID: <42124D36.4050600@locolomo.org> In-Reply-To: <20050215182201.GA58593@fw.farid-hajji.net> References: <20050215142237.GC56849@fw.farid-hajji.net> <42122150.9030300@locolomo.org> <20050215182201.GA58593@fw.farid-hajji.net>
next in thread | previous in thread | raw e-mail | index | archive | help
cpghost@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42124D36.4050600>