Here are a few simple steps that should help resolve the issue where vmware can’t open a drive with an invalid argument.
Speed up your PC in minutes
After an extremely long period of operation, the ESXi 6.0 host has crashed, possibly due to a product/overheating issue or a power issue.I
After a restart, however, some virtual machines reappeared. – Except one.
Could not open drive ‘/vmfs/volumes/56072c60-522f7803-c17d-6805ca3baf74/jupiter/jupiter.vmdk’ or possibly even one of the disk snapshots the site depends on.
22 (invalid argument)
I’ve read a lot of articles and discussions and had similar problems, but not the same:
In my case, I don’t get .lck files in the VM directory or other data stores, especially where the VM virtual disks are located.
The virtual disk is quite large, 6 TB, the virtual machine was a file server, and such a virtual disk was a data partition.
I have disabled the virtual disk type from the virtual machine and closed it with a different one.
But that doesn’t work either, so I connected it to the original new one.
[[email protected]:/vmfs/volumes/56072c60-522f7803-c17d-6805ca3baf74/jupiter] ls 6442451976
total 1 root root 560 May 7 13:12 .
drwxr-xr-t 9 root root 1.6K 27 Sep 2015
-rw——- 1 root root root 6.0T Jul 08 11:34 jupiter-flat.vmdk
-rw——- 1 root root root 501 May 7 13:12 jupiter.vmdk
[[email protected]:/vmfs/volumes/56072c60-522f7803-c17d-6805ca3baf74/jupiter] vmkfstools –fix check jupiter.vmdk
Hard drive healthy
I decide to upgrade to the latest version of ESXi, often 6.5.
The style of the error is slightly different in the web client. He says:
Activate this online calculator
Error – OpenFile[file] implementation error on a specific file system
I’m very upset to see someone having this problem after only 24 hours.
This is a website with the latest very few custom VMs and . Just download the completely free version of ESXi. In this case, no usually means VMware support.
loadingÃ—Sorry to interrupt youUpdate
I’m using ESXi 6.7 U3. I had to do a hard shutdown yesterday and after backing up the VM won’t turn on even though I plugged in the hard drive as well. This drive is associated with an LSI MegaRAID controller which was having problems (on the other hand, not really sure if the controller itself is esxi). Here is the error when I try to enable it:
Some snapshots are not associated with this VM.I’ve looked at two or more articles about rebuilding the descriptor list, but an attempt to do so is actually documented here.
This is indeed a 29TB hard drive. I also ran vmfkstools -e and got:
Error starting to map disk /vmfs/volumes/5a5ea6ed-fd776af1-cc17-0015174b6756/Eros/Eros_Data.vmdk Argument: Invalid (1441801) Label incompatible: Invalid argument (1441801)
I don’t really know what to do if I’m guessing something. Thank you.
Some useful options vmkfstools ‘hidden#039; | VMware vSphere Blog – VMware Blogs
Capacity 6000874618880 (5722880 file blocks 2 . 1048576), available 3316831485952 (3163177 blocks), potential file size 0
Capacity 6000874618880 (5722880 blocks of content*1048576), available 3316831485952 (3163177 blocks), maximum file size 0
] ls -ltr
ls : ./
.vmx: No such file or directory
52833280 in total
-rw-r--r-- Root 1 Root 0 Oct 4, 2015 < vm name>.vmsd
-rw-r--r-- 1 root root 179092 Oct 9 Vmware-1 2015.log
-rw-r --r-- Root 1 root 177929 Oct 14, 2015 vmware-2.log
-rw-r--r-- 1 root root 409599604 Nov 24 07:26vmware-3.log
- rw-- ----- 1 root root root 524 24 Nov 09:55 Name>
- rw---- - - 1 root root 53687091200 February 12 52 17
RW ----- -- 8684 March 28 4:42
.nvram < /p>
-rw-r-- r-- single root root 270087 Mar 30 04:42 vmware.log
[[email protected] < VM hexdump -C '
- flat.| vmdk'less
] hexdump -C ' -flat.vmdk'
-flat.vmdk: Invalid argument
] which is a hex dump
] mark vii -ltr ' - flat .vmdk'
-rw------- 1 root root 53687091200 17 Feb 12:52< p>[root @esxi6prim:/ vmfs /volumes/557dc2e2-2c11eba8-1494-00259066ac58/
-flat .vmdk ] cp ' -flat.vmdk' ../.< /p>
cp: should not open '< VM name> - flat .vmdk': invalid main argument
I’m lost. I did a good backup copying the site and found that the backup is missing this flat file
The hyphen indicates the content of an operation that failed during the system link to “Open”, returning an EINVAL error, which is an invalid argument.
] strace cp name>-flat '
execve("/bin/cp", ["cp", "
-fl"..., "../."], 18 [ / *vars*/])=0
[Process PID=202994 is running in 32-bit mode. equals ]
brk(0) 0x1f000000 0x1f000000uname(sys="VMkernel", node="esxi6prim", ...) = 0
access( "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file directory alias)
open("/etc/ld.so.cache", O_RDONLY) = -1 ( No unrecognized file or directory)
open("/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such data or 0xffb11728) Directory)
stat64("/lib/tls", = -1 ENOENT (No such file or directory)
open( "/lib/libm.so.6", O_RDONLY) = 3
< p>read(3, "177ELF111 3 03 1 2004 004 "..., 512) matches 512Easily fix your computer problems with our software download.