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

Cleanup function did not remove the HotAdd disks also in VDDK 5.5.3

$
0
0

Hi All,

 

I'm doing Hot-add opens with VDDK 5.5.0.,The Hot-add and Hot-remove is working fine in normal scenarios.,

 

 

But while my process gets killed while a disk is Hot-added.,Then if i call the VixDiskLib_Cleanup() after starting the process again the Hot-remove for that disk is not happening.

 

 

And it is reported as known issue in VDDK 5.5.0.,So i have used 5.5.3 and 5.5.2 still i'm facing the same issue

 

 

How can i remove the Hot-added disks while starting the process after a crash?

 

 

Note: This is a known issue in VDDK 5.5 and it has been in list of recently resolved in VDDK 5.5.3 release notes.

 

 

Any help on this is very much appreciated.

 

 

Thanks

 

Manickam


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?

how to read on windows7 pc 5 disk VMware ESXi4 in raid

$
0
0

Hi,

 

 

I have broken my SAN system that contains 5 disk raid type that i doesn't know. The machine have ESXi4 , i took my disk from the rack and connected them with SATA on my pcs running Windows 7.

But i can't read them, windows see them but it ask to format -.-

The vm are Windows Server 2008 and Windows Server 2003 SO

1) There is a software that i can use to read the content and extract the VM file format?

2) How can mount my VMs on my PC after extraction?

 

If you need others information ask me please..

 

thank in advice!

 

Roby

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.

WHQL (Windows Hardware Quality Labs) certified driver - vstor2-mntapi10-shared.sys

$
0
0

Hi.

 

Thank you for the vstor2-mntapi10-shared.sys v4.0.1.79.

 

When installing the device drivers on Windows 8.1 x64, our application fails the Microsoft Windows application certification test because of the following error message:

 

Digitally signed file test

 

 

FAILED

    Install signed driver and executable files

All unsigned files of the following extensions: EXEs, DLLs, SYS, DRV, OCX, SCR, and CPL will be reported.

 

 

    Error Found: The file, driver signing test detected the following errors:

        The driver C:\Program Files (x86)\MyCompany\MyApplication\vmware\vstor2\vstor2-mntapi10-shared.sys does not have a valid WHQL signature for the current version of the OS.

 

    If any of the above files are DLLs, OCX, SCR, CPL or EXEs that are not one of the application’s main executables (has a shortcut on start menu or desktop), they can safely be ignored. All others need to be signed to meet the Windows App Certification requirements.

    Impact if not fixed: Having digitally signed files allows users to know that software is genuine. It makes it possible to detect that a file has been tampered with, such as by a virus. Windows has the ability to prevent any unsigned app from launching with administrator access. Sign the app if you want it to operate correctly in locked-down environments without popup or UAC messages.

    How to fix: You can safely ignore the unsigned DLL, .OCX, .SCR, .CPL or .EXE files listed here that are not one of the app’s main executable, or a driver. All files except drivers must be Authenticode signed, drivers must be WHQL certified. See link below for more information:

    Digital Signatures for Kernel Modules on Windows

 

Any ideas?

 

Thank you.

vixDiskLibSample program dumps core at VixDiskLib_Open call (line 607)

$
0
0


I'm trying to connect to ESX server (5.2) using vixDiskLibSample program provided with visDiskLib (v5.2) running on RHEL 6.2 x64 VirtualMachine. Program runs fine until connection is created, but dumps core while executing VixDiskLib_Open call at line 607


Any idea whats going wrong here ....


-----


Breakpoint 1, VixDisk::VixDisk (this=0x7fffffffdeb0, connection=0x651730, path=0x7fffffffe459 "[datastore2]travapp1/travapp1.vmdk", flags=4)
    at vixDiskLibSample.cpp:606
606           _handle = NULL;
(gdb) list
601    public:
602    
603        VixDiskLibHandle Handle() { return _handle; }
604        VixDisk(VixDiskLibConnection connection, char *path, uint32 flags)
605        {
606           _handle = NULL;
607           VixError vixError = VixDiskLib_Open(connection, path, flags, &_handle);
608           CHECK_AND_THROW(vixError);
609           printf("Disk \"%s\" is open using transport mode \"%s\".\n",
610                  path, VixDiskLib_GetTransportMode(_handle));
(gdb) n
607           VixError vixError = VixDiskLib_Open(connection, path, flags, &_handle);
(gdb) p connection
$1 = (VixDiskLibConnection) 0x651730
(gdb) p path
$2 = 0x7fffffffe459 "[datastore2]travapp1/travapp1.vmdk"
(gdb) p flags
$3 = 4
(gdb) p appGlobals
$4 = {command = 8, adapterType = VIXDISKLIB_ADAPTER_SCSI_BUSLOGIC, transportModes = 0x0,
  diskPath = 0x7fffffffe459 "[datastore2]travapp1/travapp1.vmdk", parentPath = 0x0, metaKey = 0x0, metaVal = 0x0, filler = 255, mbSize = 100,
  numSectors = 1, startSector = 0, bufSize = 0, openFlags = 4, numThreads = 1, success = 1 '\001', isRemote = 1 '\001',
  host = 0x7fffffffe42f "10.xx.xx.xx", userName = 0x7fffffffe441 "root", password = 0x7fffffffe450 "xxxxxx", thumbPrint = 0x0, port = 902,
  srcPath = 0x0, connection = 0x651730, vmxSpec = 0x0, useInitEx = false, cfgFile = 0x0, libdir = 0x0, ssMoRef = 0x0}
(gdb) n


Program received signal SIGSEGV, Segmentation fault.
0x0000003129c7f9c1 in __strlen_sse2 () from /lib64/libc.so.6
(gdb)


 


"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.

VDDK 6.0 and default ESXi self-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.

"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.

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

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.

vixDiskLibSample 6.0 program dumps core at VixDiskLib_Open call (line 642)

$
0
0

Hello,

 

I'm trying to connect to ESX server (6.0) using vixDiskLibSample program provided with vixDiskLib (v6.0) running

on RHEL 6 update to date x64. Program runs fine until connection is created, but dumps core while executing

VixDiskLib_Open call at line 642.

 

./vix-disklib-sample -info -user root -password XXXX -host h3.lan -initex /dev/null -thumb "21:73:98:D4:89:A3:9D:16:B3:D7:02:80:3D:BA:36:2A:98:5B:DB:05" "[datastore1] rhel6/rhel6.vmdk"

Log: OBJLIB-LIB: Objlib initialized.

Log: VixDiskLib: Advanced transport module not loaded.

Log: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd.

Log: VMware VixDiskLib (6.0) Release build-2498720

Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

Log: VixDiskLib: VixDiskLib_Connect: Establish connection.

Log: VixDiskLib: Resolve host.

Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.

Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [datastore1] rhel6/rhel6.vmdk.

 

Program received signal SIGSEGV, Segmentation fault.

0x00007ffff590626d in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

(gdb) backtrace

#0  0x00007ffff590626d in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

#1  0x00007ffff58ffe7d in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

#2  0x00007ffff5903409 in VixDiskLibVim_GetNfcTicket () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLibVim.so

#3  0x00007ffff77d87c3 in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLib.so.6

#4  0x00007ffff77d8f3c in ?? () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLib.so.6

#5  0x00007ffff77d9082 in VixDiskLib_Open () from /usr/local/lib/vmware-vix-disklib-6.0/lib64/libvixDiskLib.so.6

#6  0x0000000000405b72 in VixDisk::VixDisk (this=0x7fffffffdf30, connection=0x89b200, path=0x7fffffffe637 "[datastore1] rhel6/rhel6.vmdk", flags=4) at vixDiskLibSample.cpp:642

#7  0x000000000040391b in DoInfo () at vixDiskLibSample.cpp:1154

#8  0x0000000000402791 in main (argc=13, argv=0x7fffffffe128) at vixDiskLibSample.cpp:825

 

 

 

I saw a similar issue with vixDiskLib 5.2 in the forum, but here, It works fine with a previous 5.5 version.

 

./vix-disklib-sample -info -user root -password XXXX -host h3.lan -initex /dev/null -thumb "21:73:98:D4:89:A3:9D:16:B3:D7:02:80:3D:BA:36:2A:98:5B:DB:05" "[datastore1] rhel6/rhel6.vmdk"

Log: OBJLIB-LIB: Objlib initialized.

Log: VixDiskLib: Advanced transport module not loaded.

Log: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd.

Log: VMware VixDiskLib (5.5) Release build-1601882

Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

Log: VixDiskLib: VixDiskLib_Connect: Establish connection.

Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.

Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [datastore1] rhel6/rhel6.vmdk.

Log: VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

Log: NBD_ClientOpen: attempting to create connection to ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902

Log: Opening file [datastore1] rhel6/rhel6.vmdk (ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902)

Log: DISKLIB-LINK  : Opened 'ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902' (0x1e): custom, 20971520 sectors / 10 GB.

Log: DISKLIB-LIB   : Opened "ha-nfc://[datastore1] rhel6/rhel6.vmdk@192.168.0.102:902" (flags 0x1e, type custom).

Log: VixDiskLib: VixDiskLib_GetTransportMode: Retrieve transport mode.

Disk "[datastore1] rhel6/rhel6.vmdk" is open using transport mode "nbd".

Log: VixDiskLib: VixDiskLib_GetInfo: Retrieve disk info.

capacity          = 20971520 sectors

number of links   = 1

adapter type      = LsiLogic SCSI

BIOS geometry     = 0/0/0

physical geometry = 1305/255/63

Log: VixDiskLib: VixDiskLib_FreeInfo: Clean up VixDiskLib.

Transport modes supported by vixDiskLib: file:nbdssl:nbd

Log: VixDiskLib: VixDiskLib_Close: Close disk.

Log: VixDiskLib: VixDiskLib_Disconnect: Disconnect.

Log: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1.

Log: VixDiskLibVim: VixDiskLibVim_Exit: Clean up.

 

I looked the strace output and I didn't see a problem to find libraries such as libssl. Any idea to solve this issue?

 

Thanks

Viewing all 2039 articles
Browse latest View live


Latest Images

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