Not able to power down Hitachi SimpleDrive mini USB HDD
Hello :)
Anybody had much luck/experience powering down USB HDDs? I've not been able to find the commands to power down a Hitachi SimpleDrive mini USB HDD. Maybe it's not possible. According to Yan Li's Blog, "The problem: according to its user manual, you should disconnect the drive safely when it is not active, but in a Linux system how to do this is not very straightforward. You may notice that after you unmount it (whether through command-line or a desktop environment), the drive is still spinning and it's LED on. If you read it's user manual carefully you'll find that the manufacturer never said it's safe to disconnect it from your system in such condition. The quick solution to this problem:
There were some reports of it being necessary to quiesce HDDs with sdparm first so I tried that but without sucess :scratch: Here's the last attempt Code:
root@CW8:~# sdparm --command=sync /dev/sdc Best Charles |
Pull the plug out!
I have a simple drive external and it powers down nicely when power is cut. |
If you run sync before unmounting, or run eject, it should be safe to pull the plug.
|
Quote:
Firstly, I'm with Yan Li in wanting to follow the manufacturer's recommendations. Secondly I prefer not to waste electrical power. Even after umount, sync, stop and eject the spindle is still spinning and the drive is warm. Warm means dissipated energy means environmental damage -- and for for no benefit :doh: In this case the drive will be plugged into a 24x7 backup server so even a small waste adds up over a period. EDIT: "sync" above refers to the sdparm command to flush the device's internal buffers, not the Linux sync command to flush kernel buffers to the file system. |
Quote:
With your obvious experience with computers, you should know that this is typically not the right way to do things. |
Solution found and described in this LQ post.
|
All times are GMT -5. The time now is 01:34 AM. |