[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44D789BA.4010206@t-online.de>
Date: Mon, 07 Aug 2006 20:43:06 +0200
From: Harald Dunkel <harald.dunkel@...nline.de>
To: Tejun Heo <htejun@...il.com>
CC: Pavel Machek <pavel@....cz>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
davidsen@....com
Subject: Re: 2.6.18-rc2, problem to wake up spinned down drive?
Tejun Heo wrote:
> Pavel Machek wrote:
>>> echo 1 > /sys/bus/scsi/devices/1:0:0:0/power/state
>>
>> Really? I thought power/state takes 0/3 (for D0 and D3)
>
> Yes, of course. My mistake. Sorry about the confusion. The correct
> command is 'echo -n 3 > /sys/bus/scsi/devices/x:y:z:w/power/state'.
>
(Sure? :-)
Now this did not work at all. The '-n 3' was probably
correct, but when I tried to access the disk, then it
did not spin up again (I waited for 5 minutes). There
was no message on the console, either.
But I could not reproduce this problem.
How do I monitor that the disk spins down and up?
Regards
Harri
Download attachment "signature.asc" of type "application/pgp-signature" (253 bytes)
Powered by blists - more mailing lists