FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-12-2009, 11:47 PM
Norbert Zeh
 
Default SMART -d ata or -d sat

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.

Cheers,
Norbert


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-12-2009, 11:55 PM
Adrian Levi
 
Default 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
 
Old 03-13-2009, 03:06 AM
green
 
Default 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".
 
Old 03-13-2009, 10:44 AM
Norbert Zeh
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:37 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org