problem formating disk with gpart

Damien Fleuriot ml at my.gd
Thu Dec 1 13:26:58 UTC 2011



On 12/1/11 1:48 PM, Robert Huff wrote:
> 
> Damien Fleuriot writes:
> 
>>  >>  Try this:
>>  >>  gpart delete -i 1
>>  >>  gpart create -s 78g -i 1 -t freebsd-ufs /dev/ad1
>>  > 
>>  > 	Done
>>
>>  >>> gpart show ad1
>>  > =>       34  976773101  ad1  GPT  (465G)
>>  >          34  163577856    1  freebsd-ufs  (78G)
>>  >   163577890  813195245       - free -  (387G)
>>  > 
>>  >>  Then try to newfs -U it.
>>  > 
>>  > 	Same error message as above, only with sector # 163577855.
>>  > 
>>  > 
>>  > 	For the record: this is being done on:
>>  > 
>>  > FreeBSD 9.0-BETA1 #0: Tue Aug 23 10:07:23 EDT 2011 amd64 
>>  >
>>  
>>  
>>  You may want to try on different versions to check if you have
>>  better results:
> 
> 	Unfortunately, not an option in my current set-up.
> 	What makes this so puzzling is I have two other GPT disks -
> created either with this version or one from mid-April - that got
> built with no problems not caused by my own ignorance.
> 
> 
> 					Robert Huff
> 


As was pointed out earlier, did you hot-swap the disk, or did you
shutdown the system before inserting it ?

That might be a lead to follow


More information about the freebsd-questions mailing list