mount vhdx file

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Anatolii
Posts: 6
Joined: Tue Apr 16, 2024 2:22 pm

Tue Apr 16, 2024 3:00 pm

Hi
My SSD drive (have 1 parition 2TB size) started behaving strangely (reading speed was very slow in some places), so I decided to make a copy of it, and then play this copy on another drive.
I run V2V Converter -> P2V -> Disk Volume -> select volume D: (1.8TB size) -> Local file -> VHD/VHDX -> VHDX growable image - set destination file name E:\SSD_2TB.vhdx and click convert.
As result, I have file (size 1.15TB) stored on drive E:\.
When I connect this file on Windows Disk Management, I can't see my files. Only 4 partition of inexplicable size without letters, 2 of which are not marked at all.
file.JPG
file.JPG (22.21 KiB) Viewed 1663 times
In 7-zip I can open this vhdx file and can see my folders and files. But when I extract to new drive folders and files, timestamp not correct.
I understand that if I was making a copy of a physical disk and not a partition, then this would not happen. Unfortunately, I no longer have the disk from which I made this copy, so I cannot make it again.
Maybe there is some solution, how can I restore all the data from this virtual partition to a new disk?

Thank you in advance
Last edited by Anatolii on Tue Apr 16, 2024 4:06 pm, edited 1 time in total.
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Tue Apr 16, 2024 3:39 pm

Welcome to StarWind Forum!
How many partitions do you have on the source disk?
Anatolii
Posts: 6
Joined: Tue Apr 16, 2024 2:22 pm

Tue Apr 16, 2024 4:00 pm

Only one partition (I wrote about it above).
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Fri Apr 19, 2024 6:41 pm

Anatolii,

Sorry for the delay. Can I please have the conversion logs to look into the issue in detail (you can see it here C:\Program Files\StarWind Software\StarWind V2V Converter\logs)?
Anatolii
Posts: 6
Joined: Tue Apr 16, 2024 2:22 pm

Mon Apr 22, 2024 3:41 am

Yaroslav,
I see several files there that have the name of the resulting file (E:\ssd_D_2TB.vhdx), but I'm not sure what it is.

I tried to convert my vhdx file to vhd, to vmdk file and try open this file in VM (virtualbox, vmware workstation). But in these VMs, the disk also looked divided into 4 partitions and without data.
But I still managed to mount this volume and copy the data to the new SSD drive with save datastamp. I used the utility OSFMount, and at the end I indicated that I was mounting a Logical Drive Emulation, not a Phisical Disk Emulation.

I also decided to simulate my situation again. I created a 2TB virtual disk (vhdx) using Windows tools. I created a partition on it that takes up all the space, format this disk and assign letter X:. I created several empty folders on the disk.
Then did all the things I did with the real disk V2V Converter -> P2V -> Disk Volume -> select volume X: (1.8TB size) -> Local file -> VHD/VHDX -> VHDX growable image - set destination file name D:\test_2TB.vhdx and click convert.
As a result, I have the same problem. I can't mount the newly created file, or rather it mounts, but again it shows 4 partitions with no data.
You can try to do it yourself on your own computer.
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 22, 2024 4:12 am

Anatolii,

I need conversion logs from your system to file a request with R&D.
Could you share those please?
Anatolii
Posts: 6
Joined: Tue Apr 16, 2024 2:22 pm

Mon Apr 22, 2024 10:05 am

Yaroslav,

Please look log file
V2V_Log-20240422-125156.zip
(923 Bytes) Downloaded 37 times
.
I now again simulate my situation.
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 22, 2024 1:22 pm

Anatolii,

Thanks for the logs. I noticed that you are using the previous version. There was a new one released recently.
Could you please try it?
Anatolii
Posts: 6
Joined: Tue Apr 16, 2024 2:22 pm

Tue Apr 23, 2024 8:58 am

Yaroslav,

Have same problem.
pic.JPG
pic.JPG (63 KiB) Viewed 1484 times
1. Internal SSD with OS.
2. Created new virtual vhdx disk size 2TB.
3. Connected result vhdx file after convertion volume D: (2) to vhdx file.
New log file:
V2V_Log-20240423-114034.log.zip
(1013 Bytes) Downloaded 40 times
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Tue Apr 23, 2024 12:56 pm

Anatolii,

Thanks for reporting. Will ask my colleagues to have a look. In a meantime could you clone the contents to a healthy drive or back it up?
Anatolii
Posts: 6
Joined: Tue Apr 16, 2024 2:22 pm

Tue Apr 23, 2024 5:48 pm

Yaroslav,

I already writeln above: I convert my vhdx file to vmdk file using V2V Converter. Using OSFMount utility I mount vmdk file as a Logical Drive Emulation, not a Phisical Disk Emulation (letter for volume assigned automatic).
After I copy my all data to new disk with saving timestamp (using Far Manager).
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Tue Apr 23, 2024 7:52 pm

Anatolii,

Thanks for your update. I just wanted to avoid any incident until we are looking into this incident. Thanks for your cooperation.
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Thu May 23, 2024 10:11 pm

Anatolii,

Sorry for the delay.
I also decided to simulate my situation again. I created a 2TB virtual disk (vhdx) using Windows tools. I created a partition on it that takes up all the space, format this disk and assign letter X:. I created several empty folders on the disk.
Then did all the things I did with the real disk V2V Converter -> P2V -> Disk Volume -> select volume X: (1.8TB size) -> Local file -> VHD/VHDX -> VHDX growable image - set destination file name D:\test_2TB.vhdx and click convert.
There is a problem with this part. V2V converter does not allow P2V conversions of VHDX connected locally. My colleague has logged an improvement for a check during P2V conversions for VHDX (those are to be converted only as local devices).
As for the original request, I will need to clarify this with my team.
yaroslav (staff)
Staff
Posts: 2472
Joined: Mon Nov 18, 2019 11:11 am

Tue May 28, 2024 11:25 am

My colleagues managed to p2v the disk (single partition) to a dynamic disk without any issues with partitions or data inconsistency.
Could you please let me know if there is any way to hook up that disk and try p2v over again?
BD9999
Posts: 5
Joined: Mon Jun 10, 2024 12:39 am

Mon Jun 10, 2024 12:46 am

I see these questions asked all over the internet, regarding HyperV and some other virtual systems. You convert to vhd or vhdx and try to load into HyperV and your machine won't boot into the operating system (because all these converter tools, apparently, give the Win hidden/system partition a drive letter C: and your original partition is now assigned to D:, so it won't boot).
I don't have a solution (neither, it appears, does anyone else). Did you find a work around, hack, or anything? I've been trying to move every VirtualBox VM into HyperV and this problem arises for every Win OS I've tried (Win7, 2008, Win8x, 2012[R2]). I hadn't tried Win10 or 11 yet, but this is a HUGE problem and I blame Oracle for it!
Post Reply