ONTAP Discussions
ONTAP Discussions
I'm trying to setup an export for NFS using FilerView, but when I click on Add Export or Configure Export I get this Java error. Any ideas?
java.io.IOException: zapi query failed at netapp.fv.nfs.Export.refresh(Export.java:772) at netapp.fv.nfs.wizard.BasePage.getInfo(BasePage.java:382) at netapp.fv.nfs.wizard.BasePage.getPageContent(BasePage.java:598) at netapp.fv.servlets.WizardServlet.getBody(WizardServlet.java:999) at netapp.fv.servlets.WizardServlet.service(WizardServlet.java:323) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at netapp.servlet.NetappRunner.execute(NetappRunner.java:422) at netapp.servlet.NetappRunner.run(NetappRunner.java:254) at java.lang.Thread.run(Thread.java:484)
Whenever a customer has a java issue, I always ask they upgrade or install the latest java at java.com (or anywhere you trust to get the latest) and 99.9999% of the time these errors go away.
Also, FilerView is great for many things, but I still prefer to manually edit /etc/exports...anyone who has ever been bit by a gui issue (rc file more commonly when network is modified from filerview) tends to edit the files... with snapshots and backups copies made of the files you are ok, but I still recommend editing the file.
I checked the Java site and I am running the most current version of Java. When I first got the error, I thought it might have been my machine since I am running Vista and IE 8. But I tried the page in Firefox and Chrome and it still didnt work. So I tried it from an XP machine running IE7 and up to date Java and still get the error. I had used the commands to get things done from time to time but wanted to get the GUI working too. I see that there maybe solutions on the NetApp NOW site, but after providing our System ID last week, our account is still stuck on Guest Access, meaning we basically can't see anything.
I get all sorts of java messages when trying to work in FilerView. I think they happen when the filer is busy as the functions work without problem at other times. Sometimes F5 will fix the issue but it always worries me when things start going strange for no good reason. Recommend you get into CLI as it is the future of administration...
Have taken this from the NetApp foundation course notes. ~ Not going to type this again....
/etc/exports File
As a system administrator, you want to control how NFS clients access files and directories on a storage appliance. Exported resources are those that you make available to hosts. NFS clients can mount only resources that have been exported from a storage appliance licensed for NFS.
There are two ways to export resources:
Add entries to the /etc/exports file for each directory you want to export. Entries specify the full path to a directory and options. The full path name must include /vol, as in /vol/vol0/home. The export specifications restrict access using the following options:
I've seen this error/bug when the NFS license has expired. If the license is expired renewing it will fix this issue.