|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
NAS mount lost after standby
| Author |
Message |
|
eddyb72
Joined: Tue Feb 16, 2010 7:55 am Posts: 4
|
 NAS mount lost after standby
I'm trying to index my synology nas. I have made mounts to my synology nas in the rcS file and the volumes gets mounted. When i do an index, the movies and music are imported. After a standby, the mounts are gone. The way to get them back is to do a reboot on the prompt.
How can i get the playon HD to mount the volumes again after a standby?
Last edited by eddyb72 on Sat Dec 10, 2011 11:26 am, edited 1 time in total.
|
| Fri Dec 09, 2011 1:06 pm |
|
 |
|
Arne
Joined: Tue Feb 01, 2011 10:06 am Posts: 1720 Location: Rotterdam
|
 Re: NAS mount lost after standby
eddyb72 wrote: I'm trying to index my synology nas. I have made mounts to my synology nas in the rcS file and the volumes gets mounted. When i do an index, the movies and music is imported. After a standby, the mounts are gone. The way to get them back is to do a reboot on the prompt.
How can i get the playon HD to mount the volumes again after a standby? How does your rcs script look? Did you build in a sleep command? This is handy because you need to basically wait until the network is up before you can proceed with the mount. If you are using LAN connection you can try to set a sleep time of 40. cheers,
_________________Product Specialist TeamAC Ryan EuropeAnthonetta Kuijlstraat 43b || 3066 GS Rotterdam || The Netherlands Tel. +31 (0)10 420 6136Email: europe@acryan.comFollow us at: Twitter || Facebook
|
| Fri Dec 09, 2011 1:45 pm |
|
 |
|
eddyb72
Joined: Tue Feb 16, 2010 7:55 am Posts: 4
|
 Re: NAS mount lost after standby
I did build in a sleep of 40 as described in an old post but this still didn't make my mounts to return. I will post my rcS this eve when i'm at home.
thnx
|
| Fri Dec 09, 2011 1:58 pm |
|
 |
|
eddyb72
Joined: Tue Feb 16, 2010 7:55 am Posts: 4
|
 Re: NAS mount lost after standby
My rcS includes at the end the lines :
sleep 40 /usr/local/etc/automount &
My automount looks like :
i=1 while [ $i != 0 ] do if [$(mount | grep /tmp/usbmounts/ | grep sd | wc -l) -eq 0 ]; then sleep 10 else mount -t cifs //192.168.2.175/video /mnt/usbmounts/sda1/_movies -o username=******,password=****** mount -t cifs //192.168.2.175/Music /mnt/usbmounts/sda1/_audio -o username=******,password=****** sleep 1 i=0 fi done
|
| Sat Dec 10, 2011 9:40 am |
|
 |
|
eddyb72
Joined: Tue Feb 16, 2010 7:55 am Posts: 4
|
 Re: NAS mount lost after standby
I found out that when you use the power on button on the remote, it doesn´t run by the rcS ... so no mounts will be remounted.. But wich script does it run? .. That´s the place i have to put the mounts in.. work in progress 
|
| Sat Dec 10, 2011 12:16 pm |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|