June 8, 201313 yr Quick Info Just moved server into new chassis... everything is the same.... Have parity "disk p" we will call it Than Disk 1,2,3,4,5... For some reason When I press spin down.. they all turn flashing green... but 2 seconds after Disk 5 spins back up? Was running 12a... figured let me try and upgrade "even though this wasn't happening pre swap.. I changed the SATA cable.. same thing? Nobody is home right now... thus nobody is trying to access anything? So I have no idea why it's trying to spin up Even log is not showing anything? Oh and I have no plugins etc...
June 8, 201313 yr Install the inotifywatch package and you'll be able to see exactly what is accessing your disk. Instructions are here: http://lime-technology.com/forum/index.php?topic=25973.msg226486;topicseen#msg226486 Joe L.
June 8, 201313 yr Author /mnt/disk5/ OPEN,ISDIR /mnt/disk5/ CLOSE_NOWRITE,CLOSE,ISDIR ?? still nothing showing, for about 5 minutes.. even when I try and spin down.. once it spins up again nothing shows
June 8, 201313 yr /mnt/disk5/ OPEN,ISDIR /mnt/disk5/ CLOSE_NOWRITE,CLOSE,ISDIR ?? still nothing showing, for about 5 minutes.. even when I try and spin down.. once it spins up again nothing shows Something is reading the directory. Did you try watching /mnt/user to see if it is being accessed via the user-share? if you type smbstatus does it list anything being accessed via SAMBA? what do you see when you type lsof | grep /mnt what do you see?
June 8, 201313 yr Author Linux 3.9.3-unRAID. root@Tower:~# smbstatus Samba version 3.6.10 PID Username Group Machine ------------------------------------------------------------------- Service pid machine Connected at ------------------------------------------------------- No locked files root@Tower:~# lsof | grep /mnt root@Tower:~#
June 8, 201313 yr Joe is there a way to see what is opening a folder with inotify ? i installed it and looking at it and it opens and closes a folder that is normally only used by me /mnt/user/ OPEN,ISDIR Toolbox /mnt/user/ CLOSE_NOWRITE,CLOSE,ISDIR Toolbox /mnt/user/ OPEN,ISDIR Toolbox /mnt/user/ CLOSE_NOWRITE,CLOSE,ISDIR Toolbox /mnt/user/ OPEN,ISDIR Toolbox /mnt/user/ CLOSE_NOWRITE,CLOSE,ISDIR Toolbox and i am not opening it ... besides nobody else using their computers now... only my 2 unraids and my main computer are on the lan now
June 8, 201313 yr nothing there root@P8H67:~# smbstatus Samba version 3.6.10 PID Username Group Machine ------------------------------------------------------------------- Service pid machine Connected at ------------------------------------------------------- No locked files the grp command has a lot of activity but all seems normal as it is on the cache drive .. going to increase my putty buffers to see all
June 8, 201313 yr Author Just an update have had watches running on disk that won't spin down for 10 minutes now, it's not showing anything.. but still can't spin down?
June 8, 201313 yr Joe is there a way to see what is opening a folder with inotify ? i installed it and looking at it and it opens and closes a folder that is normally only used by me /mnt/user/ OPEN,ISDIR Toolbox /mnt/user/ CLOSE_NOWRITE,CLOSE,ISDIR Toolbox /mnt/user/ OPEN,ISDIR Toolbox /mnt/user/ CLOSE_NOWRITE,CLOSE,ISDIR Toolbox /mnt/user/ OPEN,ISDIR Toolbox /mnt/user/ CLOSE_NOWRITE,CLOSE,ISDIR Toolbox and i am not opening it ... besides nobody else using their computers now... only my 2 unraids and my main computer are on the lan now I would suspect one of the computers on the LAN. Try turning each off in turn (or just unplug its LAN cable) for a few minutes to see if the disk still spins back up. Even if you are not using the computer, perhaps a process still is, even if just a file-explorer.
June 8, 201313 yr Author okie.. WTF... Jun 7 22:48:36 Tower kernel: mdcmd (39): spindown 5 Right after I posted it, it has spun down??? And it's working good! Alright so now to play around... I pressed spin up.. all up! I pressed spin down... looks like it's all down But when I hit refresh/It's back on.. So unraid can auto spin down.. 15 minutes "works fine" But for some reason1 Disk is refusing to spin down?
June 8, 201313 yr ThX Joe it is definately SMB that is accessing it root@P8H67:~# lsof | grep /mnt find 5401 root cwd DIR 9,12 520 393473 /mnt/disk12/Music/Albums/B.B. King/B.B. King - Live & Well (1969) python 10350 unraid-plex cwd DIR 8,113 168 21512 /mnt/cache/plex/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.system python 10350 unraid-plex 3w REG 8,113 14502 10790 /mnt/cache/plex/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log python 10355 unraid-plex cwd DIR 8,113 168 88123 /mnt/cache/plex/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.plugins.trakttv python 10355 unraid-plex 3w REG 8,113 13133 188 /mnt/cache/plex/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.plugins.trakttv.log python 10355 unraid-plex 4r REG 8,113 141713 26162 /mnt/cache/plex/Application Support/Plex Media Server/Logs/Plex Media Server.log smbd 11252 nobody cwd DIR 0,14 440 35218731942587 /mnt/user/Toolbox java 24495 root cwd DIR 8,113 616 369718 /mnt/cache/Crashplan/cp_bin had to do the command a few times to catch it small question the user on the SMBD is nobody if it was another computer lets say mine where i am logged in as bob for example, would the user then not be bob ? i know i used toolbox yesterday evening from my laptop but that is shutdown now ..... going to close explorer windows to see
June 8, 201313 yr Author So everything is working fine based on 15 min spin down.... Jun 7 23:10:00 Tower kernel: md: using 1536k window, over a total of 1953514552 blocks. Jun 7 23:15:00 Tower kernel: mdcmd (25): clear Jun 8 05:35:11 Tower kernel: md: sync done. time=23110sec Jun 8 05:35:11 Tower kernel: md: recovery thread sync completion status: 0 Jun 8 05:50:21 Tower kernel: mdcmd (26): spindown 0 Jun 8 05:50:21 Tower kernel: mdcmd (27): spindown 1 Jun 8 05:50:22 Tower kernel: mdcmd (28): spindown 2 Jun 8 05:50:22 Tower kernel: mdcmd (29): spindown 3 Jun 8 05:50:23 Tower kernel: mdcmd (30): spindown 4 Jun 8 05:50:23 Tower kernel: mdcmd (31): spindown 5 But Disk 5 is still being stupid lol and spinning up
June 8, 201313 yr So everything is working fine based on 15 min spin down.... good But Disk 5 is still being stupid lol and spinning up Turn OFF all the other PCs and media players on your LAN, I'll bet it spins down.
Archived
This topic is now archived and is closed to further replies.