You are not logged in.
I have a synology NAS DS 414. I can mount the shares by doing sudo mount 192.168.1.121/volume1/Media /mnt/Media
and then repeat for other mounted drives. I want to add them to /etc/fstab so they automount with sudo mount -a or just mount when accessed.
How can this be achieved? I can't figure out how to fimd the UUID of the NAS mount drives, and I'm not sure what exactly to put in fstab to make it work right now I have:
//CHS-NAS/volume1/Media /mnt/Media ext4 cifs rw,uid=1000,gid=100,noauto,x-systemd.automount 0 0\
Also tried using the IP instead of CHS-NAS (192.168.1.121)
What is the correct way to do this? A;; the info I find is unhelpful
Thanks in advance
Offline
https://wiki.archlinux.org/index.php/sa … tc.2Ffstab
What kind of share is it? Samba? NFS? FTP? Don't mix the file system (ext4) on the server side with the client's fstab. Your client will access the share by using something like nfs or samba (aka cifs), and not by using ext4. The servers UUIDs are of no interest for the client, too. Your server uses the UUIDs to handle it's local storage, and parts of the local tree may be accessable from the network. There is nothing a client could / should do with the servers UUIDs.
In case of Samba you will try something like
//CHS-NAS/volume1/Media /mnt/Media cifs rw,uid=1000,gid=100,noauto,x-systemd.automount 0 0
or
//CHS-NAS/volume1/Media /mnt/Media cifs defaults 0 0
to have a first success, and go ahead for automounting with system.d, f.e.
Last edited by Moo-Crumpus (2015-02-16 15:46:00)
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline