From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 18 01:45:17 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 441D9106564A for ; Tue, 18 Nov 2008 01:45:17 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from arcturus.maxiscale.com (arcturus.maxiscale.com [76.231.178.136]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7768FC18 for ; Tue, 18 Nov 2008 01:45:17 +0000 (UTC) (envelope-from psteele@maxiscale.com) X-ASG-Debug-ID: 1226972702-377000010000-P5m3U7 X-Barracuda-URL: http://10.100.1.25:8000/cgi-bin/mark.cgi Received: from polaris.maxiscale.com (localhost [127.0.0.1]) by arcturus.maxiscale.com (Spam Firewall) with ESMTP id 756882F8B7 for ; Mon, 17 Nov 2008 17:45:02 -0800 (PST) Received: from polaris.maxiscale.com (polaris.maxiscale.com [10.100.1.24]) by arcturus.maxiscale.com with ESMTP id mFMmHivsp3XGFAmN for ; Mon, 17 Nov 2008 17:45:02 -0800 (PST) X-ASG-Whitelist: Client X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-ASG-Orig-Subj: RE: How can I add new binaries to the mfsroot image? Date: Mon, 17 Nov 2008 17:44:59 -0800 Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F240C8F6@polaris.maxiscale.com> In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F23B5102@polaris.maxiscale.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How can I add new binaries to the mfsroot image? Thread-Index: AclInJLN9UVMXIw1RAOkNcvb/JCjzwAP40wwAAyNpPAABDRPkA== References: <2ACA3DE8F9758A48B8BE2C7A847F91F23B502B@polaris.maxiscale.com><20081117130855.d845d507.stas@FreeBSD.org><2ACA3DE8F9758A48B8BE2C7A847F91F23B505B@polaris.maxiscale.com> <2ACA3DE8F9758A48B8BE2C7A847F91F23B5102@polaris.maxiscale.com> From: "Peter Steele" To: "Peter Steele" , X-Barracuda-Connect: polaris.maxiscale.com[10.100.1.24] X-Barracuda-Start-Time: 1226972702 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at maxiscale.com Cc: Subject: RE: How can I add new binaries to the mfsroot image? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 01:45:17 -0000 >I'll have to check this out. I'm not getting anywhere with trying to >customize mfsroot with my current approach... The goal we are trying to achieve btw is to make gmirror available during an install so that the file systems are mirrored right from the get-go, so that we can avoid having to go through the process of converting a system as a post operation. The standard slicing/partition commands of sysinstall do *not* support the creation of a mirrored file system though, so our idea was to run a script via install.cfg to take care of fdisk/bsdlabel/gmirror phase, and then install the packages in the normal fashion via subsequent steps in install.cfg. Is this something that can be done via sysinstall? If not, what's the best alternative? This whole process is targeted to be on a PXE boot server so we can configure our systems in a completely automated hands-off manner. We have 200+ FreeBSD systems and we definitely need an automated process. We already have it working fine, but without mirroring. We can upgrade doezens of systems at a time simply by making them boot from our PXE server. We now need to tweak this process so that we can establish the mirrored file systems as part of the automated install.