Notes

Reload /etc/fstab entries and mount drives

Edit on GitHub

Ubuntu

The basic and the most common command is:

1sudo mount -av

To make sure it reloads config for auto-mount drives as well, and when traditional mount is not working, use:

1sudo systemctl daemon-reload

if the above doesn’t work, try:

1sudo systemctl daemon-reload
2sudo systemctl restart remote-fs.target

to reload an entry to mount a local filesystem:

1sudo systemctl daemon-reload
2sudo systemctl restart local-fs.target

If you have removed entries from fstab and the above commands don’t work, try restarting the machine.