Solved

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

Posted on 2008-10-15
7
11,839 Views
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?
0
Comment
Question by:gsalcedo
  • 4
  • 3
7 Comments
 

Author Comment

by:gsalcedo
ID: 22725262
Additional information.  We are not using iSCSI. ... just fibre.
0
 
LVL 3

Expert Comment

by:razorwoods
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.



0
 
LVL 3

Expert Comment

by:razorwoods
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.

0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:gsalcedo
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.
0
 
LVL 3

Accepted Solution

by:
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.

0
 

Author Comment

by:gsalcedo
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


0
 
LVL 3

Expert Comment

by:razorwoods
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 ;)

0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Problem description :  Some external hard disks / USB flash drives do not show actual space as mentioned in the factory settings. This is a common problem when you use an 8 GB USB drive to make it bootable to install a firmware/ driver on a serv…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now