NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
9300170
Dec 13, 2017Aspirant
OS6 - FSTAB to Mount a Second NAS
So, this should be easy, but I've wasted a few days on this and just can't find any infomration out there about how to modify my fstab on my 516 to mount a share from another 516. I have to 51...
Sandshark
Dec 14, 2017Sensei
I do that to have shares on another NAS available to OwnCloud (since it's native external file capbility seems broken).
You first need to create a directory to be the target. (This may be what you forgot). Let's say I want it to be "External". Then you
mkdir /data/External
Now, if you want to mount the "Exported" share on the NAS at 192.168.1.200 in "External", you add this to fstab:
192.168.1.200/data/Exported /data/External nfs rw 0 0
This assumes that you want to export via NFS (which I recommend, since it is a native Linux file system), and so you have to have NFS enabled for the "Exported" share (or share in which "Exported" resides if it's a directory within a share). Turning on NFS for the share on the ReadyNAS puts the share in the /etc/exports file, so you don't need to do that yourself (in case you are Googling and it tells you to do that). You can use CIFS instead (lower case in the fstab entry) if there is a reason you don't want to use NFS and CIFS is enabled for the share. There are some other options as well, but these are typical.
I tried using the NAS name, and it seems to fail sometimes. Using the IP address works consistently for me as long as the exporting NAS is on when the importing NAS boots.
Note that when you do this, the NAS may show you a "phantom" volume on the volumes page. Mine didn't until I upgraded to 6.8.x., then it did, but later it went away. At least I'm fairly certain this was the cause.
9300170
Dec 14, 2017Aspirant
Ok... so been at this for a few hours since I saw your reply.
NFS is enabled on both NAS (NAS01-192.168.67.101 and NAS02-192.168.67.102).
I created a directory on NAS02 at /data/External (following your instructions letter by letter just in case..lol)
My /etc/fstab on NAS02 includes a line showing: 192.168.67.101/data/Downloads /data/External nfs rw 0 0
After full reboots...almost a hundred now... I connect via SSH to NAS02, navigate to /data/External and do an LS command...and the list is empty.
Thoughts?
- 9300170Dec 14, 2017Aspirant
Oh...and if I do it manually with :mount -t nfs 192.168.67.101:/data/Downloads /data/External then it works... but if I use an fstab entry, it doesnt....
- 9300170Dec 14, 2017Aspirant
It came down to a missing ":" :robotfrustrated:
This worked:
192.168.67.101:/data/Downloads /mnt/nas01-downloads nfs rw 0 0
192.168.67.101:/data/Music /mnt/nas01-music nfs rw 0 0
192.168.67.101:/data/Videos /mnt/nas01-videos nfs rw 0 0Thank you!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!