mirror of
https://gitlab.com/djdietrick/docs
synced 2026-05-03 00:20:54 -04:00
Updated nas
This commit is contained in:
@@ -7,12 +7,17 @@ sudo apt update
|
||||
sudo apt install nfs-common
|
||||
|
||||
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
|
||||
|
||||
Edit `/etc/fstab` file and add a line like below
|
||||
Edit `/etc/fstab` file and add a line like below:
|
||||
|
||||
```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.
|
||||
Reference in New Issue
Block a user