From owner-freebsd-questions@FreeBSD.ORG Mon Apr 1 02:23:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 77B7BB3A for ; Mon, 1 Apr 2013 02:23:05 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 5312CE29 for ; Mon, 1 Apr 2013 02:23:05 +0000 (UTC) Received: from mbook.home (pool-68-237-170-18.lsanca.fios.verizon.net [68.237.170.18]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r312A2mE051279 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 31 Mar 2013 19:10:03 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: gpart From: Doug Hardie In-Reply-To: <004301ce2e78$3e274fc0$ba75ef40$@thenetnow.com> Date: Sun, 31 Mar 2013 19:09:56 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <18C62C2F-FB61-4146-A84F-ECAB3B779709@lafn.org> References: <004301ce2e78$3e274fc0$ba75ef40$@thenetnow.com> To: Grant Peel X-Mailer: Apple Mail (2.1503) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 02:23:05 -0000 On 31 March 2013, at 18:28, Grant Peel wrote: > Hi all, >=20 >=20 >=20 > I am in the midst of setting up the framework for new servers using = FreeBSD > 9.1. I used the bsdinstall and Manual`` option when setting up the = disk > geometry using GPT - graphical setup. >=20 >=20 >=20 > The idea will be to eventually dump the 4 file systems, (/, /usr /var = and > /home) and restore them on other servers when the time comes. >=20 >=20 >=20 > I am reading everything there is about GPT at this point as I have = never > used it before. It seems gpart is the tool to use. >=20 >=20 >=20 > I have done several test runs setting the drive geometry using this as = a > guide: >=20 >=20 >=20 > http://www.wonkity.com/~wblock/docs/html/disksetup.html >=20 >=20 >=20 > Which worked well. But as yet I do not have dumps to test with. >=20 >=20 >=20 > I was wondering in anyone sees any issues creating the drive geometry = using > this method, with the intent of restoring dumped filesystems to to, > including the root filesystem. >=20 >=20 >=20 > I am yet to use 9.1 to do so, so any tips would be appreciated. I just finished doing exactly that. Worked fine. I installed 9.1 on a = drive and it had boot problems. Apparently the drive was previously a = part of a raid and graid would get involved during boot and wait and = wait and wait. To get rid of that, I formatted another drive using = gpart and then used dump-restore to move the data from the first drive = to the second. The new drive is now the master drive for the system. = The original drive has been returned to a spare drive pool. The new = drive boots fine and just works. I did a complete zero of the drive = before starting the partitioning though as I have no way of knowing if = that drive was previously in a raid array.