Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

SYSTEMD-FSTAB-GENERATOR unit service not starting

$
0
0

I have the following entry in /etc/fstab:

//remote/folder /mnt/local_folder cifs x-systemd.automount,uid=user,gid=user,file_mode=0755,dir_mode=0755,ro 0 0

and it mounts fine, but the systemd unit automount service doesn't start. It appears to have created a mnt-local_folder.automount service and attempting to start it automatically fails with 'folder already mounted'. The workaround is to unmount the folder, and start the service that way and then the autmount works, but without this additional step if we lose connection to the remote server, it has to be mounted again manually. Is there an fstab config step I'm missing?Many thanks


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>