Re: hdparm and sdparm

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Faulkner
Date:  
To: Alan Dayley
CC: Main PLUG discussion list
Subject: Re: hdparm and sdparm
Yes, thank you very much. That did help me out. Are there any kind of
limitations with using SATA and sdparm? Or is it treated exactly the
same way a SCSI device is? (I guess I'm asking are there certain options
which are specific to SCSI devices). I really wouldn't want to loose my
data from my hard drive because, because of a stupid mistake I made.
Gee, didn't Hans mention at the last East side meeting that there should
be some kind of Data Rescue/Recovery, committee (for lack of a better
term)

Would anyone be interested?



I've been having issues with my email
On Sat, 2007-04-21 at 08:58 -0700, Alan Dayley wrote:
>
> Kevin Faulkner wrote:
> > hdparm is to IDE type devices as sdparm is to SCSI devices. I know that
> > Linux sees SATA devices as /dev/sd*, I also know that you need to build
> > your kernel with SCSI support if you plan on using any kind of SATA
> > device, does this mean that you would have to sdparm for SATA devices? I
> > really don't want to loose my hard drive experimenting, perhaps someone
> > knows, if not then I will experiment.
>
> The ATA Identify or SCSI Inquiry are safe commands to test. My computer
> has a SATA drive at /dev/sda. My results:
>
> # hdparm -i /dev/sda
>
> /dev/sda:
> HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
>
> # sdparm --inquiry /dev/sda
>     /dev/sda: ATA       Hitachi HTS54168  SB2O
> Device identification VPD page:
>   Addressed logical unit:
>     desig_type: vendor specific [0x0],  code_set: ASCII
>  00     20 20 20 20 20 20 53 42  32 32 30 34 53 47 43 37          SB2204SGC7
>  10     4e 4c 54 45                                         NLTE
>     desig_type: T10 vendor identification,  code_set: ASCII
>       vendor id: ATA
>       vendor specific: Hitachi HTS541680J9SA00
> SB2204SGC7NLTE
> #

>
> Does that help?
>
> Alan
>
>
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss