[BUG] Automount fail on reboot with Ubuntu 20.04
- CONTEXT: While using an external storage (Over IP)
- ISSUE: DNS are not resolving since Cloudron use unbound in a container (which because operational after the initialization of the system)
- SOLUTION: adding in
/etc/hoststhe name and the IP
Basically I mount a SMB for my storage and after every reboot
I have to login via SSH and do a
note: I mount it directly in
/etc/fstabbecause I have limited connection allowed.
Do you see any failing attempt of automounting it during boot?
I did manually look the /var/log/dmesg and saw nothing anormal
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 do
mount -aafter a reboot
BTW 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.
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;
More info here:
@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.
I have the same behavior with webdav
on reboot I have to login and do
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 with
few people suggest to use rc.local
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