segator Posted March 22, 2015 Share Posted March 22, 2015 Hi, There are any log or something that i can use to know what are spin up my drives? I have installed dockers Plex(Scans 1 time per day) CrashPlan(Scans 1 time per day) rutorrent(To cache drive..) btsync(Cache drive) Thanks! Quote Link to comment
itimpi Posted March 22, 2015 Share Posted March 22, 2015 I do not believe that this information is available. The drives will be spun up any time an attempt is made to access files (or folders) on them. This is done at the OS level and as far as I know unRAID is not directly aware that this has happened (unless the md driver reports it in some way).. Since unRAID can obviously detect the spinup/spindown status of a disk as this information is displayed in the GUI, it might be a nice feature if it was possible to request a message was logged when the spinup/spindown status was detected as changed. This would not necessarily tell you what caused it although the timing might provide a clue. Quote Link to comment
chickensoup Posted March 22, 2015 Share Posted March 22, 2015 This is something I would love if it were possible. At the moment I have drives spin up "seemingly randomly" when nothing is really using them or, for example, I will open up my mapped drives to look for something to watch and in the process 3 drives will spin up before anything has even been opened (at the folder level too - no thumbnails or anything). Perhaps I need cache_dirs to mitigate this? It'd be awesome if there was a way for the syslog to add an entry when a disk is spun up and (if possible) the first file accessed on that disk. This would make diagnosing random spin ups a lot easier. Quote Link to comment
itimpi Posted March 22, 2015 Share Posted March 22, 2015 This is something I would love if it were possible. At the moment I have drives spin up "seemingly randomly" when nothing is really using them or, for example, I will open up my mapped drives to look for something to watch and in the process 3 drives will spin up before anything has even been opened (at the folder level too - no thumbnails or anything). Perhaps I need cache_dirs to mitigate this? If you do not have cache_dirs installed and these drives are mapped to a user Share then it would be quite normal for all drives potentially involved in the share to be spun up just to read the directory information. Cache-dirs. is all about not spinning up drives for directory information, but instead only when files on a particular disk are referenced. Having said that if you have your system set to display thumbnails then it is highly likely that disks will end up being spun up just to get the information to display the thumbnails. This will also slow down opening folders. Since with v6 it so easy to install cache_dirs via the relevant dynamix plugin I am surprised that not everyone does it. I guess at some point this becomes moot when the relevant capability is integrated into the standard build. Quote Link to comment
jowi Posted March 22, 2015 Share Posted March 22, 2015 try: inotifywait -mr -e access -e modify /mnt/disk1 you do have to install the inotify from unmenu i believe. But this way you should be able to find out what files are being accessed or modified. Quote Link to comment
segator Posted March 23, 2015 Author Share Posted March 23, 2015 Thanks for the answers. About cache_dir, i try to install plg plugin but when i acces through web gui the option appear blank Is only available for unraid v5? inotifywait command not found I'm runing 6.0-beta14b Quote Link to comment
itimpi Posted March 23, 2015 Share Posted March 23, 2015 About cache_dir, i try to install plg plugin but when i acces through web gui the option appear blank Is only available for unraid v5? inotifywait command not found I'm runing 6.0-beta14b Did you follow the instructions from this thread that covers dynamix plugins for v6? Quote Link to comment
jowi Posted March 23, 2015 Share Posted March 23, 2015 inotifywait command not found I'm runing 6.0-beta14b Like i said, you have to install the inotify pkg, e.g. from unmenu. Quote Link to comment
segator Posted March 23, 2015 Author Share Posted March 23, 2015 I'm installed unMenu but I don't see the option to in package manager to install inotify. I try to install manually but .. -bash: /usr/bin/inotifywait: cannot execute binary file What I'm doing bad? Sorry I'm newbie on linux/unRaid. Thanks for the support guys. Quote Link to comment
BRiT Posted March 24, 2015 Share Posted March 24, 2015 No need for unmenu. I think that is primarily for v5 with 32bit plugins which will cause issues on v6 since its 64bit. For inotifywait, I think thats part of the NerdPack Plugin, so install that. Quote Link to comment
trurl Posted March 24, 2015 Share Posted March 24, 2015 No need for unmenu. I think that is primarily for v5 with 32bit plugins which will cause issues on v6 since its 64bit. For inotifywait, I think thats part of the NerdPack Plugin, so install that. unMenu does work with v6, and will only offer to install 64bit pkgs on v6. inotify is not one that has been added to PKG Manager for 64bit. Nerd Tools does include inotify-tools as you say. Quote Link to comment
methanoid Posted March 14, 2017 Share Posted March 14, 2017 On 24/03/2015 at 0:29 AM, BRiT said: No need for unmenu. I think that is primarily for v5 with 32bit plugins which will cause issues on v6 since its 64bit. For inotifywait, I think thats part of the NerdPack Plugin, so install that. Is there a current (6.3+) best practice for diagnosing spin up issues? I seem to find my HDDs reluctant to sleep and they get too toasty when left on all the time.. plus I can hear something spinning one like crazy which I want to stop!! Quote Link to comment
Squid Posted March 14, 2017 Share Posted March 14, 2017 2 minutes ago, methanoid said: Is there a current (6.3+) best practice for diagnosing spin up issues? I seem to find my HDDs reluctant to sleep and they get too toasty when left on all the time.. plus I can hear something spinning one like crazy which I want to stop!! File Activity Plugin 1 Quote Link to comment
methanoid Posted March 14, 2017 Share Posted March 14, 2017 Thank you Squid... Damn, you are quick... I am grateful... it is making life easier to be able to get this set up how I want...just so troubleshooting to get it right :-) Quote Link to comment
RobJ Posted March 14, 2017 Share Posted March 14, 2017 (edited) methanoid said: plus I can hear something spinning one like crazy That sounds more like a fan than a drive. Edit: thanks Squid, I copied from the wrong post. Plus my guess was far off, a lousy guess. Edited March 14, 2017 by RobJ correction Quote Link to comment
Squid Posted March 14, 2017 Share Posted March 14, 2017 Weird IPS issue... I never said that... Quote Link to comment
methanoid Posted March 14, 2017 Share Posted March 14, 2017 17 minutes ago, RobJ said: That sounds more like a fan than a drive. I may be dumb but not THAT dumb.. I know what my fans and HDDs sound like.. It was a HDD... I had a look with the Open Files and File Activity plugins. Now I have silence.. 2 drives spun up.. Both parity drives? WHY? Parity is only updated at 1am or some such hour. Quote Link to comment
Squid Posted March 14, 2017 Share Posted March 14, 2017 1 minute ago, methanoid said: Now I have silence.. 2 drives spun up.. Both parity drives? WHY? Parity is only updated at 1am or some such hour. Parity is updated in real time as writes to the array occur. Depending upon the circumstance, not all writes go to the cache drive. As to why they are currently running and not any data drives it could be different spin down times set up... Quote Link to comment
RobJ Posted March 14, 2017 Share Posted March 14, 2017 1 hour ago, methanoid said: I may be dumb but not THAT dumb.. I know what my fans and HDDs sound like.. It was a HDD... Sorry! A lousy guess! Quote Link to comment
trurl Posted March 14, 2017 Share Posted March 14, 2017 4 hours ago, methanoid said: Parity is only updated at 1am or some such hour. You must have this confused with the cache move schedule. As mentioned, parity is realtime. Each user share has settings for whether and how it uses cache. The default setting is cache-no. If you created a user share and you didn't change that setting, then all writes to the share would go directly to the parity-protected array, and parity would be written at the same time. Quote Link to comment
methanoid Posted March 19, 2017 Share Posted March 19, 2017 On 14/03/2017 at 8:41 PM, trurl said: You must have this confused with the cache move schedule. As mentioned, parity is realtime. Each user share has settings for whether and how it uses cache. The default setting is cache-no. If you created a user share and you didn't change that setting, then all writes to the share would go directly to the parity-protected array, and parity would be written at the same time. My user share is set to USe Cache Disk=Yes My Appdata,Domains,System all to UseCacheDisk=ONLY My ISOs set to No Cache, just Disk 8.... So surely my Parity disks should be idle except when mover runs? its 10am now and they are active but happy if I spin them down.. its as though they forget to spin down Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.