Solved

ESX 3i How to add storage (nas Storage)

Posted on 2009-04-01
7
2,610 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
7 Comments
 
LVL 21

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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

705 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

15 Experts available now in Live!

Get 1:1 Help Now