Why are the NAS shares deleted after a reboot?
#1
Posted 18 January 2015 - 13:00
Re: Why are the NAS shares deleted after a reboot? #2
Posted 18 January 2015 - 13:57
Either use enigma2 to mount, or use /etc/fstab to create the mounts. Both will automatically create folders as needed.
Otherwise, you'll have to create a "volatile" package to pre-populate the /media/ RAM filesystem.
Re: Why are the NAS shares deleted after a reboot? #3
Posted 18 January 2015 - 15:02
/media is in RAM, hence volatile, which means it will not survive a reboot.
Either use enigma2 to mount, or use /etc/fstab to create the mounts. Both will automatically create folders as needed.
Otherwise, you'll have to create a "volatile" package to pre-populate the /media/ RAM filesystem.
Ok, I understand. Is this different to the VU+ Solo2? Because it works there without any issues.
rootfs / auto defaults 1 1 proc /proc proc defaults 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 tmpfs /var/volatile tmpfs defaults 0 0 #CIFS stream //[LAN_IP_OF_SYNO]/stream etc/NASstream cifs username=[USER-ID_ON_SYNO],password=[PASSWD_ON_SYNO],sec=ntlmv2,iocharset=utf8,noperm,auto 0 0
Re: Why are the NAS shares deleted after a reboot? #4
Posted 18 January 2015 - 15:14
As MiLo said, the folder will be automatically created.
My boxes have several mounts in fstab, to different folders in /media, and these folders are all created on the fly without problems.
Perhaps it has something to do with the fact that you don't use folders in /media, but in /media/net? Perhaps those aren't properly detected? Or creation fails because /media/net doesn't exist either?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #5
Posted 18 January 2015 - 16:42
As MiLo said, the folder will be automatically created.
My boxes have several mounts in fstab, to different folders in /media, and these folders are all created on the fly without problems.
Perhaps it has something to do with the fact that you don't use folders in /media, but in /media/net? Perhaps those aren't properly detected? Or creation fails because /media/net doesn't exist either?
Yes, I guess, that's the problem. Something's destroyed in the Vu+ Zero system. There is no /media/net anymore and I don't find a way to recreate it. So i will flash again and will have a look, if it will work better.
Re: Why are the NAS shares deleted after a reboot? #6
Posted 18 January 2015 - 17:10
There hasn't been a /media/net for a very long time, what software version is your box running?
As MiLo said, /media is dynamically created in tmpfs (in memory), so NOTHING exists anymore, everything is created on the fly whenever it is referenced in fstab or automount.xml.
The point I'm trying to make is that perhaps the "on the fly" creation fails because /media/net needs to be created before you can create /media/net/mountpoint, and I can imagine that the logic that does this on-the-fly creation does not take care of recursive folder creation.
So I suggest you use a mountpoint in /media for the time being, while MiLo confirms or denies my assumption.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #7
Posted 18 January 2015 - 21:44
Re: Why are the NAS shares deleted after a reboot? #8
Posted 18 January 2015 - 22:32
I am not sure it will automatically create /media/netNASstream, I am very sure it will create /media/NASstream.
Other than that, you are correct, you have understood it fine.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #9
Posted 19 January 2015 - 21:32
Re: Why are the NAS shares deleted after a reboot? #10
Posted 20 January 2015 - 01:48
You can try to add "sec=ntlm" to the options, for some combinations this is required due to changes in the samba version used.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #11
Posted 20 January 2015 - 21:08
Thanks, but I'm not sure if this will fix it (read this - incl your posts- also here: http://forums.openpl...e-doesnt-mount/). Because both boxes have exactly the same kernel version and built date. And it works without any issues on the solo2.
Today I read the log in /var/log, but there no entries that point on the mounts.
I still think about, that it could be a network issue. Maybe the VU+ Zero wants to connect to the NAS-folders, but there isn't any network connection yet.
Here are the Infos from the WebIF of the Solo2:
So, this is strange. The WebIF shows that VU+ Zero has no proper network connection: no IP-adress and no Subnet-mask. But in fact: it has:
Re: Why are the NAS shares deleted after a reboot? #12
Posted 20 January 2015 - 23:20
There are several reports of problems with the network interface of the Zero. Perhaps you have that problem too?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #13
Re: Why are the NAS shares deleted after a reboot? #14
Posted 11 February 2015 - 20:12
Afaik this code is part of Enigma, so you'll need to restart Enigma for this (using init 4 / init 3).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #15
Re: Why are the NAS shares deleted after a reboot? #16
Re: Why are the NAS shares deleted after a reboot? #17
Posted 12 February 2015 - 14:05
I personally never use the automount.
I just use fstab entries. OpenPLi will automatically create the required mountpoints, and mount the remote filesystems.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Why are the NAS shares deleted after a reboot? #18
Re: Why are the NAS shares deleted after a reboot? #19
Posted 3 March 2015 - 15:39
#bogus /media/something bogus bogus
this should create the /media/something directory (mountpoint) at boot time. Try it, I don't know if this is still the case, but it's a rather convenient way since fstab also gets placed into the autobackup.
Re: Why are the NAS shares deleted after a reboot? #20
Posted 6 March 2015 - 19:56
Hm, does not work like expected!
I have 3 shares. With # in front it creates the first share-folder, but delete it soon after creation! Then it goes to the next share-folder, create it but also delete it after creation. The last share does not delete and stays there.
Then i removed the # in front. Problem: If the share (NAS) is down, the box will not boot! It hangs at boot, i think because the box trys to mount the share. Maybe i have to wait until timeout (120s each share?) is reached.
Now i added the parameter "noauto". I think it's ok this way, but i have to test it now.
Edited by The_Raven, 6 March 2015 - 19:56.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users