Quantcast
Channel: VMware Communities: Message List - vSphere™ Storage
Viewing all articles
Browse latest Browse all 5826

Re: New-Hardisk and RDM issues

$
0
0

Hi ,

 

  I am trying to do through my application, these are some of the properties I am setting, where vdrdmi is an object of VirtualDiskRawDiskMappingVer1BackingInfo

 

          vdrdmi.setCompatibilityMode(diskUsageBO.getDiskcompatability());

            vdrdmi.setDatastore(getDataStoreMor(cb, diskUsageBO));

            vdrdmi.setFileName("");

            vdrdmi.setDeviceName("/vmfs/devices/disks/" + diskUsageBO.getLunID());

            vdrdmi.setDiskMode(VMCreateConstants.PERSISTENT);

            vdrdmi.setLunUuid(diskUsageBO.getLunID());

            disk.setBacking(vdrdmi);

 

Am I missing anything here ? . Device name and disk mode are set in this case.


Viewing all articles
Browse latest Browse all 5826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>