From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 11:12:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63B821065686 for ; Tue, 16 Dec 2008 11:12:34 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from smtp11.ispronet.com (smtp11.ispronet.com [81.28.196.233]) by mx1.freebsd.org (Postfix) with ESMTP id 252408FC22 for ; Tue, 16 Dec 2008 11:12:34 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from localhost (unknown [127.0.0.1]) by smtp11.ispronet.com (Postfix) with ESMTP id 71977B84D for ; Tue, 16 Dec 2008 11:45:42 +0100 (CET) Received: from smtp11.ispronet.com ([127.0.0.1]) by localhost (smtp11.ispronet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 35990-06 for ; Tue, 16 Dec 2008 11:45:33 +0100 (CET) Received: from [192.168.1.59] (unknown [81.28.194.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp11.ispronet.com (Postfix) with ESMTP for ; Tue, 16 Dec 2008 11:45:33 +0100 (CET) Message-ID: <49478749.2030200@dugas-family.org> Date: Tue, 16 Dec 2008 11:47:37 +0100 From: Bernard Dugas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7) Gecko/20040616 X-Accept-Language: fr,en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20081216094719.EDCEE1065675@hub.freebsd.org> In-Reply-To: <20081216094719.EDCEE1065675@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ispronet.com Subject: Optimising pxeboot disk size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 11:12:34 -0000 Hi, I'm working on a project to have many diskless clients PXEbooting on 1 nfs server. This works now, but i would like to have a more efficient use of disk space on NFS server. Lot of root directories can be shared and mounted in fstab, after booting process : /usr, /home... In current solution, the minimum root directories i had to keep for managing to boot are : bin libexec sbin boot etc lib But it appears that only /etc is really specific to each diskless clientX, having basically fstab and rc.conf inside. All other directories could be shared, and specifically /boot which is more that 100MO : i would prefer not to duplicate it, as 10 servers would mean 1GO for nothing. Please would anybody help find a way to share all what we can during boot process ? Another way to ask the question is : how can we mount / and then /etc at the begining of boot process instead of mounting only / with etc inside ? I have tried to do links, but no way to make the boot process follow them... Thanks a lot, Best regards,