- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cloning failed: one of the parameters supplied is invalid
It's a Workstation 14 Pro, and the issue happens only with this virtual machine (or, better, with this virtual disk, see later).
I tried to clone other VMs, and it works.
The VM itself works. It starts, it shuts down etc. vmdk is single file, not preallocated. "Defrag" and "Compact" return no error.
But when I try to clone it I get this error. Both from specified snapshot and current state. In the end, I tried to delete all snapshot and now I have none of them, only current state. I got no error during snapshot deletion / consolidation phase.
I'm trying a full clone.
I also tried to delete VM, create another and mount the same disk: it fails again to clone, so it seems that the issue is inside vmdk and not in VM config.
vmware.log is untouched at the time of cloning attempt, and inside ui-log in /tmp/ I find these lines:
2023-05-28T14:29:08.581+02:00| vthread-12| I125: VTHREAD initialize thread 12 "vthread-12" tid 19613
2023-05-28T14:29:08.585+02:00| vthread-12| I125: DISKLIB-DSCPTR: Opened [0]: "Ravenna-orig.vmdk" (0xe)
2023-05-28T14:29:08.585+02:00| vthread-12| I125: DISKLIB-LINK : Opened '/mnt/sata2/WinXP-RA/Ravenna-orig.vmdk' (0xe): monolithicSparse, 117247536 sectors / 55,9 GB.
2023-05-28T14:29:08.585+02:00| vthread-12| I125: DISKLIB-LIB : Opened "/mnt/sata2/WinXP-RA/Ravenna-orig.vmdk" (flags 0xe, type monolithicSparse).
2023-05-28T14:29:08.615+02:00| vthread-12| I125: SNAPSHOT: SnapshotClone: Failed to set the mode for the new config file: 2
2023-05-28T14:29:08.615+02:00| vthread-12| I125: SNAPSHOT: SnapshotConfigInfoOpenVmsd: Creating new snapshot dictionary, '/home/valerio/vmware_machines/Clone of WinXP-RA/Clone of WinXP-RA.vmsd'.
2023-05-28T14:29:08.616+02:00| vthread-12| I125: DISKLIB-DSCPTR: Opened [0]: "Ravenna-orig.vmdk" (0xe)
2023-05-28T14:29:08.616+02:00| vthread-12| I125: DISKLIB-LINK : Opened '/mnt/sata2/WinXP-RA/Ravenna-orig.vmdk' (0xe): monolithicSparse, 117247536 sectors / 55,9 GB.
2023-05-28T14:29:08.616+02:00| vthread-12| I125: DISKLIB-LIB : Opened "/mnt/sata2/WinXP-RA/Ravenna-orig.vmdk" (flags 0xe, type monolithicSparse).
2023-05-28T14:29:08.616+02:00| vthread-12| I125: DISKLIB-LIB_CLONE : Couldn't get adapter type of src disk while creating clone param : One of the parameters supplied is invalid (1).
2023-05-28T14:29:08.616+02:00| vthread-12| I125: SNAPSHOT: SnapshotCloneDisk: Failed to get createParam for '/home/valerio/vmware_machines/Clone of WinXP-RA/Ravenna-orig-cl1.vmdk': One of the parameters supplied is invalid (1).SNAPSHOT: SnapshotCloneDisk failed: One of the parameters supplied is invalid.
2023-05-28T14:29:08.616+02:00| vthread-12| I125: SNAPSHOT: SnapshotCloneDisks failed: One of the parameters supplied is invalid (5)
2023-05-28T14:29:08.616+02:00| vthread-12| I125: SNAPSHOT: SnapshotClone failed: One of the parameters supplied is invalid (5)
2023-05-28T14:29:08.616+02:00| vthread-12| I125: SNAPSHOT: Snapshot_CloneWithFlags failed: One of the parameters supplied is invalid (5)
2023-05-28T14:29:08.616+02:00| vthread-12| I125: Vix: [19613 hostAgentStuff.c:347]: Error VIX_E_FAIL in VixVM_CloneObsolete(): Unknown error
2023-05-28T14:29:08.616+02:00| vthread-12| I125: Cmd /vm/#e389d50c39d7a6fb/cmd/##410/op/snapshotClone/ failed: Cloning failed:
2023-05-28T14:29:08.616+02:00| vthread-12| I125+ One of the parameters supplied is invalid
2023-05-28T14:29:08.616+02:00| vthread-12| I125: