mfo wrote: 
> …
> - Cubox doesn't have large disk space attached so my music files are
> stored on a NAS (Iomega IX2-200 Cloud Edition)
> - I have a NFS mount on Cubox to the NAS to give the LMS access to my
> music files
> - NAS is not always on (power consumption, heat dissipation, noise)
> …
> - When SB is powered off (with remote or button), unmount the NFS share
> as I experience LMS hangs if the NAS is switched off while SB are still
> depending on it for playing files.
> 
What you want to do seems feasible, esp. with the help of LMS
plugins/the LMS CLI. 

Did you try using an automounter (autofs I suppose) on the Cubox and
simply react on a.) failures to mount -> power up the NAS, b.) durable
absence of any mount -> shutdown the NAS ?
I did that with a hacked AppleTV (v1) playing videos off a server under
power management. NFS clients with active mounts will belly up if the
server goes down. The only way around this is making certain no mounts
are active (by looking a the server, or by looking at each client). Then
the NFS server can go down with no adverse effect.

Beyond this raw approach, I am sure srvPowerControl can help but I am
not up to date on its feature list.


------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to