Partitioning with gpart

Lynn Steven Killingsworth blue.seahorse.syndicate at gmail.com
Wed Aug 29 13:24:49 UTC 2012


On Tue, 28 Aug 2012 21:33:16 -0400, Warren Block <wblock at wonkity.com>  
wrote:

> 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.

Great.  My storage disks are formatted with zfs and my files are moved.   
Thanks.

-- 
Steve
Blue Seahorse Syndicate
http://www.blueleafsyndicate.org
Maine & New Hampshire
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the freebsd-questions mailing list