Jump to content

Disk not spinning down


adgilcan

Recommended Posts

Posted

I am running a 5 disk array plus parity disk under version 5.0 beta14 so that I can run a 3Tb parity disk.

 

All is working well and only the first disk is so far containing data.  However, disk 5 will not stay spun down.  I can force it to spin down but as soon as I refresh the page it is back up and running again.  It contains no data.

 

Obviously I don't want it to be spinning 24 hours a day.  It has the same settings as as all the other disks, which is to say the default settings.

 

Any idea what might be causing it?

 

Happy New Year to you all.

  • 1 month later...
Posted

I have the same issue - funny enough with disk5 as well.

 

However when I force this particular to spin down it is not spinning up again and the server falls into sleep according to the new sleep feature of the "Simple Features" Plugin.

 

Is there any way to check which process is preventing a disk of spinning down?

  • 2 weeks later...
Posted

I have the same issue - funny enough with disk5 as well.

 

However when I force this particular to spin down it is not spinning up again and the server falls into sleep according to the new sleep feature of the "Simple Features" Plugin.

 

Is there any way to check which process is preventing a disk of spinning down?

Yes,

install the "inotify tools" package, (available from the package manager in unMENU)

 

or, if you are not using unMENU

This will download and install it

mkdir -p /boot/packages

cd /boot/packages

wget -O  inotify-tools-3.13-i486-1.tgz  http://www.slackware.org.il/slackware/slackware-12.2/slackware/a/inotify-tools-3.13-i486-1.tgz

installpkg inotify-tools-3.13-i486-1.tgz

echo "100000" >/proc/sys/fs/inotify/max_user_watches

 

then:

 

To track activity under /mnt/user, type:inotifywait -mr /mnt/user

To track activity on a specific disk (/mnt/disk5), type:inotifywait -mr /mnt/disk5

they will show you exactly what is being accessed.

Posted

Something is opening up and reading the directories listed in your sample output of inotify tools.

 

as described, you can see what

lsof

shows. Although it only shows the open files at the instant of time you invoke it.

  • 1 month later...
Posted

hi,

 

my cache drive is unable to spin down.

 

root@Tower:~# lsof /mnt/cache/

COMMAND  PID USER  FD  TYPE DEVICE SIZE NODE NAME

smbd    18184 root  30r  DIR  8,17  160    2 /mnt/cache/

 

what gives?

 

thanks.

Posted

hi,

 

my cache drive is unable to spin down.

 

root@Tower:~# lsof /mnt/cache/

COMMAND  PID USER  FD  TYPE DEVICE SIZE NODE NAME

smbd    18184 root  30r  DIR  8,17  160    2 /mnt/cache/

 

what gives?

 

thanks.

odds are high something is accessing it.
Posted

i try lsof disk1. same result. but disk1 is already spun down. weird.

 

i can confirm that nobody in my network is accessing both disk1 and cache.

 

any suggestion as what i should do next? is it possible to reformat the flash drive and reinstall unraid fresh without destroying current array content?

Posted

i try lsof disk1. same result. but disk1 is already spun down. weird.

 

i can confirm that nobody in my network is accessing both disk1 and cache.

 

any suggestion as what i should do next? is it possible to reformat the flash drive and reinstall unraid fresh without destroying current array content?

install inotify tools as described earlier in this thread.  Figure out what is accessing your drive.

 

re-formatting the flash drive will not help

 

The "lsof" command shows "open files" at the moment it is invoked.  It will not always catch what is accessing your disks.

 

Joe L.

Posted

thanks

 

tried

 

To track activity on a specific disk (/mnt/disk5), type:inotifywait -mr /mnt/disk1

 

i see alot of activity. im planning of purchasing a flash drive and install every app/service on the flash drive. what do you think. unable to spin down drive defeat the purpose of having unraid. if the flash drive died, i just bought a new one. flash drive are cheap nowadays.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...