Re: [SlimDevices: SqueezeCenter] LMS@Raspbian - wake up external USB HD attached to router
I've set up the cifs mount thru Webmin and provided extra information like server IP and workgroup. Since then everything is working fine. ASUS P6-P5G41E W10 x64 | ASUS ZENBOOK W10 x64 | SheevaPlug Debian Wheezy | LMS 7.9 - 1481125532 | 9 SB Radios | 2 SB Receivers | iPeng 9 | Squeeze Player 1.3.12 & Squeeze Commander 0.9.6.4 & Squeeze Ctrl 1.9.6 doubleugk's Profile: http://forums.slimdevices.com/member.php?userid=36464 View this thread: http://forums.slimdevices.com/showthread.php?t=108638 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS@Raspbian - wake up external USB HD attached to router
I'm not sure disabling spindown is much of an option on recent drives. In general there are 2 possible strategies: a) enforce system state: don't let the drive slide into sleep, b) go stateless: try to reconnect every time you need the drive. As already said by drmatt, first place to look for solutions are mount/system options on the Pi and on the router. If nothing helps, some add-on or changes to the client can be made: - run (on the server or the client) a script that regularly runs "touch" on a dummy file, accesses a web page on that drive, etc. Beware of caches which will try to avoid drive spinup. And perhaps finally link this keep-alive script to LMS usage via SrvPowerControl plugin. - switch the client to automounting with a short dismount timeout (less than the HDD timeout). A mount is expected by the O.S. to take some time, so it is more of a blocking call. Upon accessing the library, rather than being swiftly returned by the O.S., LMS would be blocked until the OS has something to return. For a robust system I would recommend the stateless way. With a stateful system if the drive (or router, or link between hosts) goes away your client will hang until it is back; useful for a thin-client workstation but not much else. (Not mentioning the case where the client doesn't hang, but crashes...) Have fun, maybe. 3 SB 3 Libratone Loop, Zipp Mini iPeng (iPhone + iPad) LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa IRBlaster by Gwendesign (Felix) Server Power Control by Gordon Harris Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger PowerSave by Jason Holtzapple Song Info, Song Lyrics by Erland Isaksson AirPlay Bridge by philippe_44 WeatherTime by Martin Rehfeld Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=108638 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS@Raspbian - wake up external USB HD attached to router
You could mount the pi0 on the hub and mount the hub on the HDD... You may also be able to disable spin down altogether if you plug the HDD into the pi and send it some ioctls using hdparm or similar. -Transcoded from Matt's brain by Tapatalk- -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=108638 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS@Raspbian - wake up external USB HD attached to router
Not the job of the Pi to wake the HDD, it's the job of whichever device has it mounted. Any file reference via e.g. NFS or CIFS should cause the fritzbox to wake the HDD. It may not wake in time of course and the Pi might timeout the action.. I would connect it to the pi via a powered hub. -Transcoded from Matt's brain by Tapatalk- -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=108638 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter