Page 1 of 1

Add dozen of IPs to exportfs

Posted: Thu Dec 17, 2020 7:23 pm
by JailBreak
Hi all,

I am migrating some NFS shares from our NetApp to the QNAP.

In our NetApp NFS shares we have dozens of for ro, rw and root. I am trying to add them in the command line, because in the GUI for dozens of IPs this will take ages to finish. Adding also one by one in the exportfs file is also time consuming. We should do it in a command line.

I trying to do like I do in Netapp, but doesn't work.

exportfs sec=sys,ro=,rw=,root= /volume/nfs-share

This is just an example because the real one, has dozens of IPs for each ro, rw, and root.

Thank You