On Wed, 24 Sep 2014, Dan Becker wrote:
> two identical drives... shutdown system remove one turn the system back on
>
> bioctl shows the partitions as 536871980544 which is 137. something times
> bigger than the drive
>
> oddly enough it is 512 times the size of the partition
>
> 536871980544/1048578087
> 512.00000000000000000000
>
> in a few days I will have all the data moved to another set of drives and
> be more than willing to do some debugging
That looks normal/expected - the size of the partition is in 512-byte blocks,
the size from bioctl is in bytes. Using the -h option will give you
human-readable output.
> # bioctl softraid0
> Volume Status Size Device
> softraid0 0 Degraded 536871980544 sd1 RAID1
> 0 Offline 0 0:0.0 noencl <wd0a>
> 1 Online 536871980544 0:1.0 noencl <wd1a>
> softraid0 1 Degraded 536871980544 sd2 RAID1
> 0 Online 536871980544 1:0.0 noencl <wd1b>
> 1 Offline 0 1:1.0 noencl <wd0b>
> softraid0 2 Degraded 536871980544 sd3 RAID1
> 0 Online 536871980544 2:0.0 noencl <wd1d>
> 1 Offline 0 2:1.0 noencl <wd0d>
> softraid0 3 Degraded 389781911040 sd4 RAID1
> 0 Online 389781911040 3:0.0 noencl <wd1e>
> 1 Offline 0 3:1.0 noencl <wd0e>
>
> # disklabel sd1
> # /dev/rsd1c:
> type: SCSI
> disk: SCSI disk
> label: SR RAID 1
> duid: 1d42ceb8d332594e
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 65270
> total sectors: 1048578087
> boundstart: 0
> boundend: 1048578087
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 1048578048 0 4.2BSD 4096 32768 1
> c: 1048578087 0 unused
> # disklabel sd2
> # /dev/rsd2c:
> type: SCSI
> disk: SCSI disk
> label: SR RAID 1
> duid: 978b49563ef3223a
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 65270
> total sectors: 1048578087
> boundstart: 0
> boundend: 1048578087
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 1048578048 0 4.2BSD 4096 32768 1
> c: 1048578087 0 unused
> # disklabel sd3
> # /dev/rsd3c:
> type: SCSI
> disk: SCSI disk
> label: SR RAID 1
> duid: 8e245525f52a55d0
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 65270
> total sectors: 1048578087
> boundstart: 0
> boundend: 1048578087
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 1048578048 0 4.2BSD 4096 32768 1
> c: 1048578087 0 unused
> # disklabel sd4
> # /dev/rsd4c:
> type: SCSI
> disk: SCSI disk
> label: SR RAID 1
> duid: 390559d487f82e16
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 47388
> total sectors: 761292795
> boundstart: 0
> boundend: 761292795
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 761292736 0 4.2BSD 4096 32768 1
> c: 761292795 0 unused
> # disklabel
> wd0
>
> # /dev/rwd0c:
> type: ESDI
> disk: ESDI/IDE disk
> label: Hitachi HDS5C302
> duid: 6c7c163233d6b678
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 243201
> total sectors: 3907029168
> boundstart: 0
> boundend: 3907029168
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 1048578551 64 RAID
> b: 1048578615 1048578615 RAID
> c: 3907029168 0 unused
> d: 1048578615 2097157230 RAID
> e: 761293323 3145735845 RAID
--
"Action without study is fatal. Study without action is futile."
-- Mary Ritter Beard