Re: disk spindown

2013-04-24 Thread Wolfgang S. Rupprecht
poma writes: > grep -w sdc /proc/diskstats >dstat.1st > sleep 60 > grep -w sdc /proc/diskstats >dstat.2nd > if cmp dstat.1st dstat.2nd >/dev/null 2>&1 > then > echo Stopping disk, spinning down… > sdparm -f -r -q -v -C stop /dev/sdc > exit 0 > else > echo Disk busy. > exit 1 >

Re: disk spindown

2013-04-23 Thread poma
On 20.04.2013 03:34, Wolfgang S. Rupprecht wrote: > > Has anyone succeeded in spinning down disks under Fedora? > > I've done the following and the "hdparm -C" does show the disk spun > down, but the next time I look it is spun up, and it stays up. The disk > is unmounted and I've stopped and di

Re: disk spindown

2013-04-23 Thread Bill Davidsen
Wolfgang S. Rupprecht wrote: Bill Davidsen writes: Wolfgang S. Rupprecht wrote: I've done the following and the "hdparm -C" does show the disk spun down, but the next time I look it is spun up, and it stays up. The disk One thing wrong might be jumpers, Other than that, I suspect something

Re: disk spindown

2013-04-22 Thread Wolfgang S. Rupprecht
Bill Davidsen writes: > Wolfgang S. Rupprecht wrote: >> I've done the following and the "hdparm -C" does show the disk spun >> down, but the next time I look it is spun up, and it stays up. The disk > One thing wrong might be jumpers, Other than that, I suspect something > is still accessing it.

Re: disk spindown

2013-04-20 Thread Bill Davidsen
Wolfgang S. Rupprecht wrote: Has anyone succeeded in spinning down disks under Fedora? I've done the following and the "hdparm -C" does show the disk spun down, but the next time I look it is spun up, and it stays up. The disk is unmounted and I've stopped and disabled smartd, so it isn't acce

disk spindown

2013-04-19 Thread Wolfgang S. Rupprecht
Has anyone succeeded in spinning down disks under Fedora? I've done the following and the "hdparm -C" does show the disk spun down, but the next time I look it is spun up, and it stays up. The disk is unmounted and I've stopped and disabled smartd, so it isn't accessing the disks. I don't think