TASIOMIND.DEV — OPERATIONAL▸▸▸FULL STACK DEVELOPER @ GWQ SERVICEPLUS AG▸▸▸FOUNDER — K8SGPT.AI▸▸▸OPEN SOURCE: ACTIVE▸▸▸DISTRIBUTED SYSTEMS / KUBERNETES / AI▸▸▸RUST + GO + PYTHON▸▸▸FIELD TESTED / STATUS — NOMINAL▸▸▸LOCATION: EUROPE/BERLIN▸▸▸TASIOMIND.DEV — OPERATIONAL▸▸▸FULL STACK DEVELOPER @ GWQ SERVICEPLUS AG▸▸▸FOUNDER — K8SGPT.AI▸▸▸OPEN SOURCE: ACTIVE▸▸▸DISTRIBUTED SYSTEMS / KUBERNETES / AI▸▸▸RUST + GO + PYTHON▸▸▸FIELD TESTED / STATUS — NOMINAL▸▸▸LOCATION: EUROPE/BERLIN▸▸▸

Reload /etc/fstab entries and mount drives

February 23, 2024

The basic and the most common command is:

code
sudo mount -av

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

code
sudo systemctl daemon-reload

if the above doesn't work, try:

code
sudo systemctl daemon-reload
sudo systemctl restart remote-fs.target

to reload an entry to mount a local filesystem:

code
sudo systemctl daemon-reload
sudo systemctl restart local-fs.target

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