diff --git a/driveAtlas.sh b/driveAtlas.sh index d03e664..b264d1f 100644 --- a/driveAtlas.sh +++ b/driveAtlas.sh @@ -89,28 +89,26 @@ generate_large1_layout() { local hostname=$1 build_drive_map + # large1 has 3 stacks of 5 bays at front (15 total) + 2 M.2 slots + # Physical bay mapping TBD - current mapping is by controller order printf "┌─────────────────────────────────────────────────────────────────────────┐\n" - printf "│ %-69s │\n" "$hostname - Custom Tower (3x4 Grid + Internal)" + printf "│ %-69s │\n" "$hostname - Tower (3x5 Front Bays + 2x M.2)" printf "│ │\n" - printf "│ NVMe Slots: 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 "│ HBA Bays (SAS2008): │\n" - printf "│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │\n" - printf "│ │1:%-8s│ │2:%-8s│ │3:%-8s│ │4:%-8s│ │\n" "${DRIVE_MAP[1]:-EMPTY}" "${DRIVE_MAP[2]:-EMPTY}" "${DRIVE_MAP[3]:-EMPTY}" "${DRIVE_MAP[4]:-EMPTY}" - printf "│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │\n" - printf "│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │\n" - printf "│ │5:%-8s│ │6:%-8s│ │7:%-8s│ │\n" "${DRIVE_MAP[5]:-EMPTY}" "${DRIVE_MAP[6]:-EMPTY}" "${DRIVE_MAP[7]:-EMPTY}" - printf "│ └──────────┘ └──────────┘ └──────────┘ │\n" - printf "│ │\n" - printf "│ Internal SATA (AMD 16:00.1): │\n" - printf "│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │\n" - printf "│ │8:%-8s│ │9:%-8s│ │10:%-7s│ │\n" "${DRIVE_MAP[8]:-EMPTY}" "${DRIVE_MAP[9]:-EMPTY}" "${DRIVE_MAP[10]:-EMPTY}" - printf "│ └──────────┘ └──────────┘ └──────────┘ │\n" - printf "│ │\n" - printf "│ ASMedia SATA (25:00.0): │\n" - printf "│ ┌──────────┐ ┌──────────┐ │\n" - printf "│ │11:%-7s│ │12:%-7s│ │\n" "${DRIVE_MAP[11]:-EMPTY}" "${DRIVE_MAP[12]:-EMPTY}" - printf "│ └──────────┘ └──────────┘ │\n" + printf "│ Front Bays (3 stacks x 5 rows): [Bay mapping TBD] │\n" + printf "│ Stack A Stack B Stack C │\n" + printf "│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │\n" + printf "│ │1:%-8s│ │2:%-8s│ │3:%-8s│ │\n" "${DRIVE_MAP[1]:-EMPTY}" "${DRIVE_MAP[2]:-EMPTY}" "${DRIVE_MAP[3]:-EMPTY}" + printf "│ ├──────────┤ ├──────────┤ ├──────────┤ │\n" + printf "│ │4:%-8s│ │5:%-8s│ │6:%-8s│ │\n" "${DRIVE_MAP[4]:-EMPTY}" "${DRIVE_MAP[5]:-EMPTY}" "${DRIVE_MAP[6]:-EMPTY}" + printf "│ ├──────────┤ ├──────────┤ ├──────────┤ │\n" + printf "│ │7:%-8s│ │8:%-8s│ │9:%-8s│ │\n" "${DRIVE_MAP[7]:-EMPTY}" "${DRIVE_MAP[8]:-EMPTY}" "${DRIVE_MAP[9]:-EMPTY}" + printf "│ ├──────────┤ ├──────────┤ ├──────────┤ │\n" + printf "│ │10:%-7s│ │11:%-7s│ │12:%-7s│ │\n" "${DRIVE_MAP[10]:-EMPTY}" "${DRIVE_MAP[11]:-EMPTY}" "${DRIVE_MAP[12]:-EMPTY}" + printf "│ ├──────────┤ ├──────────┤ ├──────────┤ │\n" + printf "│ │13:%-7s│ │14:%-7s│ │15:%-7s│ │\n" "${DRIVE_MAP[13]:-EMPTY}" "${DRIVE_MAP[14]:-EMPTY}" "${DRIVE_MAP[15]:-EMPTY}" + printf "│ └──────────┘ └──────────┘ └──────────┘ │\n" printf "└─────────────────────────────────────────────────────────────────────────┘\n" }