VMware Cloud Community
Puzen
Enthusiast
Enthusiast
Jump to solution

Guest machine disk locates on two volumes. Can not correctly migrate it.

Guys, good afternoon. Question to the pros. In General, a couple of weeks ago, one of the hosts (5..1) in the cluster died. And one of the guest workstation didn't move.(BSS_IIS)

I created a new guest machine (w_BS_IIS), hooked up a disk to it , everything went up ,everything works.

Yesterday, I noticed, that the disk in the guest machine now rests on two volume.(VOL2 / VOL3) And I can't correctly migrate machine disk to one of them.

I didn't find anything in the logs either. I understand that the problem is in the name of the disks themselves.

I don't know how it turned out. Restore from a backup? Or how can it be solved correctly?

Thank you!

vmware_1.PNG

vmware_2.PNG

1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

First things first: look at the same problem with WinSCP.

You need to check timestamps of the flat.vmdk and timestamps of the descriptor.vmdk

Just inspecting it with the datastorebrowser does not do it.

Once you figured out if the two vmdks are valid different disks there are 2 options:

a: both disks are identical and a strange operation just dublicated them

b: disks are different and a strange operation messed up the names

If A - just delete one of them while the VM is powered off

If B - power off the VM and unregister it for a minute

use WinSCP embedded editor and rename one of them (means rename the descriptor.vmdk, rename the flat.vmdk and fix the reference to the flat.vmdk in the descriptor vmdk.

When done, edit the scsi0:*.fileName parameter in the vmx-file so that it fits the renamed file.

Save vmx-file and register the VM again.

Should do the trick and should not take more than 3 minutes of a downtime.

And important: you must realize that Datastorebrowser is not good enough to be used for troubleshooting.

The earlier you get that lesson the better !!!


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

5 Replies
scott28tt
VMware Employee
VMware Employee
Jump to solution

First point, any versions older than 6.5 are no longer supported or updated - so if you are running anything like a production workload you should consider an upgrade to at least 6.5.

To your problem, it looks like your original VM was on VOL2, you created a new VM on VOL3 but added the virtual disk from the original VM to it - right?

What do you mean by "can't correctly migrate machine disk to one of them"? What action were you trying to carry out and what errors or messages did you see when you tried?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
Puzen
Enthusiast
Enthusiast
Jump to solution

Thank you for this information and your time!

1.How I made it. I created new Guest VM and use existing virtual disk (on VOL2).

2.What I mean. I think that it is not all right, that Guest VM disk locates on 2 volumes. And I want migrate it on VOL2 (use vmotion).

But I see error.

vmware_3.PNG

vmware_4.jpg

0 Kudos
scott28tt
VMware Employee
VMware Employee
Jump to solution

Do you have another datastore you could migrate to?

As well as the log files you also have some other files (eg. vswp) leftover from your original VM in the VOL2 folder.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
continuum
Immortal
Immortal
Jump to solution

First things first: look at the same problem with WinSCP.

You need to check timestamps of the flat.vmdk and timestamps of the descriptor.vmdk

Just inspecting it with the datastorebrowser does not do it.

Once you figured out if the two vmdks are valid different disks there are 2 options:

a: both disks are identical and a strange operation just dublicated them

b: disks are different and a strange operation messed up the names

If A - just delete one of them while the VM is powered off

If B - power off the VM and unregister it for a minute

use WinSCP embedded editor and rename one of them (means rename the descriptor.vmdk, rename the flat.vmdk and fix the reference to the flat.vmdk in the descriptor vmdk.

When done, edit the scsi0:*.fileName parameter in the vmx-file so that it fits the renamed file.

Save vmx-file and register the VM again.

Should do the trick and should not take more than 3 minutes of a downtime.

And important: you must realize that Datastorebrowser is not good enough to be used for troubleshooting.

The earlier you get that lesson the better !!!


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Puzen
Enthusiast
Enthusiast
Jump to solution

Hello!

Thank you all for your help and time. I think than your suggestions were right. And now I know about this ways.

My problem guest machines were static. So, I cloned it and deleted old. Today all work!

Thank you!

0 Kudos