Logo
Explore Help
Sign In
LotusGuild/driveAtlas
2
0
Fork 0
You've already forked driveAtlas
Code Issues 24 Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f5638cad841be058278d3b69a1fd6b2a7be8095f
driveAtlas/test-paths.sh

12 lines
376 B
Bash
Raw Normal View History

Fix PCI path mappings and line endings for compute-storage-01 Hardware discovered: - LSI SAS3008 HBA at 01:00.0 (bays 5-10 via mini-SAS HD cables) - AMD SATA controller at 0d:00.0 (bays 1-4) - NVMe at 0e:00.0 (M.2 slot) Changes: - Updated SERVER_MAPPINGS with correct PCI paths based on actual hardware - Fixed diagnose-drives.sh CRLF line endings (was causing script errors) - Updated README with accurate controller information - Mapped all 10 bays plus M.2 NVMe slot - Added detailed cable mapping comments from user documentation The old mapping referenced non-existent controller 0c:00.0. Now uses actual SAS PHY paths and ATA port numbers that match physical bays. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 16:04:15 -05:00
#!/bin/bash
echo "=== Checking /dev/disk/by-path/ ==="
ls -la /dev/disk/by-path/ | grep -v "part" | grep "pci-0000:0c:00.0" | head -20
echo ""
echo "=== Checking if paths exist from mapping ==="
echo "pci-0000:0c:00.0-ata-3:"
ls -la /dev/disk/by-path/pci-0000:0c:00.0-ata-3 2>&1
echo "pci-0000:0c:00.0-ata-1:"
ls -la /dev/disk/by-path/pci-0000:0c:00.0-ata-1 2>&1
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 248ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API