VMware Cloud Community
vlrk
Contributor
Contributor

reverting the compressed vmdk

Hi

I am doing a task of creating the ova from disk .

In that process converting the vmdk file to compressed one using the below command.

vmware-vdiskmanager -r test.vmdk -t 5 test-disk1.vmdk

Now i want to revert to the test1-disk1.vmdk  back to test.vmdk  .

Which tool can be help full for me here? . tools i mean  qemu-img with "convert" option or "vmware-vdiskmanager " ?.

thanks

RK

Reply
0 Kudos
3 Replies
a_p_
Leadership
Leadership

You can simply use vmware-vdiskmanager again, and specify the required target format with the "-t" option.

André

Reply
0 Kudos
vlrk
Contributor
Contributor

Thanks for confirming .

One query is ,how can we know the original format ?.

In this case "vmware-vdiskmanager -r test.vmdk -t 5 test-disk1.vmdk" , how can we know test.vmdk format so that that i can revert.

Thanks

RK

Reply
0 Kudos
a_p_
Leadership
Leadership

There's of course no way to find out the original format unless it's documented somewhere.

However, the point is that you convert the virtual disk to a format, that is supported for the VMware product that you are using.

In case of e.g. VMware Workstation this will usually be either the monolithic growable ("-t 0"), or the split growable ("-t 1") format.


André

Reply
0 Kudos