Hi All,
After RDM resize, below script still shows the old size but in the guest, I can see the new size capacity.
RDM is presented as Physical currently
Get-VM db1 | Get-HardDisk | where {"RawPhysical","RawVirtual" -contains $_.DiskType} | Select @{N="VM";E={$_.Parent.Name}},Name,CapacityGB,ScsiCanonicalName
Please help
Thanks
Madhusudan
Does it keep giving the old size?
Normally the datastore info is updated on an interval, did you check after a couple of minutes?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes, I tried after 1 hour, 1 days and after a week.
New size doesnt show in cli or report. But when I login to the VM, I can see
Did you restart the VM in between?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
No, We didn't restart as all the VMs are in Prod. We keep getting request for RDM expansion and it is very difficult to get the size from powercli reports as it shows old size.