NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bioctl cosmetic issue
Hi,
I just set up an LSI MegaRAID controller with four 10 TB drives which
happen to be 4K sector drives. Everything works swimmingly, but I did
notice that bioctl isn't yet aware of 4K blocks.
Here's my mfii0 and RAID volume:
[ 1.033007] mfii0 at pci1 dev 0 function 0: "LSI MegaRAID SAS 9271-4i", firmware 23.34.0-0019, 1024MB cache
[ 1.033007] mfii0: interrupting at ioapic1 pin 0
[ 1.033007] mfii0: Max 256 VD support
[ 1.033007] scsibus0 at mfii0: 64 targets, 8 luns per target
[ 1.666498] scsibus0: waiting 2 seconds for devices to settle...
[ 1.676499] mfii0: physical disk inserted id 13 enclosure 252
[ 1.676499] mfii0: physical disk inserted id 14 enclosure 252
[ 1.686482] mfii0: physical disk inserted id 15 enclosure 252
[ 1.696482] uhub2 at usb5mfii0: physical disk inserted id 16 enclosure 252
[ 3.676491] sd0 at scsibus0 target 0 lun 0: <LSI, MR9271-4i, 3.46> disk fixed
[ 3.676491] sd0: fabricating a geometry
[ 3.686500] sd0: 27745 GB, 3551424 cyl, 64 head, 32 sec, 4096 bytes/sect x 7273316352 sectors
[ 3.696496] sd0: fabricating a geometry
[ 3.716491] sd0: tagged queueing
The size is correct and everything is fast and works well :)
However, bioctl is showing me sizes based on the assumption of 512 byte
sectors:
doozer# bioctl mfii0 show
Volume Status Size Device/Label Level Stripe
=============================================================
0 Online 3.4T RAID 5 1024K
0:0 Online 1.1T 1:0.0 noencl <SEAGATE ST10000NM0226 KTB5>
0:1 Online 1.1T 1:1.0 noencl <SEAGATE ST10000NM0226 KTB5>
0:2 Online 1.1T 1:2.0 noencl <SEAGATE ST10000NM0226 KTB5>
0:3 Online 1.1T 1:3.0 noencl <SEAGATE ST10000NM0226 KTB5>
Where is bioctl supposed to get the sector size?
Thanks,
John
Home |
Main Index |
Thread Index |
Old Index