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

Posted on 2008-10-15
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.

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.


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 500 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

729 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