I have just installed smartmontools on my Lenny box and am using smartd
to monitor two SATA IDE drives. I've read on the web that the right
option to use for such a drive is "-d ata" to force smartd to treat it
as an ATA drive. On the other hand, when starting smartd without any -d
switch for the two drives in smartd.conf, smartd reported that it is
automatically using "-d sat" for ATA disk behind SAT layer.
smartd does not complain with either, -d sat or -d ata. The only
difference is that, in the first case, it reports to be monitoring two
SCSI drives, while in the latter it says they're ATA drives.
So I'm a bit confused about which of the two switches, sat or ata, is
the correct one to use. Or maybe it doesn't matter. Any pointers are
appreciated.
Cheers,
Norbert
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
03-12-2009, 11:55 PM
Adrian Levi
SMART -d ata or -d sat
2009/3/13 Norbert Zeh <nzeh@cs.dal.ca>:
> Hi Debianites,
>
> I have just installed smartmontools on my Lenny box and am using smartd
> to monitor two SATA IDE drives. *I've read on the web that the right
> option to use for such a drive is "-d ata" to force smartd to treat it
> as an ATA drive. *On the other hand, when starting smartd without any -d
> switch for the two drives in smartd.conf, smartd reported that it is
> automatically using "-d sat" for ATA disk behind SAT layer.
>
> smartd does not complain with either, -d sat or -d ata. *The only
> difference is that, in the first case, it reports to be monitoring two
> SCSI drives, while in the latter it says they're ATA drives.
>
> So I'm a bit confused about which of the two switches, sat or ata, is
> the correct one to use. *Or maybe it doesn't matter. *Any pointers are
> appreciated.
SATA drives are ATA drives on a serial interface.
-d ata is correct. I haven't heard of, or any experience with -d sat.
Adrian
--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
03-13-2009, 03:06 AM
green
SMART -d ata or -d sat
Adrian Levi wrote at 2009-03-12 18:55 -0600:
> 2009/3/13 Norbert Zeh <nzeh@cs.dal.ca>:
> > smartd does not complain with either, -d sat or -d ata. *The only
> > difference is that, in the first case, it reports to be monitoring two
> > SCSI drives, while in the latter it says they're ATA drives.
> >
> > So I'm a bit confused about which of the two switches, sat or ata, is
> > the correct one to use. *Or maybe it doesn't matter. *Any pointers are
> > appreciated.
>
> SATA drives are ATA drives on a serial interface.
> -d ata is correct. I haven't heard of, or any experience with -d sat.
And the smartctl(8) man page says '-d ata' (at least when using libata):
For SATA disks accessed with libata, use "/dev/sd[a-z]" and append "-d ata".
03-13-2009, 10:44 AM
Norbert Zeh
SMART -d ata or -d sat
Thanks, guys. Just wanted to make sure.
-N
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org