Updated nas

This commit is contained in:
2023-04-07 12:43:24 -04:00
parent 64c330b031
commit 4e61039ce5

View File

@@ -7,12 +7,17 @@ sudo apt update
sudo apt install nfs-common sudo apt install nfs-common
sudo mount -t nfs <nas_ip>:/volumeX/<shared_folder> <mount_location> sudo mount -t nfs <nas_ip>:/volumeX/<shared_folder> <mount_location>
ex:
sudo mount -t nfs 192.168.0.103:/volume1/media /media/nas
``` ```
## Auto mount on startup ## Auto mount on startup
Edit `/etc/fstab` file and add a line like below Edit `/etc/fstab` file and add a line like below:
```bash ```bash
<nas_ip>:/volumeX/<shared_folder> <mount_location> nfs user=<username>,password=<password>,uid=1000,gid=500 <nas_ip>:/volumeX/<shared_folder> <mount_location> nfs nfsvers=3 0 0
``` ```
Then run `sudo mount -a` to mount the drive.