Using Beelink ME Mini with 6 NVME drives, only 4 are useable in TrueNAS Scale

Nice script! Small adjustment to arbitrary number of drives:

DEVICES=`nvme list -o json | jq -r '.Devices[].DevicePath'`

for dev in $DEVICES; do
1 Like