Skip to content
Mount NAS drive in Linux at boot

Mount NAS drive in Linux at boot

April 23, 2024

Add the following entry to /etc/fstab to automatically mount NAS drives at boot

/etc/fstab
//NAS_IP/directory /mnt/point cifs credentials=/home/user/.nascred,uid=1000,gid=1000,x-systemd.automount,x-systemd.mount-timeout=10  0  0
/home/user/.nascred
username=your_username
password=your_password
Last updated on