From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 01:33:17 2012 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 09DD2106564A for ; Wed, 29 Aug 2012 01:33:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id BAB268FC08 for ; Wed, 29 Aug 2012 01:33:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q7T1XGiK082649; Tue, 28 Aug 2012 19:33:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q7T1XGLY082646; Tue, 28 Aug 2012 19:33:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 28 Aug 2012 19:33:16 -0600 (MDT) From: Warren Block To: Lynn Steven Killingsworth In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 28 Aug 2012 19:33:16 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning with gpart 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: Wed, 29 Aug 2012 01:33:17 -0000 On Tue, 28 Aug 2012, Lynn Steven Killingsworth wrote: > I have installed PC-BSD 9.1 RC1 last week. Very nice I must say. > > The default file system is zfs. I have one storage disk which is ufs and > another which is on an mbr partition. I thought I would format the mbr disk > with zfs and move everything from the ufs disk and then format the ufs disk > with zfs. > > I have not tried the command line before so I just tried to create over the > disk with: gpart create -s gpt ada2 > > The message is that ada2 already exists as a file system. The exact message would help; gpart is not a filesystem tool. > Show indicates that it is not gpt but mbr. > > Then in order to start over I tried to delete and destroy by starting with: > > gpart delete -i 1 ada2s1 > > The message is that ada2s1 is an invalid argument. > > I cannot experiment on my backup as it has only one disk. gpart takes a -F option to destroy which makes it unnecessary to delete all the partitions first. Back up data first, and make certain that you and the computer agree on which drive is which.