hi,
after a failed backup, i can't start VM and/or not delete snapshots.
The snapshot manager removes everything but I still see the files.
I have this message at (22%) powerON :
Cannot open the disk
'/vmfs/volumes/4ae1e251-66377c0f-36a4-00215ab0f30a/VMXXX / XXXX_1-000004-
.vmdk' or one of the snapshot disks it depends on. Reason: Argument list too
long.
I have no backup.
Can you tell me what to do (without losing my data)
What precautions can I take?
I have 1.6 TB of data
Regards,
Acidric
Can try this KB
Verify no snapshot & recreate new snapshot via SC "vmware-cmd" command.
vcbMC-1.0.6 Beta
vcbMC-1.0.7 Lite
thank for your help but vmware-cmd createsnapshot failed :
root@esxprep02 DATA07 PROD (SATA)# cd VMWPST/
root@esxprep02 VMWPST# ls
phd VMWPST_1-000001.vmdk VMWPST-aux.xml
vmware-10.log VMWPST_1-000002-delta.vmdk VMWPST-flat.vmdk
vmware-11.log VMWPST_1-000002.vmdk VMWPST.nvram
vmware-12.log VMWPST_1-000003-delta.vmdk VMWPST.vmdk
vmware-7.log VMWPST_1-000003.vmdk VMWPST.vmdk.SKIP
vmware-8.log VMWPST_1-000004-delta.vmdk VMWPST.vmsd
vmware-9.log VMWPST_1-000004.vmdk VMWPST.vmx
vmware.log VMWPST_1-flat.vmdk VMWPST.vmxf
VMWPST_1-000001-delta.vmdk VMWPST_1.vmdk
root@esxprep02 VMWPST# __vmware-cmd VMWPST.vmx createsnapshot "test"__
Traceback (most recent call last):
File "/usr/bin/vmware-cmd", line 88, in ?
main()
File "/usr/bin/vmware-cmd", line 63, in main
operationName, result = CommandProcessor.Process(host, args)
File "/usr/lib/vmware/vmware-cmd/CommandProcessor.py", line 11, in Process
result = operation.DoIt(processedArgs)*
TypeError: DoIt() takes exactly 7 arguments (4 given)
root@esxprep02 VMWPST#
I already tried, I have the same error
Focus on this :
root@esxprep02 VMWPST# __vmware-cmd VMWPST.vmx createsnapshot "test"__
TypeError: DoIt() takes exactly 7 arguments (4 given)
should be 7 arguments/paramenters:
/usr/bin/vmware-cmd <cfg> createsnapshot <name> <description> <quiesce> <memory>
and you only provide 4 out of 7
try this :
$vmware-cmd /vmfs/volumes/../VMWPST/VMWPST.vmx "test" testsnapshot 0 0
vcbMC-1.0.6 Beta
vcbMC-1.0.7 Lite
ok
It lacked many parameters
I can create a snapshot
I can run the command removesnaphot but the files are not deleted. I still can not start my VM.
I can not clone my VM, because I did not 1.6 TB free.
Can I make an offline shrink my 1.6 TB disk?
1) Browse into the VM datastore using an SSH session.
2) Find out the size of the vmdk that your VM is currently pointing to.
3) If the size of XXXX_1-000004-.vmdk is about 16 MB:
a) Open the descriptor file for the 000004-.vmdk and find out what Parent disk is.
NOTE: If there are multipe snapshots dont point to the BASE disk(flat.vmdk)
4) Now edit your VMX file and change the Disk entry to point to the Parent disk.
5) You should be able to Power on your VM after that.
I have progressed.
-rw-rr 1 root root 51393 Nov 5 10:24 vmware-1.log
-rw-rr 1 root root 62044 Nov 5 11:18 vmware.log
-rw------- 1 root root 43875567616 Nov 3 09:58 VMWPST_1-000001-delta.vmdk
-rw------- 1 root root 306 Nov 3 09:53 VMWPST_1-000001.vmdk
-rw------- 1 root root 213879097344 Nov 5 11:18 VMWPST_1-000002-delta.vmdk
-rw------- 1 root root 299 Nov 5 11:14 VMWPST_1-000002.vmdk
-rw------- 1 root root 1649267441664 Nov 4 22:00 VMWPST_1-flat.vmdk
-rw------- 1 root root 474 Nov 5 10:25 VMWPST_1.vmdk
-rw------- 1 root root 22548578304 Nov 5 11:18 VMWPST-flat.vmdk
-rw------- 1 root root 8684 Nov 5 11:18 VMWPST.nvram
-rw------- 1 root root 494 Nov 5 11:13 VMWPST.vmdk
-rw------- 1 root root 0 Nov 5 10:17 VMWPST.vmsd
-rwxr-xr-x 1 root root 3099 Nov 5 11:18 VMWPST.vmx
-rw------- 1 root root 261 Nov 5 11:18 VMWPST.vmxf
Now I would like the second volume (VMWPST_1 00001 00002) does one file.
I'm test a vmware-cmd removesnaphots, but it does not collect files.
Is it possible to reduce the size of my VMDK to 1.6 TB ? (there is a
free partition of 500GB inside)
It took a long time (3 days), but vmkfstools-i allowed me to get out.
Thank you for everything