Solved

ESX 3i How to add storage (nas Storage)

Posted on 2009-04-01
7
2,617 Views
Last Modified: 2012-05-06
I am running an esx server that has almost 500GB of storage space but I am already running low on space. The storage is on Sata raid controller configured as Raid 5.

I have another nas server called Naslite2 from teh serverelement company please check their website for more info.

I am trying to add this nas server that is linux based nas OS to the ESX.

But as soon I enter into the ESX from the GUI and I go to the add storage option i enter the ip address of the nas storage plus the path I get an error that the:

" storage couldn't be added because access was denied from the Nas server please make sure that export is enabled on the client"

Export is enabled on the Nas server is there anything else that need to be done on the ESX?

It might be that something actually still need to be enabled from the Naslite2 but i do not know what and how and the server element support for the Naslite2 that we bought is not helpful at all. Their website can be found here
http://www.serverelements.com/naslite-2-usb.php

Hope anyone can help, we are small company and we would like to get a good solution if possible.

Thanks
0
Comment
Question by:daveviolante
[X]
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
7 Comments
 
LVL 22

Expert Comment

by:robocat
ID: 24039797

You need to enable NFS on your NAS box.

Typically, this also requires that you:

-create an NFS export on the NAS box
-add the IP address from the ESX server to the NAS access list for this export.

You can then add NFS storage to ESX.
0
 

Author Comment

by:daveviolante
ID: 24043327
Yes, sir I agree with you but how do I do that on that nas Server, it seems to be a kind of customized OS based on Linux.  I cannot understand the options and I am windows guy Linux it is still somehting I don't know.

Regards
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 24044012
These links may give you a clue - an NFS export is you defining a 'share'
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-nfs-export.html
 Page 14 of your naslite2 manual tells you how to configure this.
There is no mention about security, but there are some requirements for ESX to use NFS. By default:
You need to ensure that the ESX Server has full rights to the NFS export. On a normal NFS server, you need to export a share with no_root_squash to ensure that ESX can mount the volume with 'root' privileges and manipulate the filesystem.
Hope this helps

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 7

Expert Comment

by:kumarnirmal
ID: 24060028
Page 93 of this Guide shows you the steps to configure a NAS Device for ESX Server

http://www.vmware.com/pdf/vi3_35/esx_3i_e/r35u2/vi3_35_25_u2_3i_server_config.pdf
0
 
LVL 3

Expert Comment

by:qualchoice-it
ID: 24073190
NFS is native to Linux, there shouldnt be much you have to configure on the NAS itself

the linux command to give a folder full rights is
run these command from Putty, make a connection to your NAS device via ssh port 22 OR if you can web browse to your NAS device it might be easier that way, but heres the commands anyway

mkdir -m 0777 "path to NAS device" example mkdir -m 0777 /mnt/Storage1

chmod 777 (Dir Name) will also give it full rights

ESX configuration:

From PUtty logged into your ESX host under root

mount -t nfs "IP of NAS device":/"folder you want to mount" /mnt/"folder you want to mount"

that will take a minute to mount

next run this command inside putty "df" this will list your new created mount point

Next go to your VIC, you will need to add another VMkernel Port under the network tab of each ESX host that you want to see your NAS device, you will need an open IP address as well. Once thats done go to storage and add your NFS share.

I hope this helps
0
 
LVL 3

Expert Comment

by:qualchoice-it
ID: 24079945
Also to make you life easier in the future, add this line in the etc/fstab directory (I use the Nano editor)

<ESX Host name:<IP Address of your windows box>:/<nfs share name> /<whole path to your NFS share> nfs defaults 0 0   then hit control O and name the file, then enter.

This will automatically mount your share each time the ESX host reboots.



0
 

Accepted Solution

by:
daveviolante earned 0 total points
ID: 24080018
Hello everyone,

Thanks but this issue I actually solved my self.

Probably it was more Naslite specific indeed Export was enabled already on the Nas Server.

The reason why I couldn't mount the Nas server to Esx is because on the path in my case was /Disk-0/datastore2, I supposed to put the word export on the path name to enter on the ESX server on the path field.

So the complete path supposed to be export/Disk-0/datastore2

Thanks anyway the issue I solved myself it was actually easy then what I thought
0

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

626 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