[smartmontools-support] /dev/sda or /dev/sdb - driving me nuts

Noel Kuntze noel.kuntze at thermi.consulting
Sun Jul 14 18:49:30 CEST 2019


Hello David,

Just use some of the symlinks in the subfolders of /dev/disk/.

Kind regards

Noel

Am 14.07.19 um 18:36 schrieb David C. Partridge:
> I have two "drives" in my system: A SATA SSD and a SAS RAID array
>
> When the system starts up sometimes the SATA drive is assigned /dev/sda and
> the RAID array /dev/sdb, but other times it comes out the other way round
>
> This means that my entries in smartd.conf are incorrect quite often! The
> latest boot came up with the RAID array as /dev/sda so I needed to change
> smartd.conf AGAIN
>
> /dev/sdb -n standby -W 0,0,55 -m david.partridge at xxx -M exec
> /usr/share/smartmontools/smartd-runner
> #
> /dev/sda -d aacraid,0,0,0 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,1 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,2 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,3 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,4 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,5 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,6 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
> /dev/sda -d aacraid,0,0,7 -n standby -W 0,0,55 -m david.partridge at xxx -M
> exec /usr/share/smartmontools/smartd-runner
>
> Is there any way I can get this to behave consistently?  Or use some
> notation other than dev/sd?
>
> Thanks
> David
>
> _______________________________________________
> Smartmontools-support mailing list
> Smartmontools-support at listi.jpberlin.de
> https://listi.jpberlin.de/mailman/listinfo/smartmontools-support

-- 
Noel Kuntze
IT security consultant

GPG Key ID: 0x0739AD6C
Fingerprint: 3524 93BE B5F7 8E63 1372 AF2D F54E E40B 0739 AD6C


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20190714/d8d31e05/attachment.asc>


More information about the Smartmontools-support mailing list