Hi all,
I recently bought a 22TB WD WD221KFGX, and on my FreeBSD 13.-1-RELEASE system it shows up as a 2TB drive.
The drive is in an enclosure connected to a LSI controller:
The enclosure is attached to mpt1:
The drive is detected by the CAM:
It's an old adapter:
The drive is seen by the adapter:
smartctl can talk to the drive and interrogate it. Note that it's not 4Kn, but rather 512e (I was hoping it would report 4K logical and that would explain my problem):
Here's where I end up with a 2TB drive:
Oddly, the drive does not show up at all on the shelf enclosure utility:
So I'm guessing the shelf is the issue - I'm yet to try the drive directly connected to the controller, that's next.
Does anyone have any advice?
Thanks,
Scott
I recently bought a 22TB WD WD221KFGX, and on my FreeBSD 13.-1-RELEASE system it shows up as a 2TB drive.
The drive is in an enclosure connected to a LSI controller:
Code:
# uname -a
FreeBSD freebsd-test-01 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
Code:
# dmesg | grep -E 'mpt'
mpt0: <LSILogic SAS/SATA Adapter> port 0x4000-0x40ff mem 0xfd5ec000-0xfd5effff,0xfd5f0000-0xfd5fffff irq 18 at device 0.0 on pci3
mpt0: MPI Version=1.5.0.0
mpt1: <LSILogic SAS/SATA Adapter> port 0x6000-0x60ff mem 0xfd3ec000-0xfd3effff,0xfd3f0000-0xfd3fffff irq 16 at device 0.0 on pci5
mpt1: MPI Version=1.5.20.0
Code:
# camcontrol devlist
<NECVMWar VMware IDE CDR00 1.00> at scbus0 target 0 lun 0 (cd0,pass0)
<VMware Virtual disk 2.0> at scbus2 target 0 lun 0 (da0,pass1)
<DELL SC200 1.03> at scbus3 target 6 lun 0 (pass2,ses0)
<SEAGATE ST4000NM0023 GE0F> at scbus3 target 7 lun 0 (pass6,da4)
...
<ATA WDC WD221KFGX-68 0A83> at scbus3 target 19 lun 0 (pass11,da9)
...
<TOSHIBA MG03SCA300 DG02> at scbus3 target 27 lun 0 (pass8,da6)
Code:
# mptutil -u 1 show adapter
mpt1 Adapter:
Board Name: SAS3801E
Board Assembly: L3-01123-04E
Chip Name: C1068E
Chip Revision: UNUSED
RAID Levels: none
Code:
# mptutil -u 1 show drives
mpt1 Physical Drives:
...
da4 ( 3726G) ONLINE <SEAGATE ST4000NM0023 GE0F> SCSI-6 bus 0 id 7
...
da6 ( 2795G) ONLINE <TOSHIBA MG03SCA300 DG02> SCSI-6 bus 0 id 27
...
da9 ( 2048G) ONLINE <WDC WD221KFGX-68 0A83> SATA bus 0 id 19
...
Code:
# smartctl -a /dev/da9
smartctl 7.3 2022-02-28 r5338 [FreeBSD 13.1-RELEASE amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: WDC WD221KFGX-68B9KN0
Serial Number: 2GH1YSAS
LU WWN Device Id: 5 000cca 2becefb90
Firmware Version: 83.00A83
User Capacity: 22,000,969,973,760 bytes [22.0 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: Not in smartctl database 7.3/5319
ATA Version is: ACS-5 (minor revision not indicated)
SATA Version is: SATA 3.5, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Jun 27 17:53:26 2023 AEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Code:
# gpart destroy da9
da9 destroyed
# gpart create -s gpt da9
da9 created
# gpart show da9
=> 40 4294967216 da9 GPT (2.0T)
40 4294967216 - free - (2.0T)
Code:
# sesutil map | grep da
Device Names: pass12,da10
Device Names: pass6,da4
Device Names: pass9,da7
Device Names: pass10,da8
Device Names: pass7,da5
Device Names: pass4,da2
Device Names: pass5,da3
Device Names: pass8,da6
Device Names: pass3,da1
Does anyone have any advice?
Thanks,
Scott