Skip to content

Instantly share code, notes, and snippets.

@nevion
Created March 9, 2015 22:43
Show Gist options
  • Save nevion/706c79a429fe1b252d9b to your computer and use it in GitHub Desktop.
Save nevion/706c79a429fe1b252d9b to your computer and use it in GitHub Desktop.
note the last drive of vdev group 2 is unplugged and not listed - I have a temporary working disk plugged in instead and pruned from the output
#note due to mishap on 3/7/15, had to:
sgdisk -R scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS
sgdisk -G scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA
#at some point in compilation of this I have the last vdev on group 1 back online, potentially after above mishap, or partprobe:
storage DEGRADED
raidz2-0 ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T3B8LAS ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T44J4AS-part1 ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4615AS-part1 ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4D24AS-part1 ONLINE
10976772185152087831 UNAVAIL corrupted data #/dev/disk/by-id/scsi-SATA_TOSHIBA_DT01ACA3_Z2T5P7MAS
14419488228501462420 UNAVAIL corrupted data # /dev/disk/by-id/scsi-SATA_TOSHIBA_DT01ACA3_Z2T5W48AS
scsi-35000039ff4c2aff9 ONLINE # /dev/disk/by-id/scsi-SATA_TOSHIBA_DT01ACA3_Z2T5X8AAS/ - this one had labelclear used on it and we were trying to replace it
raidz2-1 DEGRADED
scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA-part1 ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS-part1 ONLINE
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0781750-part1 ONLINE
14507462425068499796 UNAVAIL corrupted data #scsi-SATA_Hitachi_HDS72303_MS79215X0AE63A
scsi-SATA_ST3000DM001-9YN1_W1F1AVV6 UNAVAIL corrupted data
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0804382 UNAVAIL corrupted data
14052951480466135352 UNAVAIL #WDC_WD30EFRX-68EUZN0_WD-WCC4N0963811 - unplugged - have temporary 4tb drive installed, drive had been labelclear'd and were trying to replace it
#drives
scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA
scsi-SATA_Hitachi_HDS72303_MS79215X0AE63A
scsi-SATA_ST3000DM001-9YN1_W1F1AVV6
scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T3B8LAS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T44J4AS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4615AS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4D24AS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5P7MAS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5W48AS
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5X8AAS
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0781750
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0804382
#part1 drives
scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA-part1
scsi-SATA_Hitachi_HDS72303_MS79215X0AE63A-part1
scsi-SATA_ST3000DM001-9YN1_W1F1AVV6-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T3B8LAS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T44J4AS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4615AS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4D24AS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5P7MAS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5W48AS-part1
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5X8AAS-part1
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0781750-part1
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0804382-part1
#sata controllers - note below there are no users of the marvell chipsets
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 11)
09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller (rev 11)
04:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
05:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
/sys/devices/pci0000:00/0000:00:0b.0/0000:04:00.0/host10/port-10:0/end_device-10:0/target10:0:0/10:0:0:0/block/sdd -> supermicro lsi sas2008 card 1
/sys/devices/pci0000:00/0000:00:0b.0/0000:04:00.0/host10/port-10:3/end_device-10:3/target10:0:3/10:0:3:0/block/sdg -> supermicro lsi sas2008 card 1
/sys/devices/pci0000:00/0000:00:0c.0/0000:05:00.0/host11/port-11:4/end_device-11:4/target11:0:4/11:0:4:0/block/sdn -> supermicro lsi sas2008 card 2
/sys/devices/pci0000:00/0000:00:0b.0/0000:04:00.0/host10/port-10:5/end_device-10:5/target10:0:5/10:0:5:0/block/sdi -> supermicro lsi sas2008 card 1
/sys/devices/pci0000:00/0000:00:0b.0/0000:04:00.0/host10/port-10:1/end_device-10:1/target10:0:1/10:0:1:0/block/sde -> supermicro lsi sas2008 card 1
/sys/devices/pci0000:00/0000:00:0c.0/0000:05:00.0/host11/port-11:1/end_device-11:1/target11:0:1/11:0:1:0/block/sdk -> supermicro lsi sas2008 card 2
/sys/devices/pci0000:00/0000:00:0c.0/0000:05:00.0/host11/port-11:0/end_device-11:0/target11:0:0/11:0:0:0/block/sdj -> supermicro lsi sas2008 card 2
/sys/devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/block/sdc -> amd mobo builtin
/sys/devices/pci0000:00/0000:00:0c.0/0000:05:00.0/host11/port-11:3/end_device-11:3/target11:0:3/11:0:3:0/block/sdm -> supermicro lsi sas2008 card 2
/sys/devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb -> amd mobo builtin
/sys/devices/pci0000:00/0000:00:0b.0/0000:04:00.0/host10/port-10:4/end_device-10:4/target10:0:4/10:0:4:0/block/sdh -> supermicro lsi sas2008 card 1
/sys/devices/pci0000:00/0000:00:0c.0/0000:05:00.0/host11/port-11:5/end_device-11:5/target11:0:5/11:0:5:0/block/sdo -> supermicro lsi sas2008 card 2
/sys/devices/pci0000:00/0000:00:0c.0/0000:05:00.0/host11/port-11:2/end_device-11:2/target11:0:2/11:0:2:0/block/sdl -> supermicro lsi sas2008 card 2
/sys/devices/pci0000:00/0000:00:0b.0/0000:04:00.0/host10/port-10:2/end_device-10:2/target10:0:2/10:0:2:0/block/sdf -> supermicro lsi sas2008 card 1
#disk | letter | controller | group_id, child_id | status
scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA -> sdd -> supermicro lsi sas2008 card 1 -> group_id0, child_id0, ONLINE #did a sgdisk -R scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS on 3/7/15
scsi-SATA_Hitachi_HDS72303_MS79215X0AE63A -> sdg -> supermicro lsi sas2008 card 1 -> group_id1, child_id4, UNAVAIL corrupted data
scsi-SATA_ST3000DM001-9YN1_W1F1AVV6 -> sdn -> supermicro lsi sas2008 card 2 -> group_id1, child_id4, UNAVAIL corrupted data
scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS -> sdi -> supermicro lsi sas2008 card 1 -> group_id1, child_id1, ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T3B8LAS -> sde -> supermicro lsi sas2008 card 1 -> group_id0, child_id0, ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T44J4AS -> sdk -> supermicro lsi sas2008 card 2 -> group_id0, child_id1, ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4615AS -> sdj -> supermicro lsi sas2008 card 2 -> group_id0, child_id2, ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T4D24AS -> sdc -> amd mobo builtin -> group_id0, child_id3, ONLINE
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5P7MAS -> sdm -> supermicro lsi sas2008 card 2 -> group_id0, child_id4, UNAVAIL corrupted data
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5W48AS -> sdb -> amd mobo builtin -> group_id0, child_id5, UNAVAIL corrupted data
scsi-SATA_TOSHIBA_DT01ACA3_Z2T5X8AAS -> sdh -> supermicro lsi sas2008 card 1 -> group_id0, child_id6, ONLINE (again the one that had labelclear and was to be replaced)
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0781750 -> sdo -> supermicro lsi sas2008 card 2 -> group_id1, child_id2, ONLINE
scsi-SATA_WDC_WD30EFRX-68A_WD-WCC1T0804382 -> sdl -> supermicro lsi sas2008 card 2 -> group_id1, child_id4, UNVAIL
WDC_WD30EFRX-68EUZN0_WD-WCC4N0963811 -> sdf -> supermicro lsi sas2008 card 1 -> group_id1, child_id5, UNVAIL but currently unplugged and swapped out with a scsi-SATA_WDC_WD40EFRX-68W_WD-WCC4E4AH7F5F, drive had labelclear on it and was intended to be replaced)this is swapped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment