3

[all variants] Hard drive spin-up troubleshooting

view full story
linux-howto

http://ubuntuforums.org – Hi all, I'm working on a project to spin-down all of my hard drives (except the boot disk) when they aren't accessed. I'm running a fresh install of 9.10 and I have the following set of drives: /dev/sda1 -- boot /dev/sdb1 -- HDS 500GB member of md0 raid 0 /dev/sdc1 -- SEA 500GB member of md0 raid 0 /dev/sdd1 -- MAX 500GB member of md0 raid 0 /dev/sde1 -- SEA 750GB member of md0 raid 0 /dev/sdf1 -- SEA 750GB member of md0 raid 0 /dev/sdg1 -- SEA 750GB member of md0 raid 0 /dev/sdh1 -- WD 1000GB member of md3 raid 5 /dev/sdi1 -- WD 1000GB member of md3 raid 5 /dev/sdj1 -- WD 1000GB member of md3 raid 5 /dev/sdk1 -- WD 1000GB member of md3 raid 5 The raid volumes are all setup with mdadm and they all work just great. I have all of the drives set to spindown after 30 minutes of non activity. My issue is that the drives will spin up every 30 minutes or so. In the case of the md3 volume, I can see a bit of disk I/O activity, and then it will spin up. In the case of the md0 set, I don't see any disk activity...in fact, I've unmounted the volume to insure that nothing is writing to it, but it's still spinning up. I have lmsensors loaded and smartctl, but I don't think that there are daemons in either that should be checking the drives. I'm just not sure how to figure out what is causing this. I have the following hdparm.conf file. Code: /dev/sdb {         spindown_time = 241 } dev/sdc {         spindown_time = 241 } dev/sdd {         spindown_time = 241 } dev/sde {         spindown_time = 241 } dev/sdf {         spindown_time = 241 } dev/sdg {         spindown_time = 241 } dev/sdh {         spindown_time = 241 } dev/sdi {         spindown_time = 241 } dev/sdj {         spindown_time = 241 } dev/sdk {         spindown_time = 241 } (Hardware)