autoremount NAS source

Suggestions/requests/ideas for RuneAudio core features and functions

autoremount NAS source

Postby MeiT » 12 Dec 2014, 23:48

Hi,
my NAS and possible other NAS starts slower than my raspberry with RuneAudio.
so I have to remount the NAS manually when the NAS comes up after RPI.
It would be nice if it remounts itself.
Mei
MeiT
 
Posts: 13
Joined: 30 Nov 2014, 23:41

Re: autoremount NAS source

Postby hondagx35 » 14 Dec 2014, 02:14

Hi MeiT,

please update your system:
how-to-update-the-runeui-via-git-t547.html#p3516

Should work with latest version.
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: autoremount NAS source

Postby MeiT » 15 Dec 2014, 23:10

Hi hondagx35,
thanks :)

The NAS is mounted and shown.
But I had to inrease the sleeptime and retrys counting in the rune_SY_wrk.
from coldstart the NAS takes 90 sec until ready to mount. Raspberry with RuneOS only 40sec.

There is an other problem.From an coldstart the NAS ist shown as mounted but there is no more library shwon. I have to update library.
If the NAS ist ON befor the Raspberry there is no problem with the library.
MeiT
MeiT
 
Posts: 13
Joined: 30 Nov 2014, 23:41

Re: autoremount NAS source

Postby MeiT » 16 Dec 2014, 19:27

Hi,
I disabled "Auto Update" Database an now it works fine :)
thanks
MeiT
MeiT
 
Posts: 13
Joined: 30 Nov 2014, 23:41

Re: autoremount NAS source

Postby hondagx35 » 16 Dec 2014, 22:59

Hi MeiT,

nice to hear that it works for you.

But I had to inrease the sleeptime and retrys counting in the rune_SY_wrk.

Please can you tell me the values you have chosen?
You are switching on your NAS and PI at the same time?

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: autoremount NAS source

Postby MeiT » 17 Dec 2014, 12:35

Hi,
I set sleep to 10 sec => sleep(10) and retries to 30. After debugging with wireshark and dmesg it would work also with 15 retries.

My NAS is a Buffalo Linstation Pro DUO.
It has autopoweroff if no wol signal is received within 3min. It starts from standby if a wol signal is received.
Start up from standby takes about 90sec.

I worte a skript for the rpi that sends wol signal every 120sec but it seems that the first wol signal is not send after boot rpi.
I insert "sysCmd('wol xx:xx:xx:xx:xx'); to the rune_SY_wrk. With wireshark I can see the first wol signal from rpi about 40sec after switch on rpi. At this point the NAS starts and takes 90 sec.
With dmesg I see the first try to mount the NAS is after 37sec. After 6 retries (ca. 190 sec) the NAS is Up and mounted. The Time between two retries is 19 sec. It should be 10 ;) but I don't know.

My programming knowledge is low and limited to C.
Most of my changes with other coding language is like "try & error" ;)

MeiT
MeiT
 
Posts: 13
Joined: 30 Nov 2014, 23:41

support RuneAudio Donate with PayPal


Return to Feature request

Who is online

Users browsing this forum: No registered users and 2 guests