Exclude iSCSI

Ben RUBSON <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAGUFuyBL8S5Wu+1DXNdoHaR7BA9ZsRDEsYcQa4=XJkoQ4q86YA@mail.gmail.com>
Hello,

Let's assume a FreeBSD server with hot-swap SAS disks.
Some are added, other removed... in the life of the server.

So to be sure that all disks are correctly monitored, following device
is given to smartctl :
"/dev/da[0-9]+"

Even if device indexes change, devices will be proceeded. Perfect.

This server is also an iSCSI initiator, and FreeBSD adds the iSCSI
devices as /dev/da[0-9]+, so with the same naming convention as for
local SAS disks.
However, I would like these iSCSI disks not to be proceeded by
smartctl, as smartctl also runs on the target server itself...

Then, my question is, how could I exclude iSCSI disks from smartctl ?

Thank you very much !

Best regards,

Ben

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.