?
Solved

ESX 3i How to add storage (nas Storage)

Posted on 2009-04-01
7
Medium Priority
?
2,620 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
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…

718 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