hdparm and sdparm

Kevin Faulkner kevin.faulkner at cox.net
Thu Apr 26 05:33:46 MST 2007


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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFGKjSXDQw/VSQuFZYRAvtIAJ45bhuaRMFE5OGuafFzX4VgBsxoGACdGhCZ
> skA33FPzfPM1aIUAdMdKS4s=
> =Hnjw
> -----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070426/79a4ad54/attachment.pgp 


More information about the PLUG-discuss mailing list