Solved

ESX 3i How to add storage (nas Storage)

Posted on 2009-04-01
7
2,614 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

776 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