[Eisfair] udev-Links von twa, twe und cciss Devices

Marcus Roeckrath marcus.roeckrath at gmx.de
Di Okt 22 11:21:42 CEST 2019


Hallo Derya, hallo Kay,

D. Oezbilen wrote:

>>> smartctl -i -d cciss,x /dev/cciss/c0dx IMMER die einzelnen 72 GB Großen
>>> Einzelplatten am Internen Port des Controllers.
>> 
>> Ich bin mir nicht sicher, ob das "x" an den beiden Stellen im
>> smartctl-Aufruf wirklich "synchron" sein müssen.
> 
> *Nein* muessen sie nicht. Ist doch auch logisch.

In diesem Thread wird das IMHO recht gut erklärt:

https://community.hpe.com/t5/System-Administration/How-to-use-smartctl-with-cciss/td-p/4036978

Insbesondere darin:

"Anyhow, the c0d0-part is the representation of your logical disks, the
physicals behind them are queried in the "cciss,0" part, where the phys.
disk no. is specified as "0" ... or 1 in cciss,1. To configure monitoring
in smartmontools, add the disks you'd want to monitor in /etc/smartd.conf

# Comment out DEVICESCAN, it's a BAD idea for controller based systems.
/dev/cciss/c0d0 -f -M daily -m yourmail at somehost.com -d cciss,0 -a -s
L/../../7/04
/dev/cciss/c0d0 -f -M daily -m yourmail at somehost.com -d cciss,1 -a -s
L/../../7/04"

Das smartmon-Paket versucht für jedes cNdM-Device

/usr/sbin/smartctl -d cciss,$i -a $smartmon_device_name

für i=0-15,und fügt jedes der smartd.conf hinzu, falls der Befehl keinen
Fehler meldet.

Das sieht nun für mich dann gut aus.

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair