"geometry does not match label"

Marcel Moolenaar xcllnt at mac.com
Tue Dec 30 06:32:04 UTC 2008


On Dec 26, 2008, at 1:08 PM, Peter Jeremy wrote:

>> # disklabel /dev/ad8s4f
>> # /dev/ad8s4f:
>> 8 partitions:
>> #        size   offset    fstype   [fsize bsize bps/cpg]
>> c: 83441610 150994935    unused        0     0         # "raw"  
>> part, don't edit
>> f: 83441610 150994935    4.2BSD        0     0     0
>> partition c: offset past end of unit
>> partition c: partition extends past end of unit
>> disklabel: partition c doesn't start at 0!
>> disklabel: An incorrect partition c may cause problems for standard  
>> system utilities
>> partition f: offset past end of unit
>> partition f: partition extends past end of unit
>
> It looks like GEOM_PART_BSD reports partition information that is
> incompatible with bsdlabel.

disklabel reads the label from the disk. It's wrong on the
disk.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-current mailing list