From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 19:27:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57AF316A4CE for ; Tue, 15 Feb 2005 19:27:54 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id C83C043D58 for ; Tue, 15 Feb 2005 19:27:53 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 868FDFD020; Tue, 15 Feb 2005 20:27:52 +0100 (CET) Message-ID: <42124D36.4050600@locolomo.org> Date: Tue, 15 Feb 2005 20:27:50 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050127 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: cpghost@cordula.ws References: <20050215142237.GC56849@fw.farid-hajji.net> <42122150.9030300@locolomo.org> <20050215182201.GA58593@fw.farid-hajji.net> In-Reply-To: <20050215182201.GA58593@fw.farid-hajji.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Diskless NFS mounts weirdness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 19:27:54 -0000 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