* SATA device powerdown
@ 2010-07-30 12:59 Richard
2010-07-30 18:12 ` Robert Hancock
0 siblings, 1 reply; 2+ messages in thread
From: Richard @ 2010-07-30 12:59 UTC (permalink / raw)
To: linux-ide
Hi All,
I have a question relating to the ATA drives and a SATA drive powerdown.
Currently you can issue a HDD Spindown/Sleep command to a drive which
will result in it going to sleep, but I have a hardware platform that
requires the drive to be Powered-Off completely. (its in an extreme
energy saving mode)
Normal modes the HDD can sleep, and when any IO happens the disk wakes..
I can get the HDD to power-off when it enters deep-sleep (SMART register
reading) but how can I get the disk to re-powered before next access is
needed. Currently the /dev/sdx deregisters when the SATA bus is
disconnected and re-registers when the device is avaliable.
Is there a method to keep the open files alive when the HDD is powered
off and execute a custom hardware relay switch to power the HDD back up
and continue working with the files that were open previous to the sleep?
Is this at all possible?
Best Regards
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SATA device powerdown
2010-07-30 12:59 SATA device powerdown Richard
@ 2010-07-30 18:12 ` Robert Hancock
0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2010-07-30 18:12 UTC (permalink / raw)
To: Richard; +Cc: linux-ide
On 07/30/2010 06:59 AM, Richard wrote:
> Hi All,
>
> I have a question relating to the ATA drives and a SATA drive powerdown.
> Currently you can issue a HDD Spindown/Sleep command to a drive which
> will result in it going to sleep, but I have a hardware platform that
> requires the drive to be Powered-Off completely. (its in an extreme
> energy saving mode)
>
> Normal modes the HDD can sleep, and when any IO happens the disk wakes..
>
> I can get the HDD to power-off when it enters deep-sleep (SMART register
> reading) but how can I get the disk to re-powered before next access is
> needed. Currently the /dev/sdx deregisters when the SATA bus is
> disconnected and re-registers when the device is avaliable.
>
> Is there a method to keep the open files alive when the HDD is powered
> off and execute a custom hardware relay switch to power the HDD back up
> and continue working with the files that were open previous to the sleep?
>
> Is this at all possible?
At present I don't think this is possible. I suppose one thing you could
do would be to hack whatever ATA driver the system was using to ignore
all hotplug notifications, but then you'd have to make other changes to
wake up the drive again when an access was required.
If you really need to retain apparent access to the disk when it's
switched off, I kind of question whether the power saving from this is
worthwhile compared to just turning on aggressive SATA link power
management and putting the disk in standby mode..
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-30 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-30 12:59 SATA device powerdown Richard
2010-07-30 18:12 ` Robert Hancock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).