- Joined
- May 28, 2011
- Messages
- 10,996
This script will allow the drives to go into standby. The use of "wait_on" give us that functionality. If you have too many items to monitor, or rather too long of a path then the script would fail over to forced scanning which would keep the drives from sleeping. The limit is what I call the RedAlert value. This is the maximum length that wait_on can accept. If you do exceed the path length limit there are work arounds you could do. the only time I've seen folks hit the limit is due to heavy nesting of the media. So check it out, see if your drives sleep or not, and if they don't, look for the file minidlnaerror.log to see if there is a length issue.
But as I stated above, in FreeNAS 9.1 the jails are acting different form previous versions so heed my notes above. I do use this script myself and I only have the one jail right now. If I were to use a second jail, I would remove MiniDLNA and add any other jails, then add MiniDLNA as my last jail and enable the script.
Cheers
But as I stated above, in FreeNAS 9.1 the jails are acting different form previous versions so heed my notes above. I do use this script myself and I only have the one jail right now. If I were to use a second jail, I would remove MiniDLNA and add any other jails, then add MiniDLNA as my last jail and enable the script.
Cheers