2011-10-28 09:05 PM
hi - thanks for your time. Ill start by saying i'm a noob at netapp and I need a bit of some help. I want to add some lines to the exports file. Can it be done through a gui or is it all CLI?
Here is what I am trying to do:
netapp01> vfiler run vfcorp exportfs
I want to add the IP portion (=10.1.0.1:10.1.0.3) to the esxi02 line...
I am trying to use the wrfile command but I guess I am using it wrong.... I put in the any thoughts?
Solved! SEE THE SOLUTION
2011-10-29 08:45 PM
By default there is a Windows share called etc$. From a windows machine browse to \\filerhostname\etc$, for the username try filerhostname\administrator, and for the password, use the root password of your netapp.
Or use the command line:
priv set advanced
<Cut and paste output into a text editor, make your modification, and copy the ENTIRE contents to the clipboard>
<paste the entire contents of your exports file>
rdfile /etc/exports (to confirm the contents are correct)
The key here is that wrfile can only be used to write the entire file. You can't modify or append using wrfile.
Another option to modify this file would be to mount up the root vol on a UNIX box using NFS.
2011-10-29 09:02 PM
seanmluce - thanks for the response. I opened up a case with NetApp and we did the same. copied the exact permissions of esxi01 to esxi02. however this still did not allow access to the 2nd volume (esxi02) even though with the same permissions on esxi01 it works fine. So what I did was open up the permissions with -sec=sys,rw,anon=0 and now it is working. my only concern now is how secure is the volume now? ... and why it wouldnt work with the same permissions as it has on vol esxi01.
2011-10-29 09:16 PM
I am not sure why modifying the permissions didn't allow the other host to connect. It could be any number of things.
Once you made the modification, did you re-export the file system from the filer?
Or maybe try rebooting the NFS client?