Add dozen of IPs to exportfs

Discussion about using NAS on Linux and Unix OS.
Post Reply
First post
Posts: 1
Joined: Thu Dec 10, 2020 9:35 pm

Add dozen of IPs to exportfs

Post by JailBreak » Thu Dec 17, 2020 7:23 pm

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


Post Reply

Return to “Linux & Unix (NFS)”