Disklabe oddity

Greg 'groggy' Lehey grog at FreeBSD.org
Tue Sep 23 20:33:27 PDT 2003


On Tuesday, 23 September 2003 at 10:29:17 +0200, Guy Van Sanden wrote:
> On Sun, 2003-09-21 at 02:46, Greg 'groggy' Lehey wrote:
>>>> You can clear the error by running disklabel -e /dev/ad0s1a in single
>>>> user mode, and changing the length and offset of partition c (offset
>>>> 0, add 63 to the size).
>>>
>>> I wanted to try this on the mirror disk first, it also shows the offset
>>> at 63 using disklabel -r
>>> Yet doing disklabel -e on it shows the offset at 0
>>> 8 partitions:
>>> #        size   offset    fstype   [fsize bsize bps/cpg]
>>>   a:   327680        0    4.2BSD     2048 16384 20488   # (Cyl.    0 - 325*)
>>>   b:  1007984   327680      swap                        # (Cyl.  325*- 1325*)
>>>   c: 80418177        0    unused        0     0         # (Cyl.    0 - 79779*)
>>>   d:  1007616  1335664    4.2BSD     2048 16384 62984   # (Cyl. 1325*- 2324*)
>>>   e:  1024000  2343280    4.2BSD     2048 16384 64008   # (Cyl. 2324*- 3340*)
>>>   f: 18120704  3367280    4.2BSD     2048 16384 28552   # (Cyl. 3340*- 21317*)
>>>   g: 20971520 21487984    4.2BSD     2048 16384 28552   # (Cyl. 21317*- 42122*)
>>>   h: 37958673 42459504    4.2BSD     2048 16384 28552   # (Cyl. 42122*- 79779*)
>>
>> It looks as if you have two different partition tables.  This one
>> doesn't match the other.  Are you still getting the message?
>
> Strangely engough, yes Someone suggested that this might be a
> problem in -current, so I'll check those lists later today.

What does fdisk say about the drive?  Do you have more than one slice
(BIOS "partitions")?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030924/7790e45c/attachment.bin


More information about the freebsd-questions mailing list