2000-07-31 14:00:06

by Xuan Baldauf

[permalink] [raw]
Subject: Re: (reiserfs) Re: sync: why disk cannot spin down



Andre Hedrick wrote:

> On Mon, 31 Jul 2000, Xuan Baldauf wrote:
>
> > Now I made all my partitions noatime, and wow,
> >
> > sync; hdparm -C -Y /dev/hda; sync; hdparm -C /dev/hda
> >
> > does not necessarily spin up the disk!
>
> Because you have to issue a drive reset.

This is my intent, not to spin up the disk. (In my previous case, sync
always spun up the disk because the filesystem was not mounted with
"noatime".)

>
>
> Andre Hedrick
> The Linux ATA/IDE guy

Xu?n.:o)




2000-07-31 14:11:55

by Matthias Andree

[permalink] [raw]
Subject: Re: (reiserfs) Re: sync: why disk cannot spin down

On Mon, 31 Jul 2000, Xuan Baldauf wrote:

> > > does not necessarily spin up the disk!
> >
> > Because you have to issue a drive reset.
>
> This is my intent, not to spin up the disk. (In my previous case, sync
> always spun up the disk because the filesystem was not mounted with
> "noatime".)

This will still not work, since after some time, the kernel starts
missing the drive acknowledgements and eventually issues a reset
condition on that IDE channel. See my other mail for details.

--
Matthias Andree