Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How do create a NFS volume on a NetApp and then mount it to a Solaris server?

Posted on 2008-10-15
Medium Priority
Last Modified: 2013-12-21
I have a Solaris server that I would like to create an external storage because of disc space.  As an external storage we have a NetApp filer.  How do I create a NFS vol and then mount it to our Solaris server?
Question by:gsalcedo
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Author Comment

ID: 22725262
Additional information.  We are not using iSCSI. ... just fibre.

Expert Comment

ID: 22725377
You didn't say which NetApp you were using.  This is a general overview covering even the older stuff.

Log into the admin web interface <your IP>/na_admin
click on FILER VIEW  (authenticate the control panel)

Go to VOLUMES > QTREES > ADD  , pick a name for the share directory, follow the wizard
then go to NFS > ADD and follow the wizard to create the share for the qtree.  Be sure to set the IP that can access the NFS share or everyone will have access.

If you want to run it loose you can set the anonymous ID to ' 0 ' (zero) in stead of 64500.  This will make the anyone able to access the share be able to do whatever they want.  Permissions will still be enforced by the mounting client machine so it's ok.

On your Solaris machines just setup your NFS mount like normal to the IP address of the NetApp filer.

Since you're asking the question here I'm guessing you either have 2nd market equipment or at the very least you don't have a N.O.W. contract with NetApp.  After you get this setup you should really get someone on standby who can maintenance this stuff since you should be looking at the system weekly to ensure long life and proper operation.


Expert Comment

ID: 22725388
Also iSCSI and fiber doesn't have anything to do with each other.  iSCSI is just the protocol, like NFS.  You should always have at least a 1gig connection from the switch to the NetApp.

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal


Author Comment

ID: 22725677
Hi razorwoods,

I appreciate your help.  While at "Qtrees," do you have any recommendation as to what volume (vol0, vol1, or vol2) that I should work with.  I notice that vol0 is "checked" as root.  Is it alright to use that volume?  In the process of doing the NFS add, I noticed that there are 6 selections (Actual Path, Anonymous User ID, Read-Only Access, Read-Write Access, Root Access and Security) for the "Export Options."  Do you have any recommendation for those selection(s)?  Finally, the "Export Path."  When I attempted to indicate the path of the Qtree that I just recently indicated, it would not proceed after clicking the "Next" button.  If my Qtree is /vol/vol0/share, would the Export Path be /vol/vol0/share?

Thank you.

Accepted Solution

razorwoods earned 2000 total points
ID: 22726200
On the volumes you want to seperate your actual root volume where the OnTap software is located and any other volumes where you're going to store data.  There are tons of reasons for this and way beyond the scope of free tech ;)

If you've already loaded the system and have only 1 volume you're in a bad place and you can just setup the qtree there.  If you have a different volume such as /vol/vol1 put it there.

For simple NFS setups choose Anonymous ID, Read-Write, Security

If you created the qtree of /vol/vol0/share then that's exactly how you add it to NFS.  Since the web interface opens sub windows make sure you only have the the primary browser, the sub window for the filer view control panel , and that ADD NFS EXPORT window open.  You may be clicking next and it popping over to another unfinished sub window.


Author Comment

ID: 22726602
Hi razorwoods,

Thank you very much for the great information.  Your explanation is understandable.  

Here is my update.  I am able to add a Qtree and export, export the NFS and mount that remote volume to my Solaris server (mount -F filer:/vol/vol0/share /share).  The only issue that I am facing now is whenever I have to reboot and power on the Solaris system, I will have to run the mount command.  I have tried to edit the "vfstab" file, but for some reason, it is not mounting after it completes the boot up.  Please see below of my input in the "vfstab" file.  

#Device to mount     Device to fsck     Mount point     FS type    fsck pass   mount at boot     mount option
filer:/vol/vol0/share         -                   /share              nfs            -                yes                     rw,soft


Expert Comment

ID: 22738330
You have the settings right.  Unless NFS, portmap, etc... are starting later in the boot and it's not physically able to access NFS services prior to engaging the vfstab.  

It's an old hack , but you could always stick a manual mount command in the good old rc.local file.   That would do the trick.

You also may want to consider getting a maintenance contract with someone like us for older NetApp filers.  They're built like tanks, but when there's a problem... it's like fixing a tank too ;)


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question