Solved

Iscsi Storage in VMware

Posted on 2012-03-30
38
948 Views
Last Modified: 2012-05-25
Good Morning,

I recently added some Iscsi storage to an esxi host a nd did all the bindings for it to come. When I check the storage adapters its is showing the paths to the storage . However, I dont see it added as a datastore.
0
Comment
Question by:alli87
  • 20
  • 18
38 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37787712
0
 

Author Comment

by:alli87
ID: 37787891
I have done all of the bindings and the paths come up . However, when i go to add the datastore the window is empty (see attached files).
Iscsi-Paths.PNG
Iscsi-Paths-2.PNG
0
 
LVL 118
ID: 37787983
I can see there is LUN0 presented.

How large have you made this LUN?

is this a new LUN or re-used LUN?
0
 

Author Comment

by:alli87
ID: 37788000
The size of the Lun is 3.41 TB . I have migrated two virtual machines to this Lun from another Host . However I want to get this host to see the same Lun now.
0
 
LVL 118
ID: 37788020
What version of ESX? 4.x?

Max size of LUN is 2TB-512bytes
0
 
LVL 118
ID: 37788024
Configuration Maximums for VMware vSphere 4.1

http://www.vmware.com/pdf/vsphere4/r41/vsp_41_config_max.pdf
0
 

Author Comment

by:alli87
ID: 37788266
My Apologies , The size of the volume is 1.3 TB. See the attached file showing the volume on the host .
Volume-Size.PNG
0
 
LVL 118
ID: 37788284
this lun is used on another hosts?
0
 

Author Comment

by:alli87
ID: 37788647
Yes it is
0
 
LVL 118
ID: 37788719
it's not VMFS 5?
0
 

Author Comment

by:alli87
ID: 37788887
No its a VMFS 4 volume
0
 
LVL 118
ID: 37788914
so this single 1.3TB LUN VMFS3 is presented two other hosts and is working?
0
 

Author Comment

by:alli87
ID: 37788918
It is Presented to one other host and is working
0
 
LVL 118
ID: 37789442
try the following esxcfg-volume -l

example output


~ # esxcfg-volume -l
VMFS3 UUID/label: 4cc89503-f054d0d4-2865-00221958e471/nas3-vmfs
Can mount: Yes
Can resignature: No (the volume is being actively used)
Extent name: naa.600140588e9bab7d2b7ed4b53dadc1de:1     range: 0 - 1048319 (MB)

and then

esxcfg-volume -m 4cc89503-f054d0d4-2865-00221958e471 (UUID from above)

or

esxcfg-volume -m nas3-vmfs (or friendly datastore name)
0
 

Author Comment

by:alli87
ID: 37796855
When I run this command (esxcfg-volume -l) it goes back to the root prompt with no error. I am not sure if this means it is successful but I do not get the output you get above .
0
 
LVL 118
ID: 37797163
if means it cannot find any volumes.
0
 

Author Comment

by:alli87
ID: 37797807
Ok , I also just restarted the hosts and still no luck.
0
 
LVL 118
ID: 37797823
Create a new lun and present to this host as a test
0
 

Author Comment

by:alli87
ID: 37802710
I created a new lun and presented it to the second host and the same thing happens , it comes up under storage adapters but not under datastore.
Lun-test.PNG
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 118
ID: 37802731
did you try presenting to the first host?
0
 
LVL 118
ID: 37802736
or is the second host, the host you are having issue with?

when you click add storage the LUN does not appear?
0
 
LVL 118
ID: 37802739
there must be something wrong on this host, or configured differently to the other.
0
 

Author Comment

by:alli87
ID: 37802857
The new Lun has now come up for all hosts
0
 

Author Comment

by:alli87
ID: 37853053
Correction it appears for all the hosts in the add storage section . However when I try to add it to hosts two and three I get an error . When i try to add it to the first host i get through . I know there is a problem with Hosts two and three but do you have  any idea what it could be ?
0
 
LVL 118
ID: 37853110
error message is?
0
 

Author Comment

by:alli87
ID: 37853499
Call "HostDatastoreSystem.CreateVmfsDatastore" for object "datastoreSystem-224" on vCenter Server "friedrice.MEDIANET.local" failed.
Operation failed, diagnostics report: Unable to create Filesystem, please see VMkernel log for more details.
0
 
LVL 118
ID: 37853520
okay, is this a new LUN, or a reused LUN, often errors occur like this is because the lun, is reused and may have existing partitions or data that cannot be deleted or erased.

check the vmkernel.log for further details, from the console
0
 

Author Comment

by:alli87
ID: 37853794
Is there anything specific to look for in them ? I have been looking at them for the past half hour and I'm not seeing anything popping out at me.
0
 
LVL 118
ID: 37853813
is this a newly created lun or old lun?
0
 

Author Comment

by:alli87
ID: 37853841
Its a new one i created after having the problem with the initial 1.3 Tb LUN
0
 
LVL 118
ID: 37853852
whats the size?
0
 

Author Comment

by:alli87
ID: 37853858
5 GB
0
 
LVL 118
ID: 37853865
5 GB? that' small?
0
 

Author Comment

by:alli87
ID: 37853871
Yeh I just created one just big enough to come up under vmware . Do you think the size is an issue ?
0
 
LVL 118
ID: 37853889
try a larger LUN 20GB
0
 

Author Comment

by:alli87
ID: 37856235
I just tried with a 600 GB LUN while giving access to only one host and still got the same error
0
 

Author Comment

by:alli87
ID: 37913161
I Have tried another combination buy configuring a new server with ESXi and adding the same 1.3TB LUN through Iscsi and it comes up with no problems . This means the issue is with the Dell R610. I tried reinstalling ESXi on the R610 and redoing the entire configuration and still it does not come up , however when I connect to it I do not get the error anymore . I have also checked the BIOS and all virtualization features are enabled there . Any ideas what could be the difference with the R610 ?
0
 
LVL 118
ID: 37914049
it would be time to check the logs on the ESXi server

see here

http://xtravirt.com/vmware-esxi-4-log-files
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows VM unexpected shutdown 7 55
CPU allocation for a VM 8 67
External Hard Drives - Vmware 6.0 5 77
Citrix UPM Compatibility with XenApp 6.0 4 27
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

911 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

22 Experts available now in Live!

Get 1:1 Help Now