[BUG] Automount fail on reboot with Ubuntu 20.04
-
@nebulon said in Why my CIFS automatic mount fail on every reboot ?:
Do you see any failing attempt of automounting it during boot?
I did manually look the /var/log/dmesg and saw nothing anormal
@nebulon said in Why my CIFS automatic mount fail on every reboot ?:
Can you try adding defaults,_netdev to the fstab line? Maybe the network comes up a bit too slowly and thus the automount fails?
I did add those line, without success
I still need to domount -a
after a rebootBTW it is on Ubuntu 20.04 LTS
-
It's working fine for me.
Here is what I have in fstab:
//uxxxxx.your-storagebox.de/backup /mnt/storage cifs iocharset=utf8,rw,credentials=/xxx/xxxxx-credentials.txt,uid=yellowtent,gid=yellowtent,file_mode=0660,dir_mode=0770 0 0
It did unmount once during a backup, but that's the only hiccup I've had to date.
-
@jdaviescoates are you with 18.04LTS or 20.04LTS ?
-
@jdaviescoates said in Why my CIFS automatic mount fail on every reboot ?:
@jodumont 18.04. You?
jodumont said
BTW it is on Ubuntu 20.04 LTS
-
@jdaviescoates How is working now? Did you experienced problems in last days? I switched to Wasabi meanwhile find a durable solution to this problem...
-
@nebulon said in Why my CIFS automatic mount fail on every reboot ?:
If I am reading those version messages correctly, it does look like the automount on Ubuntu 20 has some kind of regression, while servers on 18 are working reliably?
In plain english yes the issue seams to be only with Ubuntu 20.04
-
Possible related to this?
SMB1 disabled by default: can still be enabled via a /etc/samba/smb.conf config change;
https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Samba_4.11
More info here:
https://www.samba.org/samba/history/samba-4.11.0.htmlFound via https://askubuntu.com/questions/1229929/cant-acces-nas-anymore-after-upgrading-to-20-04
-
@jdaviescoates said in My CIFS automount fail on reboot with Ubuntu 20.04:
Possible related to this?
thank for your reach, I'll definitely give a try to this and come back soon.
-
@jdaviescoates I just look at it
and on Cloudron Samba server is not installed
so nothing to configure in /etc/samba/* which actually don't even exist.WEBDAV
I have the same behavior with webdav
on reboot I have to login and domount -a
here the option for my davfs in /etc/fstab:
rw,_netdev,uid=yellowtent,gid=yellowtent,file_mode=0660,dir_mode=0770 0 0
I also tried withauto
anddefaults
few people suggest to use rc.local
-
@jodumont said in My CIFS automount fail on reboot with Ubuntu 20.04:
it is possible than cloudron mount the volumes before my automount so then the target directory of my automount is not empty ?
nope, even without any volumes configured in Cloudron
CIFS and WEBDAV won't mount automatically -
-
@nebulon said in [BUG] Automount fail on reboot with Ubuntu 20.04:
Cloudron itself does not handle any mount points as such. So this looks like this is some issue with 20.04 server then. Note that the desktop flavor has a lot more things installed usually, which may or may not trigger automounting correctly.
I have no doubt of the quality of coding from the Cloudron Team
but I just boot an ubuntu 20.04 LTS at Hetzner
didapt update apt install -y davfs2 mkdir /mnt/storagebox
than cut and past my 2 lines
1 from /etc/fstab
1 for /etc/davfs2/secretreboot and it work
so yes Ubuntu Desktop have probably more fuse than server but now the only difference is Cloudron.