From owner-freebsd-stable@FreeBSD.ORG Thu Dec 28 11:34:42 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE3C016A403 for ; Thu, 28 Dec 2006 11:34:42 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3DF6113C470 for ; Thu, 28 Dec 2006 11:34:41 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (orgfel@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id kBSBYYmZ044569; Thu, 28 Dec 2006 12:34:40 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id kBSBYY3F044568; Thu, 28 Dec 2006 12:34:34 +0100 (CET) (envelope-from olli) Date: Thu, 28 Dec 2006 12:34:34 +0100 (CET) Message-Id: <200612281134.kBSBYY3F044568@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, robert@ml.erje.net In-Reply-To: <20061227154716.GA4907@iphouse.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 28 Dec 2006 12:34:40 +0100 (CET) Cc: Subject: Re: Possibility for FreeBSD 4.11 Extended Support X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, robert@ml.erje.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2006 11:34:42 -0000 Robert Joosten wrote: > > > In that case you can savely mount with the -L option > > (a.k.a. "-o nolockd"), an everything will just work. > > No need for rpc.lockd at all. > > Hmm, yes. Fiddling in etc/fstab and /etc/rc.d/initdiskless didn't help. > Where am I expected to fiddle to enable this ? In the place where the mount happens. It depends on how your PXE clients are set up, i.e. when they mount which file systems. When I set up a bunch of disklesse clients, I configured them to mount the root file system read-only (the kernel does this via the various "BOOTP" options), and the rest via /etc/fstab. In that case the -L option should be put in /etc/fstab, like this: fsrv:/exp/client01/var /var nfs rw,nosuid,-L 0 0 I'm afraid I don't know how to specify any mount options for the root file system when mounting it via the kernel's BOOTP options, but if you mount it read-only (or just treat it as read-only), then it's not necessary anyway because nothing will try to lock something on it. Make sure that all writable directories (/tmp, /var, /home etc.) are separat from the root file system, i.e. either local (mdfs for /tmp, for example) or mounted via /etc/fstab. Best regards Oliver PS: I never use initdiskless and friends, but rather brew my own diskless setup. YMMV. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "To this day, many C programmers believe that 'strong typing' just means pounding extra hard on the keyboard." -- Peter van der Linden