44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
# Drive Atlas
|
|
|
|
A powerful server drive mapping tool that generates visual ASCII representations of server layouts and provides comprehensive drive information based on the server's hostname.
|
|
|
|
## Features
|
|
|
|
- 🖼️ Visual ASCII art maps for different server types (large1, medium1, medium2, micro1/2)
|
|
- 💽 Detailed NVMe drive information
|
|
- 🔄 SATA drive listing with size and mount points
|
|
- 🔍 PCI Bus Device Function (BDF) details
|
|
- 📝 Drive identification by unique device IDs
|
|
|
|
## Quick Start
|
|
|
|
Execute remotely using either command:
|
|
|
|
```bash
|
|
bash <(curl -s http://10.10.10.110:3000/JWS/driveAtlas/raw/branch/main/driveAtlas.sh)
|
|
```
|
|
- Using `wget`:
|
|
```bash
|
|
bash <(wget -qO- http://10.10.10.110:3000/JWS/driveAtlas/raw/branch/main/driveAtlas.sh)
|
|
```
|
|
|
|
## Requirements
|
|
Linux environment with bash
|
|
sudo privileges for NVMe operations
|
|
curl or wget for remote execution
|
|
## Server Types
|
|
The script supports different server layouts:
|
|
|
|
Type Description
|
|
large1 3x3 grid layout (9 drives)
|
|
medium1 2x4 + 2 layout (10 drives)
|
|
medium2 Single row layout (10 drives)
|
|
micro1/2 Compact 2-drive layout
|
|
## Output Example
|
|
The script provides:
|
|
|
|
ASCII visualization of server layout
|
|
NVMe drive listing
|
|
SATA drive information
|
|
PCI BDF details
|
|
Drive ID mappings |