-->

PowerCLI Script –Identifying virtual machines with Raw Device Mappings (RDMs) using PowerCLI

What is the RDM ?

Raw Device Mapping (RDM) is VMware's virtualization technology that allows a virtual machine (VM) to access a logical unit number (LUN) directly.RDM is beneficial in cluster configurations like VM-to-VM or physical-to-VM and storage area network (SAN) snapshots.

Generally, if  you want know how many VM's having RDM in vCenter.

Identifying virtual machines with Raw Device Mappings (RDMs) using PowerCLI

 1.  Open the vSphere PowerCLI command-line

2. Run the command:

---------------------------------------------------------------------------

Get-VM | Get-HardDisk -DiskType "RawPhysical","RawVirtual" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName | fl | Out-File –FilePath RDM-list.txt

-----------------------------------------------------------------


PowerCLI Script –Identifying virtual machines with Raw Device Mappings (RDMs) using PowerCLI PowerCLI Script –Identifying virtual machines with Raw Device Mappings (RDMs) using PowerCLI Reviewed by Virtulization on April 20, 2021 Rating: 5

No comments:

Home - PageNavi (show/hide)

hide
Powered by Blogger.