From: Bruce Allen <ballen@gr...> - 2004-01-26 15:09:18
> I'm trying to return information from disks behind a 3ware card. For
> this I have a script that issues the following command:
> system "/usr/sbin/smartctl -q silent -a -d 3ware,0 /dev/sda";
> Afterwards I check the exit status to see if the disk is failing or
> is OK. But I'm always receiving as exit code 0 (= 00000000), what does
> this mean ?
> The driver of the 3ware card is 1.02.00.031 running in a Red-Hat 7.1
Exit code 0 means everything is OK.
[You might consider using smartd to monitor the disk, instead of doing it
your self with your own script.]