neo0922_
Contributor
Contributor

vddk connect problem

My vddk version is 6.5.2, and the client is vsphere 6.5.

The client vm info:

Name       :  ceph03

Template   :  False

Path       :  [ds_esos] ceph03/ceph03.vmx

Guest      :  CentOS 7 (64-bit)

Instance UUID :  525cc799-4258-e3ed-1eef-9594ae45b907

Bios UUID     :  564d185d-6c8d-d961-e57e-36a51bc21ae2

State      :  poweredOn

VMware-tools:  toolsOk

IP         :  10.0.10.41

I run the command like this:

./vix-disklib-sample -info -host 10.0.10.150 -user root -password dp123@eCloud -mode nbdssl -vm "moref=ceph03" -ssmoref="sanp01" -thumb "5C:89:85:52:48:A7:A1:73:3A:C1:24:A7:75:92:0C:FF:49:FC:93:C1" -libdir "/work/lib64" "[ds_esos] ceph03/ceph03-000001-ctk.vmdk"

The result is:

Error: [vixDiskLibSample.cpp:673]  1 Unknown error

The code line 673 is :

VixError vixError = VixDiskLib_Open(connection, path, flags, &_handle);

So, did I input the wrong option or something else.Help!!

0 Kudos
3 Replies
neo0922_
Contributor
Contributor

anyone?

0 Kudos
neo0922_
Contributor
Contributor

I use powercli to get the correct vm-moref.

But i still don't know whether the ssmoref value is correct.

0 Kudos
P_C
Contributor
Contributor

Steps to get correct ssmoref asfollow :

To find the ssmoref, log in to the managed object browser for the vCenter Server, and click content > rootFolder > Datacenter > datastore > vm > snapshot

Reference: Page no. 60 : https://vdc-download.vmware.com/vmwb-repository/dcr-public/8f96698a-0e7b-4d67-bb6c-d18a1d101540/ef53...

0 Kudos