Complete remap of large1 after physical inspection. All 14 bay-to-PCI assignments were wrong; corrected using serial number cross-referencing against live /dev/disk/by-path and a previous script run with known serials. Key findings: - HBA Slim-SAS #0 (blue cables): ports map in reverse to phys 3,2,1,0 - HBA Slim-SAS #1 (silver cables): port 1=phy7, 2=phy6 (stuck B5), 3=phy5, 4=phy4 - Orange SATA bottom-left (B1) is ASMedia 25:00.0-ata-2, not AMD - Orange SATA top-middle (C2) is AMD 16:00.1-ata-8, not ASMedia - Slot 5 of all stacks must remain empty (near-impossible to remove drives) - B5 (bay 14, WD-CA19PTMK) and C5 (bay 15, unknown) are permanently stuck Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+39
-17
@@ -542,7 +542,7 @@ generate_large1_layout() {
|
|||||||
printf "│ │\n"
|
printf "│ │\n"
|
||||||
printf "│ M.2 NVMe: M1: %-10s M2: %-10s │\n" "${DRIVE_MAP[m2-1]:-EMPTY}" "${DRIVE_MAP[m2-2]:-EMPTY}"
|
printf "│ M.2 NVMe: M1: %-10s M2: %-10s │\n" "${DRIVE_MAP[m2-1]:-EMPTY}" "${DRIVE_MAP[m2-2]:-EMPTY}"
|
||||||
printf "│ │\n"
|
printf "│ │\n"
|
||||||
printf "│ Front Bays (3 stacks x 5 rows): [Bay mapping TBD] │\n"
|
printf "│ Front Bays (3 stacks x 5 rows): [slot 5 of each stack MUST stay empty] │\n"
|
||||||
printf "│ Stack A Stack B Stack C │\n"
|
printf "│ Stack A Stack B Stack C │\n"
|
||||||
printf "│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │\n"
|
printf "│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │\n"
|
||||||
printf "│ │1:%-8s│ │2:%-8s│ │3:%-8s│ │\n" "${DRIVE_MAP[1]:-EMPTY}" "${DRIVE_MAP[2]:-EMPTY}" "${DRIVE_MAP[3]:-EMPTY}"
|
printf "│ │1:%-8s│ │2:%-8s│ │3:%-8s│ │\n" "${DRIVE_MAP[1]:-EMPTY}" "${DRIVE_MAP[2]:-EMPTY}" "${DRIVE_MAP[3]:-EMPTY}"
|
||||||
@@ -625,24 +625,46 @@ declare -A SERVER_MAPPINGS=(
|
|||||||
"
|
"
|
||||||
|
|
||||||
# large1
|
# large1
|
||||||
# Custom tower with multiple controllers:
|
# 3 stacks (A/B/C left-to-right) x 5 slots (1-5 top-to-bottom) = 15 bays
|
||||||
# - HBA: LSI SAS2008 at 10:00.0 (7 drives)
|
# Bay numbering: A1=1, B1=2, C1=3, A2=4, B2=5, C2=6, A3=7, B3=8, C3=9, ...
|
||||||
# - AMD SATA at 16:00.1 (3 drives)
|
#
|
||||||
# - ASMedia SATA at 25:00.0 (2 drives)
|
# *** SLOT 5 IN ALL STACKS MUST REMAIN EMPTY ***
|
||||||
# - 2x NVMe slots
|
# *** Drives are near-impossible to remove once inserted in slot 5 ***
|
||||||
|
# *** B5 (bay 14) already has a permanently stuck drive (WD-CA19PTMK) ***
|
||||||
|
# *** C5 (bay 15) has a permanently stuck but unplugged drive (unknown type) ***
|
||||||
|
#
|
||||||
|
# HBA: LSI SAS2008 at 10:00.0 -- 2x Slim-SAS to 4-port SATA breakout cables
|
||||||
|
# Slim-SAS #0 (BLUE cables, connector closest to bracket/mounting edge):
|
||||||
|
# Port 1 (phy3) -> C Slot 1 (bay 3) Port 2 (phy2) -> unconnected
|
||||||
|
# Port 3 (phy1) -> A Slot 1 (bay 1) Port 4 (phy0) -> A Slot 2 (bay 4)
|
||||||
|
# Slim-SAS #1 (SILVER cables, connector furthest from bracket):
|
||||||
|
# Port 1 (phy7) -> B Slot 2 (bay 5) -- cable present, no drive yet
|
||||||
|
# Port 2 (phy6) -> B Slot 5 (bay 14) -- STUCK, cannot remove
|
||||||
|
# Port 3 (phy5) -> B Slot 4 (bay 11)
|
||||||
|
# Port 4 (phy4) -> A Slot 3 (bay 7)
|
||||||
|
#
|
||||||
|
# Motherboard SATA (ORANGE cables) -- 6 ports in 3-column x 2-row cluster:
|
||||||
|
# ASMedia 25:00.0 (2 ports):
|
||||||
|
# ata-1 -> C Slot 3 (bay 9) [top-left orange port]
|
||||||
|
# ata-2 -> B Slot 1 (bay 2) [bottom-left orange port] -- cable present, no drive
|
||||||
|
# AMD 16:00.1 (3 of 8 ports connected to bays):
|
||||||
|
# ata-3 -> C Slot 4 (bay 12) [bottom-right orange port]
|
||||||
|
# ata-7 -> B Slot 3 (bay 8) [bottom-middle orange port] -- cable present, drive removed (was WD-CA2144YK)
|
||||||
|
# ata-8 -> C Slot 2 (bay 6) [top-middle orange port] -- cable present, drive removed (was WD-CA28XYHK)
|
||||||
|
# AMD FCH 31:00.0 / 31:00.1: no cables attached, ports unused
|
||||||
["large1"]="
|
["large1"]="
|
||||||
pci-0000:10:00.0-sas-phy0-lun-0 1
|
pci-0000:10:00.0-sas-phy1-lun-0 1
|
||||||
pci-0000:10:00.0-sas-phy1-lun-0 2
|
pci-0000:25:00.0-ata-2 2
|
||||||
pci-0000:10:00.0-sas-phy3-lun-0 3
|
pci-0000:10:00.0-sas-phy3-lun-0 3
|
||||||
pci-0000:10:00.0-sas-phy4-lun-0 4
|
pci-0000:10:00.0-sas-phy0-lun-0 4
|
||||||
pci-0000:10:00.0-sas-phy5-lun-0 5
|
pci-0000:10:00.0-sas-phy7-lun-0 5
|
||||||
pci-0000:10:00.0-sas-phy6-lun-0 6
|
pci-0000:16:00.1-ata-8 6
|
||||||
pci-0000:10:00.0-sas-phy7-lun-0 7
|
pci-0000:10:00.0-sas-phy4-lun-0 7
|
||||||
pci-0000:16:00.1-ata-3 8
|
pci-0000:16:00.1-ata-7 8
|
||||||
pci-0000:16:00.1-ata-7 9
|
pci-0000:25:00.0-ata-1 9
|
||||||
pci-0000:16:00.1-ata-8 10
|
pci-0000:10:00.0-sas-phy5-lun-0 11
|
||||||
pci-0000:25:00.0-ata-1 11
|
pci-0000:16:00.1-ata-3 12
|
||||||
pci-0000:25:00.0-ata-2 12
|
pci-0000:10:00.0-sas-phy6-lun-0 14
|
||||||
pci-0000:2a:00.0-nvme-1 m2-1
|
pci-0000:2a:00.0-nvme-1 m2-1
|
||||||
pci-0000:26:00.0-nvme-1 m2-2
|
pci-0000:26:00.0-nvme-1 m2-2
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user