From owner-freebsd-hackers Mon Aug 13 5:55:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wgate.com (mail.wgate.com [38.219.83.4]) by hub.freebsd.org (Postfix) with ESMTP id DAC8737B405 for ; Mon, 13 Aug 2001 05:55:03 -0700 (PDT) (envelope-from msinz@wgate.com) Received: from sinz.eng.tvol.net ([10.32.2.99]) by mail.wgate.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QZB4Y9ZD; Mon, 13 Aug 2001 08:54:19 -0400 Received: from wgate.com (localhost [127.0.0.1]) by sinz.eng.tvol.net (8.11.3/8.11.3) with ESMTP id f7DCsuL45725; Mon, 13 Aug 2001 08:54:58 -0400 (EDT) (envelope-from msinz@wgate.com) Message-ID: <3B77CE20.C81A0005@wgate.com> Date: Mon, 13 Aug 2001 08:54:56 -0400 From: Michael Sinz Organization: WorldGate Communications Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Danny Braniss Cc: Luigi Rizzo , hackers@FreeBSD.ORG Subject: Re: diskless References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Danny Braniss wrote: > > > not sure, i think i tried this at some point and had problems with > > bugs in the implementation of mount_union. If it works for you > > then i guess it is not problematic. One thing you cannot do with > > the above is delete files which are in the lower filesystem (not > > that the current rc.diskless1 does, but in principle you might want > > to do this). > > > > so far rc.diskless1 only populates, so removing is not a problem. > > > the solution currently in rc.diskless1 actually does a merge of > > 2-3 different filesystems, so between the mounts you have to populate > > /conf/etc as well. > > that's why im using /etc and not /conf/etc, it was becoming to complicated > having > more than one /etc. the nice thing is that i can use the same root for non > diskless > too. We have done the same thing here with our large diskless clusters. I really hated not having the same / (root fs) on the server and diskless clients since it made things like updates that much harder. So, we built it such that / is the same on all (and read-only on the diskless crew) We then build a /dev (from mfs with MAKEDEV) and /var (using mtree) and /etc (using the current /etc and /comf/default/etc) (Too bad devfs is not running reliably - the Linux clusters save a some RAM and boot time using that) This whole set up means that if I install a port on the server, all of the clients get it. If I do a make world/etc for the OS, all of the clients get it. (Albeit we have to patch the rc.diskless* again to put back our changes) But it really works very well and saves us lots of grief in configuration and maintainance. -- Michael Sinz ---- Worldgate Communications ---- msinz@wgate.com A master's secrets are only as good as the master's ability to explain them to others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message