View unanswered posts | View active topics It is currently Tue May 21, 2013 10:17 am



This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
 NAS mount lost after standby 
Author Message

Joined: Tue Feb 16, 2010 7:55 am
Posts: 4
Post 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
Profile

Joined: Tue Feb 01, 2011 10:06 am
Posts: 1720
Location: Rotterdam
Post 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 Team

AC Ryan Europe
Anthonetta Kuijlstraat 43b || 3066 GS Rotterdam || The Netherlands
Tel. +31 (0)10 420 6136

Email: europe@acryan.com
Follow us at: Twitter || Facebook


Fri Dec 09, 2011 1:45 pm
Profile WWW

Joined: Tue Feb 16, 2010 7:55 am
Posts: 4
Post 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
Profile

Joined: Tue Feb 16, 2010 7:55 am
Posts: 4
Post 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
Profile

Joined: Tue Feb 16, 2010 7:55 am
Posts: 4
Post 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 :D


Sat Dec 10, 2011 12:16 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 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

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.