Solved

VMware Sharing Same SAB Storage Among VMs.

Posted on 2012-03-21
21
449 Views
Last Modified: 2012-08-13
I have an ESXi connected via iSCSI directly to a SAN.  I have one VM on the ESXi.  That VM is connected to an iSCSI SAN.  

What's the best way to go about making another VM just like the first one that uses the same data on the SAN?
0
Comment
Question by:Drafter421
  • 11
  • 10
21 Comments
 
LVL 118
ID: 37749451
Clone the VM using vCenter if available.

or use this method in my article


HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0
0
 

Author Comment

by:Drafter421
ID: 37754949
When I do this I get an error that says insufficient disk space.  I'm not sure how to check what is insufficient.
0
 

Author Comment

by:Drafter421
ID: 37754966
So now I'm very confused.  I have a VM that is using the SAN storage but the whole iSCSI initiator thing I did yesterday isn't even turned on.
0
 
LVL 118
ID: 37754970
check the datastore storage space
0
 

Author Comment

by:Drafter421
ID: 37754977
The summary for the VM shows 2 datastores.  datastore1 and Production. 527 GB Provisioned, 527 GB Used.
0
 

Author Comment

by:Drafter421
ID: 37754980
I want the VMs to share the same data.
0
 
LVL 118
ID: 37754982
you have two VMs, and want to share the same data?
0
 
LVL 118
ID: 37754986
That is the reason for lack of storage space......

datastore is full.
0
 

Author Comment

by:Drafter421
ID: 37754988
I have one VM right now.  I want to make several that can access the same volume data  on the SAN.
0
 

Author Comment

by:Drafter421
ID: 37754990
I think datastore1 is on the physical hard drive on the machine.  I don't even want to use that.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:Drafter421
ID: 37754992
I would like everything to reside on the SAN.
0
 
LVL 118
ID: 37754995
so copy the VM to Production.
0
 
LVL 118
ID: 37755001
or Create a New VM and select the SAN datstore, is the SAN datastore Production?
0
 

Author Comment

by:Drafter421
ID: 37755003
Yes, SAN datastore is production
0
 
LVL 118
ID: 37755007
do you want to store the VM on the SAN, or have the OS in the VM access the SAN via iSCSI?

how does this existing VM access the SAN?
0
 
LVL 118
ID: 37755010
okay so VMs stored on the SAN?
0
 

Author Comment

by:Drafter421
ID: 37755015
I want to have the OS on the VM access SAN via iSCSI.  Can I make all my VMs access the same volume on the SAN?

Yesterday I made a VM that accessed the SAN via iSCSI.  I tried coping that VM and it broke the first VM.  Now the copied VM accesses the proper volume but the Windows iSCSI initiator isn'teven running.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37755021
In answer to your first question No.

Multiple VMs cannot access the same iSCSI volume or LUN, concurrently, if you do this the LUN or volume will become corrupted.

if you want VMs accessing the same data you need to use Windows Shares or NFS.
0
 

Author Comment

by:Drafter421
ID: 37755081
I'm starting over.  I'm making a VM that uses the majority of Production datastore as a file server and all my other VMs will access that server for data.  Am I on the right road now?
0
 
LVL 118
ID: 37755087
Correct, thats the way to do it. with Windows File Shares
0
 

Author Closing Comment

by:Drafter421
ID: 37755093
Thanks once again for your sharing your knowledge and for your fabulous help.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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.
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.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
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.

863 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

24 Experts available now in Live!

Get 1:1 Help Now