I have a NAS that I am able to mount using NFS and I suspect that I can also mount as CIFS. I am currently using multicast DNS addresses in the addresses in my mount command and I do not want to use the numeric style IP addresses that seems to be required for /etc/fstab. Does anyone have suggestions where to place this mount command script? This command seems to needs root access, which may limit where the script with command will be placed.
"Kevin" == Kevin Stratton via WLUG <wlug@lists.wlug.org> writes:
I have a NAS that I am able to mount using NFS and I suspect that I can also mount as CIFS.
Be careful, you want to mount as one or the other if at all possible. Otherwise there leads madness since the NFS persmission and CIFS permissions aren't really compatible.
I am currently using multicast DNS addresses in the addresses in my mount command and I do not want to use the numeric style IP addresses that seems to be required for /etc/fstab.
Why? What does this buy you? Do you not have local DNS setup on your home LAN network?
Does anyone have suggestions where to place this mount command script? This command seems to needs root access, which may limit where the script with command will be placed.
You shouldn't need a script, just add it properly into your /etc/fstab file. But are you trying to access this NAS from both home and while you're at the local coffee shop? So I have my home directory on my home server exported and mounted on a desktop, so when I login to either 'sail' or 'quad' I have the same files. So on sail (a Linux Mint Distro system) I just have: quad:/home /home nfs _netdev,auto,vers=3 0 0 in my /etc/fstab file. And of course I have an entry for quad in /etc/hosts as well, even though it's also in my local network DNS as well. Better safe than sorry. So anyway, the above mount tab entry mounts it on system bootup. John
participants (2)
-
John Stoffel
-
Kevin Stratton