VMware Global Community
Bryaaaan
Contributor
Contributor

Vmware - Recriando Cabeçalho Flat para Vmdk não sobe a Maquina Virtual

Tive um problema ao subir minha maquina virtual, tive que refazer o cabeçalho da mesma, porém ao subir diz que o disco não é uma  maquina .

Não entendi o por que.

Alguém poderia me ajudar nessa situação?

 

 

Reply
0 Kudos
13 Replies
scott28tt
VMware Employee
VMware Employee

Moderador: Movido para Discussões em Português do Brasil


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

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
diegodco31
Leadership
Leadership

Voce poderia enviar o procedimento que vc usou para recriar o cabeçalho. Envia tambem um print do erro.

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
Reply
0 Kudos
Bryaaaan
Contributor
Contributor

IMG_20201120_003448.jpg

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

Additional Task Details:

  Host Build: 2494585

Error Type: GenericVmConfigFault

Task Id: Task

Cancelable: True

Cancelled: False

Description Id: VirtualMachine.powerOn

Event Chain Id: 21387

Progress: 100

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

Diego, procedimento adotado para recriar o cabeçalho:

 

- Entrar Via putty

- cd  \vmfs\volumes

- ls

- cd Datastore1

- cd a pasta da VM

- Averiguar o Tamanho do Flat, após o feito, criar uma vmdk do tamanho do flat.

vmkfstools -c 900G teste.vmdk

 

- Após a criação, move teste.vmdk nomedoflat.vmdk

- vi nomedoflat.vmdk

- Direcionar a vmdk para o local correto do flat.

Obs.: Isso foi feito em duas máquinas tranquilo, agora nessa esta dando esses erros acima citados.

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

Alguém pode me ajudar?

Reply
0 Kudos
a_p_
Leadership
Leadership

Is it ok to continue this discussion in English?

Please run ls -lisa in the VM's folder and post the result. In addition to this run cat diskname.vmdk for each header/descriptor .vmdk file (i.e. the .vmdk files without flat, delta, or sesparse in their names) an post the results too, and last but not lease run grep vmdk *.vmx to see which .vmdk is the the current one (in case there are snapshots).

André

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

[root@SRVVMWARE:/vmfs/volumes/59f1b19e-fb796226-c821-a0369fafd598/SCRITTA] ls -l
isa
total 943722504
38084 8 drwxr-xr-x 1 root root 1120 Nov 23 12:23 .
4 1024 drwxr-xr-t 1 root root 8680 Nov 23 12:20 ..
8426692 943718400 -rw------- 1 root root 966367641600 Nov 24 14:25 SC RITTA-flat.vmdk
486577348 0 -rw------- 1 root root 475 Nov 23 12:17 SCRITT A.vmdk
507548932 0 -rw-r--r-- 1 root root 0 Nov 4 15:12 SCRITT A.vmsd
536909060 1024 -rw-r--r-- 1 root root 57221 Nov 4 15:13 vmware -1.log
243307780 1024 -rw-r--r-- 1 root root 57497 Nov 5 16:15 vmware -2.log
197170436 1024 -rw-r--r-- 1 root root 57515 Nov 21 16:00 vmware .log
[root@SRVVMWARE:/vmfs/volumes/59f1b19e-fb796226-c821-a0369fafd598/SCRITTA] cat SCRITTA.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=8760d501
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"

# Extent description
RW 1887436800 VMFS "SCRITTA-flat.vmdk"

# The Disk Data Base
#DDB

ddb.adapterType = "lsisas1068"
ddb.geometry.cylinders = "117487"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.longContentID = "7bb4f6a3d9241a84da023c528760d501"
ddb.uuid = "60 00 C2 93 0a a4 55 6c-4a 23 72 02 31 9f ff fb"
ddb.virtualHWVersion = "11"
[root@SRVVMWARE:/vmfs/volumes/59f1b19e-fb796226-c821-a0369fafd598/SCRITTA]

Reply
0 Kudos
a_p_
Leadership
Leadership

Did you change the ddb.adapterType to "lsisas1068"?
It should be:

ddb.adapterType = "lsilogic"

André

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

[root@SRVVMWARE:/vmfs/volumes/59f1b19e-fb796226-c821-a0369fafd598/SCRITTA] ls -lah
total 943722504
drwxr-xr-x 1 root root 1.1K Nov 23 12:23 .
drwxr-xr-t 1 root root 8.5K Nov 23 12:20 ..
-rw------- 1 root root 900.0G Nov 24 14:51 SCRITTA-flat.vmdk
-rw------- 1 root root 475 Nov 23 12:17 SCRITTA.vmdk
-rw-r--r-- 1 root root 0 Nov 4 15:12 SCRITTA.vmsd
-rw-r--r-- 1 root root 55.9K Nov 4 15:13 vmware-1.log
-rw-r--r-- 1 root root 56.1K Nov 5 16:15 vmware-2.log
-rw-r--r-- 1 root root 56.2K Nov 21 16:00 vmware.log
[root@SRVVMWARE:/vmfs/volumes/59f1b19e-fb796226-c821-a0369fafd598/SCRITTA] vi SCRITTA.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=8760d501
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"

# Extent description
RW 1887436800 VMFS "SCRITTA-flat.vmdk"

# The Disk Data Base
#DDB

ddb.adapterType = "lsilogic"
ddb.geometry.cylinders = "117487"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.longContentID = "7bb4f6a3d9241a84da023c528760d501"
ddb.uuid = "60 00 C2 93 0a a4 55 6c-4a 23 72 02 31 9f ff fb"
ddb.virtualHWVersion = "11"

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

não funcionou, não liga a maquina virtual.

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

meu caro, ainda nada.

Reply
0 Kudos
Bryaaaan
Contributor
Contributor

por favor, agluem me ajude.

Reply
0 Kudos