Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




311 posts

Ultimate Geek
+1 received by user: 3


Topic # 76453 2-Feb-2011 15:55
Send private message

Hello,

Is there a way to see if an external USB hard drive is in sleep mode or not?
Distro is Ubuntu (if it matters although it shouldn't).

SMART is not available so that's not an option.
One way would be trying to do an "ls" on the mountpoint and see if it takes two-three seconds to do the listing (meaning that it's in sleep mode) or instantaneous which would show the opposite but I'm not sure after how long the USB drive is going in sleep mode (if it does)


Any thoughts on this?

Thanks.

Create new topic

gzt

8824 posts

Uber Geek
+1 received by user: 1162


  Reply # 434545 2-Feb-2011 22:41
Send private message

what motivates the need to check?



311 posts

Ultimate Geek
+1 received by user: 3


  Reply # 434684 3-Feb-2011 10:17
Send private message

The hard drives (two of them) are attached to my media centre pc and for the most of the time they should be sleeping as they are not being used.

 
 
 
 


gzt

8824 posts

Uber Geek
+1 received by user: 1162


  Reply # 434717 3-Feb-2011 11:03
Send private message

hdparm -C ?

952 posts

Ultimate Geek
+1 received by user: 86


  Reply # 434720 3-Feb-2011 11:11
Send private message

just a stab in the dark but anything here . . .

/var/logs/messages

Not familiar with Ubuntu but think it would probably use same structure as opensuse.


gzt

8824 posts

Uber Geek
+1 received by user: 1162


  Reply # 436163 7-Feb-2011 10:41
Send private message

did any of that work?



311 posts

Ultimate Geek
+1 received by user: 3


  Reply # 436343 7-Feb-2011 15:47
Send private message

Hello,

Sorry about the delay. Indeed 'hdparm -C' did the trick. Even more, 'hdparm -y' sends the hard drive to sleep and it will be automatically up when something tries to access data on that hard drive.

Many thanks.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Push notifications: A productivity killer
Posted 25-Jul-2017 14:15


Intergen takes SKYCITY to the cloud
Posted 25-Jul-2017 14:04


Nothing nebulous about Microsoft’s cloud-transition
Posted 21-Jul-2017 15:34


We’re spending more on tech, but not as much as Australians
Posted 21-Jul-2017 11:43


Endace announces EndaceFabric for network-wide packet recording
Posted 20-Jul-2017 20:49


Acorn 6: MacOS image editing for the rest of us
Posted 20-Jul-2017 17:04


HTC faces backlash over keyboard pop-up ads
Posted 19-Jul-2017 15:53


BNZ adds Visa credit cards to Android Pay wallet
Posted 18-Jul-2017 19:44


Still living in a Notification hell – Om Malik
Posted 18-Jul-2017 13:00


Duet Display uses iPad to extend Mac, PC
Posted 18-Jul-2017 10:58


PC sales could be worse
Posted 17-Jul-2017 07:34


Crypto-currencies, tulips, market bubbles
Posted 17-Jul-2017 06:38


NZ Tech Podcast: Big batteries, solar cars, cold war, IoT
Posted 16-Jul-2017 16:53


Vodafone Australia mulls Wisp alliance, NZ implications
Posted 13-Jul-2017 16:49


Rural health professionals see fibre pay-off
Posted 13-Jul-2017 11:52



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.