You are not logged in.

#1 2013-02-26 15:15:13

Jindur
Member
Registered: 2011-09-29
Posts: 184

HDD spins up immediately although no file was accessed

I did

hdparm -y /dev/sda

and right after spinning down, the hdd would immediately spin up again.
So right after that I did

$ find / -amin 2 -ls
find: `/proc/17295/task/17295/fd/5': No such file or directory
find: `/proc/17295/task/17295/fdinfo/5': No such file or directory
find: `/proc/17295/fd/5': No such file or directory
find: `/proc/17295/fdinfo/5': No such file or directory
find: `/proc/17296/task/17296/ns/net': No such file or directory
find: `/proc/17296/task/17296/ns/uts': No such file or directory
find: `/proc/17296/task/17296/ns/ipc': No such file or directory
find: `/proc/17296/ns/net': No such file or directory
find: `/proc/17296/ns/uts': No such file or directory
find: `/proc/17296/ns/ipc': No such file or directory
find: `/run/user/1000/gvfs': Permission denied

so it seems no files have been accessed in the last 2 minutes ie when the spin-up occurred. So why does the drive spin up everytime immediately?

Last edited by Jindur (2013-02-26 15:15:48)

Offline

#2 2013-02-26 15:30:23

brebs
Member
Registered: 2007-04-03
Posts: 3,456

Re: HDD spins up immediately although no file was accessed

Have you tried the usual:

hdparm -B 255 /dev/sda

Offline

#3 2013-02-26 15:30:27

Nanthiel
Member
From: Slovenia
Registered: 2009-09-20
Posts: 148

Re: HDD spins up immediately although no file was accessed

What is the fstab entry for the hdd?

EXT4 likes to access disks. Try setting the commit mount option (to 600 or something). I'm not entirely sure what it does though.

Also try running iotop, it's like top or htop, but it shows disk accesses.

Offline

Board footer

Powered by FluxBB