Network Storage Protocols Discussions

Using exportfs to Edit an Export

Can the exportfs command be used to edit an exisiting export?  In System Manager, I know you can make changes and save them, so there must be a command line equivalent.  I've tested the -io and several other options, but nothing I've seen so far will let you replace an entry for a path with an updated entry for the same path.


Re: Using exportfs to Edit an Export

I believe you're looking for the -p option.

View solution in original post

Re: Using exportfs to Edit an Export

Thanks resqme914!  I just tested that with the simulator and it worked.  I never found anything in documentation indicating that this switch would work with existing exports, but I see now that it does in fact work (it takes the original and adds a # in front of it).  Thanks for the tip!

Cloud Volumes ONTAP
Review Banner
All Community Forums