On Tuesday 22 May 2012, Rodolfo Gouveia wrote:
> Hi all,
> I was running 4.9 on this server and finally got it
> updated to 5.0 and right after to 5.1.
> But security(8) now gives me this:
>       disklabel: partition a: partition extends past end of unit
> sd1 is a softraid crypto volume and running disklabel I can see the
> problem: # disklabel sd1
>     # /dev/rsd1c:
>     type: SCSI
>     disk: SCSI disk
>     label: SR CRYPTO
>     duid: 0000000000000000
>     flags:
>     bytes/sector: 512
>     sectors/track: 63
>     tracks/cylinder: 255
>     sectors/cylinder: 16065
>     cylinders: 24136
>     total sectors: 387758000
>     boundstart: 0
>     boundend: 387758000
>     drivedata: 0
>
>     16 partitions:
>     #                size           offset  fstype [fsize bsize  cpg]
>       a:        387758001                0  4.2BSD   2048 16384    1
>       c:        387758000                0  unused
>     disklabel: partition a: partition extends past end of unit
>
> So in fact it goes beyond the "disk". This sd1a comes from sd0h:
>     h:        387758080         98568192    RAID
>
> I can mount the partition and have been using it without any problems.
> So is this something to be worried about?

A significant amount of time ago, there was an off-by-one error in a size 
calculation used by softraid(4) (I'd have to go dumpster diving to find the 
exact commit that fixed it) - I suspect you've got an old softraid volume 
that was disklabelled with the incorrectly reported size. It is likely 
harmless and has probably been that way since it was created, however if you 
want to fix it you could follow Otto's instructions.
-- 

    "Reason is not automatic. Those who deny it cannot be conquered by it.
     Do not count on them. Leave them alone." -- Ayn Rand

Reply via email to