Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-18-2008, 05:12 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Question External USB SATA enclosure and sdparm "stop" command failure


I'm having trouble getting an external, USB connected SATA HDD enclosure to spin down the hard drive. In other enclosures I can issue a stop command with sdparm and it works, however, on this particular one I can't get it to work.

# sdparm -vv -C ready /dev/sda
>>> about to open device name: /dev/sda
    inquiry cdb: 12 00 00 00 24 00
    /dev/sda: Hitachi   HDS721616PLA380
    test unit ready cdb: 00 00 00 00 00 00

# sdparm -vv -C stop /dev/sda
>>> about to open device name: /dev/sda
    inquiry cdb: 12 00 00 00 24 00
    /dev/sda: Hitachi   HDS721616PLA380
    Start stop unit command: 1b 00 00 00 00 00
Nothing happens.

I know next to nothing about how sdparm works, so how would I go about pinpointing where the problem is? Is it possible to query the device for all supported commands? I'm assuming the problem is with the enclosure itself, and not the hard drive.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTL8150 USB NIC "Rx status -84" failure Centinul Linux - Hardware 1 09-30-2008 02:49 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Hard Drive Failure: wrong use of "dd" command mihail1400 Linux - Hardware 6 07-03-2007 03:14 PM
LXer: Using external file devices in Linux: Climbing the "mount" command LXer Syndicated Linux News 0 04-02-2007 12:16 AM
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 08:22 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration