Support internal SAS HDDs in Storage Manager
Please consider supporting internal SAS HDDs in the Storage Manager. I have a server with an LSI SAS controller and three SAS HDDs that Linux detects normally, but the umbrelOS 2.0.0 device-discovery code appears to exclude them based on their transport.
I would be willing to help test this on real hardware and contribute a patch if maintainers are open to the approach.
Hardware
- Controller: Broadcom/LSI SAS2008, 9211-8i
- Linux driver:
mpt3sas - Current OS: Ubuntu, kernel
7.0.0-34-generic - OS SSD: WD_BLACK SN850X 1 TB NVMe
- Internal HDDs (all report 4096-byte logical and physical sectors):
| Model | Nominal capacity | lsblk transport |
|---|---|---|
| ST6000NM0014 | 6 TB × 2 | sas |
| ST14000NM0048 | 14 TB × 1 | sas |
Relevant output:
$ lspci -nnk
05:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2
Subsystem: Broadcom / LSI 9211-8i
Kernel driver in use: mpt3sas
$ lsblk -d -o NAME,MODEL,SIZE,TRAN,ROTA,LOG-SEC,PHY-SEC,TYPE
sda ST6000NM0014 5.5T sas 1 4096 4096 disk
sdb ST14000NM0048 12.6T sas 1 4096 4096 disk
sdc ST6000NM0014 5.5T sas 1 4096 4096 disk
nvme0n1 WD_BLACK SN850X 1000GB 931.5G nvme 0 512 512 diskSource inspection
In the 2.0.0 internal-storage.ts implementation, getInternalStorageDevices() filters lsblk results to nvme and sata. The HDD device type and returned transport are also limited to sata. Consequently, disks reporting TRAN=sas appear to be excluded before Storage Manager can consider them.
I don't yet have umbreOS running on the server as I'd want it to support those disks, so this is a request based on the code.
Proposed scope
Could Storage Manager accept internal HDDs reporting TRAN=sas?
Would a contribution along these lines be welcome?
Source: getumbrel/umbrel