Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all 2039 articles
Browse latest View live

How to repair corrupt vmware disk with linux partition on it?

$
0
0

Okay I have a damaged windows disk running vmplayer and linux ubuntu12 on the VM, and amazingly my backup portable hardrive also has corruption so the only thing I can do is try repair.

 

I have looked at vmware-vdiskmanager and vmwarediskmout but it ooks like they only handle windows virtual disks? link ---> Running the VMware Virtual Disk Manager Utility

 

The main problem is that vmwareplayer will not allow the vm to run if it thinks there is a problem with the disk so I cannot access the drive at all without getting vmwareplayer to load the system.

 

So I started playing with things to see what I could do.

 

The VM had 2 virtual disks only 1 is corrupt, the disks are split as 2Gb sections on a windows system.

 

So luckily the corrupt drive was not the boot drive so I edit the VM .vmx file and change the config line to remove the corrupt virtual disk ( scsi0:1.present = "FALSE"), so now my VM boots and I can get some of my files back, but still there is a huge amount of important data on the second drive.

 

The next bit is a terrible hack but it got a little more data off the corrupt virtual disk file, I could see which 2Gb file was corrupt cause the copy had a different file mod date as it could not be correctly copied from the host windows systems disk, so I copied one of the other 2Gb .vmdk files and renamed it to the same as the corrupted file then edit the machine .vmx file back to  ( scsi0:1.present = "TRUE"), and amazingly the is now no problem booting and mounting the linux ext2 drive within the VM. I have started copying off some files but there are a few directorys that have errors filessystem superblock error (obviously dues to the image being totally incorrect) I want to go  further with trying to get as much data as possible restored,

 

What I need to know is how does vmwareplayer decide a file is corrupted and refuse to run because of it?

 

Obviously it does not do a perfect check as simply copying one of the other .vmdk files and renaming it allows the VM to boot and access the diskfiles.

 

I am wondering what the low level layout of the vmdk files is, my guess is if I either reset the timestamp date of the 2gb corruptfile, add some extra blank data to the end of the file to make it the correct size, or modify the first few bytes of the file to have a correct checksum then it will allow access to the file.

 

The corrupt file obviously should be 2Gb, and shows on the backup as 2,095,488kb the only problem I see is the tamestamp is different to all other .vmdk files.

 

Anyone have any ideas about how vmware disks can be repaired and how they are structured and error checked?


Using vdiskmanager : VMware Fusion-based VM to ESXi 5.5 host; file conversion in OS X

$
0
0

Hi All, 

 

I have a Linux-VM I am running in Fusion on OS X, but I'd like to move it over to my ESXi 5.5 host on the same network. I understand that I need to convert the .vmwarevm file I currently have into the 2 file .vmdk format for ESXi. I found the vdiskmanager application and downloaded it, but I am struggling with how to employ it. Launching the application does nothing more than show me its man page- I have the correct command (I think) and the right syntax based on the man page, but when I can't figure out how to actually employ the tool. OS X keeps telling me the command isn't recognized. Help? Thanks!

How to extract files from a virtual machine ?

$
0
0

Hello everyone,

 

I'm using Oracle VirtualBox to launch a DOS window that manages a windturbine and gives live data about it. The thing is that all the data is stored in the path C:\Log of the virtual machine, and I can't get access to them.
I've been in a lot of forums and saw that the file Sharing add-on isn't available for the DOS client, and i've been stuck in there since then.

 

If anyone could help me or give me hints on how to get those files it would really help.


I'm in an internship and I'm the only one in theses locals that is familiar with networks, so I can't get any help from my co-workers.

 

Have a nice day.

Incompatible device backing specified for device '0' + one other question

$
0
0

Hello All,

 

at the moment I am trying to add vmdk disks to my virtual machine and receive sometimes that error. Here is the sample code and I do not think that error should occur:

 

Header 1
VirtualDeviceConfigSpec[] vdiskSpecArray = new VirtualDeviceConfigSpec[1];
VirtualDeviceConfigSpec diskSpec = new VirtualDeviceConfigSpec();
vdiskSpecArray[0] = diskSpec;
diskSpec.operation = VirtualDeviceConfigSpecOperation.add;
String fileName = "[datastore2] RDM/60GBDisk.vmdk";
VirtualMachineConfigInfo vmConfigInfo = (VirtualMachineConfigInfo) vm.getConfig();
VirtualDevice[] test = vmConfigInfo.getHardware().getDevice();
Integer ckey = null;
for (int k = 0; k < test.length; k++) {
if (test[k].getDeviceInfo().getLabel().equalsIgnoreCase("SCSI Controller 0")) {
ckey = test[k].getKey();
  }
}

 

 

VirtualDisk disk = new VirtualDisk();
disk.setKey(-100);
VirtualDiskRawDiskMappingVer1BackingInfo rawBacking = new VirtualDiskRawDiskMappingVer1BackingInfo();
disk.backing = rawBacking;
rawBacking.fileName = fileName;
rawBacking.compatibilityMode = "";
rawBacking.diskMode = "independent_persistent";

 

 

VirtualDeviceConnectInfo conn= new VirtualDeviceConnectInfo();
disk.connectable = conn;
conn.startConnected = true;
conn.allowGuestControl = false;
conn.connected = true;

 

 

disk.controllerKey = ckey;
disk.unitNumber = test.length + 1;
disk.capacityInKB = 60408536;
diskSpec.setDevice(disk);

 

 

return vdiskSpecArray;

 

The second question that I have is how to get with VMWare Management API the size of the vmdk if I already now where it is located.

Creating a child disk for a remote disk and then attaching the child disk back to the remote parent disk

$
0
0

Hi,

 

I have a vmdk file on a remote server and I'm trying to create a child disk for it. VixDiskLib_CreateChild() gets a childPath parameter and treats it as a local path (i.e. even if the parent disk is on a remote server, the child will be created on the local machine). Is there a way to create the child disk using the same connection that was used to open the parent disk?

 

Now, since I wasn't able to create the child disk on the remote server, I created it locally. Then, I tried to attach it back to the parent disk in the following way:

  • Called VixDiskLib_Open() for the child disk.
  • Called VixDiskLib_Attach() with the parent disk handle and the child disk handle. This call failed because it could not open the parent disk and I got the following errors:

 

NBD_ClientOpen: attempting to create connection to /home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk@192.168.10.21:902!52 46 64 62 7b ee e6 63-a5 84 9e 05 c8 1b e7 f9

Opening file /home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk (/home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk@192.168.10.21:902!52 46 64 62 7b ee e6 63-a5 84 9e 05 c8 1b e7 f9)

Reading open reply of size 80

Checking open reply

Open failed with return status 1092642162

DISKLIB-DSCPTR: : "/home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk@192.168.10.21:902!52 46 64 62 7b ee e6 63-a5 84 9e 05 c8 1b e7 f9" : Failed to open NBD extent.

DISKLIB-LINK  : "/home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk@192.168.10.21:902!52 46 64 62 7b ee e6 63-a5 84 9e 05 c8 1b e7 f9" : failed to open (NBD_ERR_HANDSHAKE). 

DISKLIB-CHAIN :"/tmp/my_child_disk": Failed to open parent "/home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk@192.168.10.21:902!52 46 64 62 7b ee e6 63-a5 84 9e 05 c8 1b e7 f9": NBD_ERR_HANDSHAKE.

DISKLIB-CHAIN : "/home/erez/vpxa-nfc:/[Datastore2] some_dir/ubuntu-000001.vmdk@192.168.10.21:902!52 46 64 62 7b ee e6 63-a5 84 9e 05 c8 1b e7 f9" : failed to open (The parent of this virtual disk could not be opened).

DISKLIB-LIB   : Failed to open '/tmp/my_child_disk' with flags 0xa The parent of this virtual disk could not be opened (23).

 

I would appreciate any help with this issue.

 

Thanks,

Erez

Not able to write on mounted VMDK

$
0
0

Using vmware-mount, I am able t o mount vmdk but when I try ti add/remove a file it gives me error.

eg When I try to add a file:

[root@localhost mountpt]# touch test.txt

touch: cannot touch ‘test.txt’: Read-only file system

"Can't create connection." error from vmware-vdiskmanager.exe in VDDK 6.0

$
0
0

Working with ESXi 6.0 and VDDK 6.0. Getting "Can't create connection." error when trying to download disk. If I use VDDK 5.5.4 or 5.1.4 it works just fine. Any help would be appreciated.

VDDK6: "Advanced transport module not loaded."

$
0
0


Hi,


The VDDK6 running windows 2008 R2  (proxy backup server) not able to load the disklibplugin:


[VddkUtil::diskLibLog] VixDiskLib: Could not load default plugins from C:\Program Files\vddk6\bin\disklibplugin.dll: Cannot open library: The operating system cannot run %1. 


[VddkUtil::diskLibLog] VixDiskLib: Advanced transport module not loaded.


-----


Added all the path to environment variable but still the same issue.


How to resolve this issue ? Appreciate you help.


--Balu


vddk6: Linux libvmacore crash

$
0
0


Hi experts,


During the processing of the SSL thumbprint,  the libvmacore.so crashes.


strace shows that mmap fails to allocate the memory. An incorrect size of 14TB is passed to mmap.


Is anyone seeing the same issue ? Is there any way to skip the processing of thumbprint with vddk 6.


============== vddk logs


2015-04-11T00:03:06.50005:30| vthread-4| I120: 2015-04-11T00:03:06.50005:30 trivia -[7FFFF7195720] Process SSL thumbprint.

 


2015-04-11T00:03:06.50005:30| vthread-4| I120: 2015-04-11T00:03:06.50005:30 trivia -[7FFFF7195720] Get advanced transport modes.

 


2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 info -[7FFFF7195720] Vmacore::InitSSL: handshakeTimeoutUs = 20000000

 


2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 verbose -[7FFFF7195720] HttpConnectionPoolImpl created. maxPoolConnections = 20; idleTimeout = 900000000; maxOpenConnections = 20; maxConnectionAge = 0

 


2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 trivia -[7FFFF7195720] Number of connections to &lt;cs p:0000000001c2be10, TCP:15.218.114.135:443&gt; incremented to 1

 


2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 trivia -[7FFFF7195720] Found pending connection to &lt;cs p:0000000001c2be10, TCP:15.218.114.135:443&gt;

 


2015-04-11T00:03:06.50205:30| vthread-8| I120: 2015-04-11T00:03:06.50205:30 error -[7FFFE1C6C700] Unable to allocate memory

 


2015-04-11T00:03:06.51105:30| vthread-8| I120: 2015-04-11T00:03:06.50605:30 panic -[7FFFE1C6C700]

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt;

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; Panic: Unable to allocate memory

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; Backtrace:

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt;

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; product: VMware Workstation, version: e.x.p, build: build-2444548, tag: -

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[00] libvmacore.so[0x003D9C54]: Vmacore::System::Stacktrace::CaptureFullWork(unsigned int)

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[01] libvmacore.so[0x001DB267]: Vmacore::System::SystemFactoryImpl::CreateBacktrace(Vmacore::Ref&lt;Vmacore::System::Backtrace&gt;&amp;)

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[02] libvmacore.so[0x003D5757]

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[03] libvmacore.so[0x003D5911]: Vmacore::PanicExit(char const*)

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[04] libvmacore.so[0x0019FD9D]

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[05] libstdc++.so.6[0x000B7E2A]: operator new(unsigned long)

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[06] libstdc++.so.6[0x0009ACE9]: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator&lt;char&gt; const&amp;)

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[07] libstdc++.so.6[0x0009BA7B]: std::string::_Rep::_M_clone(std::allocator&lt;char&gt; const&amp;, unsigned long)

 


2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[08] libstdc++.so.6[0x0009C24C]: s

 

====================



 



Thanks.



2015-04-11T00:03:06.500+05:30| vthread-4| I130: VixDiskLib: Release sslIdDb.



2015-04-11T00:03:06.50005:30| vthread-4| I120: 2015-04-11T00:03:06.50005:30 trivia -[7FFFF7195720] Process SSL thumbprint.

2015-04-11T00:03:06.50005:30| vthread-4| I120: 2015-04-11T00:03:06.50005:30 trivia -[7FFFF7195720] Get advanced transport modes.

2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 info -[7FFFF7195720] Vmacore::InitSSL: handshakeTimeoutUs = 20000000

2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 verbose -[7FFFF7195720] HttpConnectionPoolImpl created. maxPoolConnections = 20; idleTimeout = 900000000; maxOpenConnections = 20; maxConnectionAge = 0

2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 trivia -[7FFFF7195720] Number of connections to &lt;cs p:0000000001c2be10, TCP:15.218.114.135:443&gt; incremented to 1

2015-04-11T00:03:06.50105:30| vthread-4| I120: 2015-04-11T00:03:06.50105:30 trivia -[7FFFF7195720] Found pending connection to &lt;cs p:0000000001c2be10, TCP:15.218.114.135:443&gt;

2015-04-11T00:03:06.50205:30| vthread-8| I120: 2015-04-11T00:03:06.50205:30 error -[7FFFE1C6C700] Unable to allocate memory

2015-04-11T00:03:06.51105:30| vthread-8| I120: 2015-04-11T00:03:06.50605:30 panic -[7FFFE1C6C700]

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt;

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; Panic: Unable to allocate memory

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; Backtrace:

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt;

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; product: VMware Workstation, version: e.x.p, build: build-2444548, tag: -

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[00] libvmacore.so[0x003D9C54]: Vmacore::System::Stacktrace::CaptureFullWork(unsigned int)

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[01] libvmacore.so[0x001DB267]: Vmacore::System::SystemFactoryImpl::CreateBacktrace(Vmacore::Ref&lt;Vmacore::System::Backtrace&gt;&amp;)

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[02] libvmacore.so[0x003D5757]

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[03] libvmacore.so[0x003D5911]: Vmacore::PanicExit(char const*)

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[04] libvmacore.so[0x0019FD9D]

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[05] libstdc++.so.6[0x000B7E2A]: operator new(unsigned long)

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[06] libstdc++.so.6[0x0009ACE9]: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator&lt;char&gt; const&amp;)

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[07] libstdc++.so.6[0x0009BA7B]: std::string::_Rep::_M_clone(std::allocator&lt;char&gt; const&amp;, unsigned long)

2015-04-11T00:03:06.51105:30| vthread-8| I120 --&gt; backtrace[08] libstdc++.so.6[0x0009C24C]: s

Como monitorar disco SSD Esx

$
0
0

Boa tarde,

Tenho discos SSD para cache de dados instalados em meus hosts, preciso monitorá-los para informar o tempo de vida útil,

Existe alguma ferramenta própria para isso no ambiente VM?

 

Obrigado.

Can't See FreeNass Volume After Insallend On Vmware Esxi 5.1.0

$
0
0

Hello,

i can't see the Volume On My virtual machine (FreeNassׁׁׁ V 8.3.2).

Can anyone Help me ?

VDDK 6: Open disk using SAN gets "Unknown error"

$
0
0


Hi,


The open disk fails with the "unknown error" and falls back to NBDSSL.


DISKLIB-LINK  : "san://snapshot-13256[RBDS] Win/Win.vmdk@hostname:443?administrator/XXX" : failed to open (Unknown error).  


[110] [VddkUtil::diskLibLog] DISKLIB-CHAIN : "san://snapshot-13256[RBDS] Win/Win.vmdk@hostname:443?administrator/XXX" : failed to open (Unknown error).


[110] [VddkUtil::diskLibLog] DISKLIB-LIB   : Failed to open 'san://snapshot-13256[RBDS] Win/Win.vmdk@hostname:443?administrator/XXX' with flags 0xe Unknown error (318).


 


The solution works with VDDK 5.5.3 but fails with the above error when used with VDDK 6.


1. What does the flag '0xe' mean ? 


2. "Unknown error" (318) ==> where can i find more info for this error ?


Thanks.

About VMware VM snapshot independent virtual disk

$
0
0


VMware provide independent virtual disk.I perform VM snapshot,and VM include 2 virtual disks,number 1 with default mode virtual disk,number 2 with independent persistent Mode,then we used IOmeter test IO performance and I found independent mode performance lower than without snapshot(50% decrease),why independent mode affect IO performance?


thank you.

vddk 6..0 cores on PrepereForAccess

$
0
0

Hi,

I 've been trying to use vddk 6.0 with vSphere Client v5.1.0 nad without any luck.

 

 

I constantly get a core dump on PrepareForAccess function:

 

VixDiskLib: VixDiskLib_PrepareForAccess: Disable Storage VMotion failed. Error 18000 (Cannot connect to the host) (fault (null), type GVmomiFaultInvalidResponse, reason: (none given), translated to 18000) at 3989.

 

When ssl thumbprint is not specified then it just throws incorrect parameter error.

 

Any hep is appreciated.

 

Thanks.

VDDK 6.0 on Linux

$
0
0

SO I tried to load it with libvixDiskLib.so.6.0.0 directly but now it crashes on InitEx() call.

Program received signal SIGSEGV, Segmentation fault.

__strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209

209 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.

 

The backtrace is:

#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209

#1  0x000000000057c43d in lh_insert ()

#2  0x0000000000556615 in OBJ_NAME_add ()

#3  0x00007ffff4cbad98 in SSL_library_init () from /usr/lib/vmware-vix-disklib/lib64/libssl.so.1.0.1

#4  0x00007ffff4802cba in SSL_Init () from /usr/lib/vmware-vix-disklib/lib64/libvmacore.so

#5  0x00007ffff56cfcb2 in Nfc_Init () from /usr/lib/vmware-vix-disklib/lib64/libdiskLibPlugin.so

#6  0x00007ffff56a4eee in ?? () from /usr/lib/vmware-vix-disklib/lib64/libdiskLibPlugin.so

#7  0x00007ffff5790a86 in ?? () from /usr/lib/vmware-vix-disklib/lib64/libdiskLibPlugin.so

#8  0x00000209478bfbff in ?? ()

#9  0x0000000000cf26d0 in ?? ()

#10 0x0000000000000008 in ?? ()

#11 0x00007ffff5637bd3 in _init () from /usr/lib/vmware-vix-disklib/lib64/libdiskLibPlugin.so

#12 0x0000000000000008 in ?? ()

#13 0x00007ffff7dea0fd in call_init (l=0x7ffff5a161c8, argc=-258416, argc@entry=8, argv=argv@entry=0x7fffffffe508, env=env@entry=0x7fffffffe550) at dl-init.c:64

#14 0x00007ffff7dea223 in call_init (env=<optimised out>, argv=<optimised out>, argc=<optimised out>, l=<optimised out>) at dl-init.c:36

#15 _dl_init (main_map=main_map@entry=0xcf26d0, argc=8, argv=0x7fffffffe508, env=0x7fffffffe550) at dl-init.c:126

#16 0x00007ffff7deec6e in dl_open_worker (a=a@entry=0x7ffffffc1188) at dl-open.c:577

#17 0x00007ffff7de9ff4 in _dl_catch_error (objname=objname@entry=0x7ffffffc1178, errstring=errstring@entry=0x7ffffffc1180, mallocedp=mallocedp@entry=0x7ffffffc1170,

    operate=operate@entry=0x7ffff7dee990 <dl_open_worker>, args=args@entry=0x7ffffffc1188) at dl-error.c:187

#18 0x00007ffff7dee3ab in _dl_open (file=0xcf2650 "/usr/lib/vmware-vix-disklib/lib64/libdiskLibPlugin.so", mode=-2147483391, caller_dlopen=<optimised out>, nsid=-2, argc=8, argv=0x7fffffffe508,

    env=0x7fffffffe550) at dl-open.c:661

#19 0x00007ffff7bd702b in dlopen_doit (a=a@entry=0x7ffffffc13a0) at dlopen.c:66

#20 0x00007ffff7de9ff4 in _dl_catch_error (objname=0xcccd70, errstring=0xcccd78, mallocedp=0xcccd68, operate=0x7ffff7bd6fd0 <dlopen_doit>, args=0x7ffffffc13a0) at dl-error.c:187

#21 0x00007ffff7bd762d in _dlerror_run (operate=operate@entry=0x7ffff7bd6fd0 <dlopen_doit>, args=args@entry=0x7ffffffc13a0) at dlerror.c:163

#22 0x00007ffff7bd70c1 in __dlopen (file=<optimised out>, mode=<optimised out>) at dlopen.c:87

#23 0x00007ffff62df37c in ?? () from /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so

#24 0x00007ffff62d2be1 in ?? () from /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so

#25 0x00007ffff62d37b6 in VixDiskLib_InitEx () from /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so

Can you people please explain me what is going on ? Maybe I am linking to the wrong SSL libraries ?

 

Thanks,

ARSen.


VDDK6 installation

$
0
0


VDDK6 doesn't come with an install script. I'm wondering how to install it properly. I did the best I could but after installing it, I couldn't even run the sample program


# ./vix-disklib-sample -info -host esx.blah.com -user root -password vmware "[raid] ub6/ub6_1.vmdk"


VixDiskLib: Invalid configuration file parameter. Failed to read configuration file.


Error: vixDiskLibSample.cpp:823 3 One of the parameters was invalid

 


I assume that this sample program is good so either the installation or my invocation of the sample is wrong. 


The same invocation works for VDDK5.5.

root@cent7buildv6 diskLib]# ./vix-disklib-sample -info -host maytag.zmanda.com -user root -password vmware "[maytag-raid] ub6/ub6_1.vmdk"



VixDiskLib: Invalid configuration file parameter. Failed to read configuration file.



Error: vixDiskLibSample.cpp:823 3 One of the parameters was invalid

VDDK 6.0 and standalone ESXi host with self-signed or CA-signed SSL certs

$
0
0


Per VDDK 6.0 release notes "SSL certificate verification is now mandatory".

 


Can anyone provide any insight as to the steps required to get a standalone ESXi host to work with VDDK 6.0?

 


I have tried regenerating a self-signed certificate on the ESXi host (as the cert created at install is for localhost.localdomain) and still VDDK 6.0 does not work with this host.

VixDiskLib_PrepareForAccess is not disable vMotion for powered-on VM

$
0
0

Our application successfully invokes function VixDiskLib_PrepareForAccess() the operation result is VIX_OK.
The resulting effect is different based on the state of the virtual machine.
For powered-on virtual machine the context menu option "Migrate..." is still available and migration to another host can be started.
For powered-off virtual machine the option "Migrate ..." is blocked and migration can not be started.

Could someone please explain the behavior of the API?
How to disable vMotion for the powered-on virtual machine?

I would appreciate to any information related to this topic.
We use VDDK 6.0, vCenter Server 6.0

VDDK 5.5 missing vmware-mount.exe

$
0
0

With the release of VDDK 5.5 the command line utility vmware-mount.exe has been removed. The release notes for VDDK 5.5 also note that vmware-vdiskmanager.exe is not included either (although it is included).

 

Does anyone know what the future of vmware-mount.exe is? We use this tool frequently and hate to see it go.

 

Can anyone suggest a replacement command line utility that can be used in place of vmware-mount.exe?

 

Can we also expect vmware-vdiskmanager.exe to be missing in the next release of VDDK?

 

Thanks in advance.

Open multiple disks with SAN transport

$
0
0

 

Hi,

 

 

I am trying to open multiple disk belonging to same VM with advanced transport at the same time and the first disk opens just fine but all disks after would fail to open with san transport.

 

 

The error I am getting:

 

 

Cannot use advanced transport modes for 192.168.2.50/moref=1568//vmfs/volumes/4a58d473-f30ebdb8-cda9-000e0cc65ae8/WI

N2K0001/WIN2K0001.vmx-snapshot-161: Cannot create directory c:\temp\564dc525-fdc7-c9d2-52b9-a6fc4dd9c311-1568.

 

 

It looks like when I open first disk vixDiskLib creates temp directory and then all other disks would fail to open with san trasport producing this error. If I open one disk at a time and close it then all of them are fine.

 

 

But I need to open multiple disks so I can provide disk handles to  VixMntapi_OpenDiskSet function.

 

 

 

 

 

Thanks,

 

 

 

 

 

Vladimir

 

 

 

 

 

 

 

 

Viewing all 2039 articles
Browse latest View live


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