D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Powering down an unmounted HDD

 

Back on 18 August I reported that by using hdparm -Y I had made my HDD
inaccessible (as I thought, by spoiling the partition table).  Good news
is that, _several_ power cycles later, the HDD has recovered by itself,
and I have been able to fsck and mount it without problems.  I guess I
managed to derange its "seeking" mechanism temporarily.

I'd still want to warn people to think twice about giving the command
 hdparm -Y /dev/hd...
 if the device in question is already in standby state.

It seems that _my_ device does not distinguish standby and sleep states;  
both -y and -Y put it into standby, at any rate as shown by hdparm -C.  
It also seems to ignore hdparm -S .  No doubt there are many HDDs for
which some hdparm commands don't work, and the man page cannot be
exhaustive on that subject.

-- 
John Palmer
Preston near Weymouth, Dorset, England
e-mail:  johnp@xxxxxxxxxx (plain text preferred)
website: http://www.palmyra.uklinux.net/





--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html