From 7d8a50a38d01effeb5ec5234cb151a88dc5a05af Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Wed, 18 Nov 2026 14:29:29 -0500 Subject: [PATCH] Rename large1 to compute-storage-02 The bay map is keyed by hostname, so the large1 entry is renamed. The chassis type is now named after the hardware (rsv-l4500u, Rosewill RSV-L4500U), like 10bay/zimaboard/nuc. Tested on the node with a hostname shim: output is identical apart from the header name. Co-Authored-By: Claude Opus 5.5 --- README.md | 6 +++--- driveAtlas.sh | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index bfffba0..46b00ea 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ bash <(wget -qO- https://code.lotusguild.org/LotusGuild/driveAtlas/raw/branch/ma | Chassis Type | Description | Servers Using It | |-------------|-------------|------------------| | **10-Bay Hot-swap** | Sliger CX4712 4U 10x 3.5" NAS (with unused 2x 5.25" bays) | compute-storage-01, compute-storage-gpu-01, storage-01 | -| **Large1 Grid** | Unique 3x5 grid layout (1/1 configuration) | large1 | +| **RSV-L4500U Grid** | Unique 3x5 grid layout (1/1 configuration) | compute-storage-02 (was large1) | | **Micro** | Compact 2-drive layout | monitor-01, monitor-02 | ### Server Details @@ -92,7 +92,7 @@ bash <(wget -qO- https://code.lotusguild.org/LotusGuild/driveAtlas/raw/branch/ma - **Controllers:** AMD SATA (bays 1-4), LSI SAS3416 HBA (bays 5+, U.2 NVMe) - **Status:** ⚠️ Partially mapped (5 of 10 bays) -#### large1 +#### compute-storage-02 (was large1) - **Chassis:** Unique 3x5 grid (15 bays total) - **Note:** 1/1 configuration, will not be replicated - **Status:** ⚠️ Partially mapped (14 bays + 2 M.2) @@ -296,7 +296,7 @@ PCI paths are deterministic and based on physical hardware topology. - **10-bay chassis:** Bays numbered 1-10 (left to right, typically) - **M.2 slots:** Labeled as `m2-1`, `m2-2`, etc. - **USB drives:** Labeled as `usb1`, `usb2`, etc. -- **Large1:** Grid numbering 1-15 (documented in mapping) +- **compute-storage-02 (RSV-L4500U):** Grid numbering 1-15 (documented in mapping) ### Ceph Integration diff --git a/driveAtlas.sh b/driveAtlas.sh index 109a1f2..d36eccc 100644 --- a/driveAtlas.sh +++ b/driveAtlas.sh @@ -826,7 +826,7 @@ generate_nuc_layout() { } #------------------------------------------------------------------------------ -# generate_large1_layout +# generate_rsv_l4500u_layout # # Rosewill RSV-L4500U (4U, 427x178x635 mm) -- FRONT ELEVATION with the 3x 120 mm # fan wall and the perforated drop-down door CUT AWAY, exposing all 15 internal @@ -836,7 +836,7 @@ generate_nuc_layout() { # # Bay numbering is a driveAtlas LOCAL convention (the chassis documents none): # row-major across modules: A1=1, B1=2, C1=3, A2=4, B2=5, C2=6, ... C5=15. -# (Matches the wiring comments on SERVER_MAPPINGS["large1"] below.) +# (Matches the wiring comments on SERVER_MAPPINGS["compute-storage-02"] below.) # # Args: # $1 - Hostname to display in the layout header @@ -848,7 +848,7 @@ generate_nuc_layout() { # device names are always passed as %s args and pre-truncated, so SC2059 does # not apply here. # shellcheck disable=SC2059 -generate_large1_layout() { +generate_rsv_l4500u_layout() { local host="${1:-unknown}" if declare -F build_drive_map >/dev/null 2>&1; then @@ -1073,7 +1073,7 @@ declare -A SERVER_MAPPINGS=( pci-0000:01:00.0-sas-phy13-lun-0 7 " - # large1 + # compute-storage-02 (was large1): Rosewill RSV-L4500U # 3 stacks (A/B/C left-to-right) x 5 slots (1-5 top-to-bottom) = 15 bays # Bay numbering: A1=1, B1=2, C1=3, A2=4, B2=5, C2=6, A3=7, B3=8, C3=9, ... # @@ -1106,7 +1106,7 @@ declare -A SERVER_MAPPINGS=( # 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"]=" + ["compute-storage-02"]=" pci-0000:10:00.0-sas-phy1-lun-0 1 pci-0000:25:00.0-ata-2 2 pci-0000:10:00.0-sas-phy3-lun-0 3 @@ -1173,7 +1173,7 @@ declare -A CHASSIS_TYPES=( ["compute-storage-01"]="10bay" ["compute-storage-gpu-01"]="10bay" ["storage-01"]="10bay" - ["large1"]="large1" + ["compute-storage-02"]="rsv-l4500u" # Rosewill RSV-L4500U (was large1 until 2026-11) ["monitor-01"]="zimaboard" # ZimaBoard 832 ["monitor-02"]="zimaboard" # ZimaBoard 832 ["pbs"]="nuc" # Intel NUC5i5RYB (1 internal SATA + 2 rear USB-NVMe) @@ -1748,8 +1748,8 @@ case "$CHASSIS_TYPE" in "10bay") generate_10bay_layout "$HOSTNAME" ;; - "large1") - generate_large1_layout "$HOSTNAME" + "rsv-l4500u") + generate_rsv_l4500u_layout "$HOSTNAME" ;; "micro") generate_micro_layout "$HOSTNAME" -- 2.47.3