Link to home
Start Free TrialLog in
Avatar of daveviolante
daveviolanteFlag for Netherlands

asked on

ESX 3i How to add storage (nas Storage)

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
Avatar of robocat
robocat


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.
Avatar of daveviolante

ASKER

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

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



ASKER CERTIFIED SOLUTION
Avatar of daveviolante
daveviolante
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial