Hi All,
I can't figure out how to get my SMB share automount with the fstab inside of LXC.
I have several LXC running with automount shares, but I can't get one specific LXC (new) to automount.
Tried:
/share /folder cifs _netdev,x-systemd.automount,credentials=/root/.creds,uid=www-data,gid=www-data,iocharset=utf8 0 0
Also tried:
> $ sudo systemctl restart remote-fs.target
But it simply wont work.
When I punch in mount -a everything works fine. Anyone a idea?
Because the whole point of /etc/fstab is the automatic mount at boot right?
Thanks,
Dennis
I can't figure out how to get my SMB share automount with the fstab inside of LXC.
I have several LXC running with automount shares, but I can't get one specific LXC (new) to automount.
Tried:
/share /folder cifs _netdev,x-systemd.automount,credentials=/root/.creds,uid=www-data,gid=www-data,iocharset=utf8 0 0
Also tried:
> $ sudo umount /mnt/storageTo test the automount, unmount your share if it's currently mounted:
> $ sudo systemctl daemon-reloadAnd then restart the remote-fs systemd unit:
> $ sudo systemctl restart remote-fs.target
But it simply wont work.
When I punch in mount -a everything works fine. Anyone a idea?
Because the whole point of /etc/fstab is the automatic mount at boot right?
Thanks,
Dennis