VMware Cloud Community
acgt69
Contributor
Contributor

vmware-vim-cmd vmsvc/device.getdevices

Hi all

I have some host with 3.5.0 (82663), and I needed a scripted way to get lun id for the rdm type lun; so I lately discovered the vmware-vim-cmd and I wrote this

  1. vmware-vim-cmd vmsvc/device.getdevices 304

Segmentation fault (core dumped)

I know the command is correct because in test environment it works

do you have any idea ?

increase service console mem ?

thanks

Roberto.

PS: the complete pipeline I wrote to get what I need is

vmware-vim-cmd vmsvc/getallvms | egrep "\.vmx" | awk '{print

"vmware-vim-cmd vmsvc/device.getdevices " $1}' | sh | sed -n -e

'/RawDiskMappingVer1BackingInfo/,/},/p'

Tags (2)
Reply
0 Kudos
0 Replies