VMware Cloud Community
jonathanp
Expert
Expert
Jump to solution

How to add a harddisk in a vm from a existing lun.

I tried to add a Harddisk to a vm and wanted to use the Raw device mapping option but the option is grayed out...?

Is there any reason?

Jon

Reply
0 Kudos
1 Solution

Accepted Solutions
sizarraga
Enthusiast
Enthusiast
Jump to solution

A LUN that will be used as RDM can be shared between different servers, but when the LUN is presented to a VM the VM locks the LUN and it can't be used by other VM, unless you use set your SCSI Bus Sharing to Physical, that is useful when you configure a Cluster in a V2V across Different Physical servers

Remember, if you share a LUN between different VMs you may have data corruption.

Regards.

SLT

View solution in original post

Reply
0 Kudos
4 Replies
Aftenposten
Enthusiast
Enthusiast
Jump to solution

The option is greyed out if there is no available lun's. You cannot use a lun that is already used.

sizarraga
Enthusiast
Enthusiast
Jump to solution

When you add a hard disk (or a LUN in a SAN) you must rescan your Storage adapters in the Configuration tab.

After that you can use it as a RDM or format it as a VMFS datastore

SLT

jonathanp
Expert
Expert
Jump to solution

The Lun has been set as "Shared" because we need to see the lun from different servers.

So, I think this is possible right?

Jonathan

Reply
0 Kudos
sizarraga
Enthusiast
Enthusiast
Jump to solution

A LUN that will be used as RDM can be shared between different servers, but when the LUN is presented to a VM the VM locks the LUN and it can't be used by other VM, unless you use set your SCSI Bus Sharing to Physical, that is useful when you configure a Cluster in a V2V across Different Physical servers

Remember, if you share a LUN between different VMs you may have data corruption.

Regards.

SLT

Reply
0 Kudos