Convertire un disco IDE in SCSI in una macchina virtuale VmWare
Può capitare, sopratutto usando il Vmware Converter, oppure durate la creazione di una macchina virtuale, di creare il disco fisso C: venga creato in modo IDE invece che SCSI.
Questo porta due svantaggi: primo che il formato IDE è più lento, poi che il formato IDE non è incrementabile di dimensioni.
Essendomi trovato a corto di spazio su una macchina in queste condizioni ho usato questo trucchetto trovato sull KB di vmware:
Tenete presente una cosa, il boot della macchina segue la catena scsi, nella mia macchina avevo due disco: il disco C: che era IDE e il disco D: che era SCSI 0:0, dopo la conversione il disco C: mi viene allocato come SCSI 0:1 e quindi la vm cerca di partire dal disco D:
Poco male, sposto il D: in SCSI 0:2, il C: da SCSI 0:1 a SCSI 0:0 e il D: da SCSI 0:2 a SCSI 0:1 e il tutto riparte.
Riporto qui sotto che non si sa mai, io, inoltre, per semplificarmi la vita prima di tutto il lavoro, elimino il cdrom dalla macchina virtuale, poi lo rimetto dopo aver completato la procedura:
To convert the IDE disk to SCSI:
Locate the datastore path where the virtual machine resides.
For example:
# cd /vmfs/volumes///
From the ESX Service Console, open the primary disk (.vmdk) using the vi editor. For more information, see Editing files on an ESX host using vi or nano (1020302)
Look for the line:
ddb.adapterType = “ide”
To change the adapter type to LSI Logic change the line to:
ddb.adapterType = “lsilogic”
To change the adapter type to Bus Logic change the line to:
ddb.adapterType = “buslogic”
Save the file.
From VMware Infrastructure/vSphere Client:
Click Edit Settings for the virtual machine.
Select the IDE virtual disk.
Choose to Remove the Disk from the virtual machine.
Click OK.
Caution: Make sure that you do not choose Remove from disk.
From the Edit Settings menu for this virtual machine:
Click Add > Hard Disk > Use Existing Virtual Disk.
Navigate to the location of the disk and select to add it into the virtual machine.
Choose the same controller as in Step 3 as the adapter type. The SCSI ID should read SCSI 0:0.
If a CDROM device exists in the virtual machine it may need to have the IDE channel adjusted from IDE 0:1 to IDE 0:0. If this option is greyed out, remove the CD-ROM from the virtual machine and add it back. This sets it to IDE 0:0.
Una delle tre lame del Blade Center di Milano con ESX 3.5 ogni tanto saltava di un paio d’ore avanti o indietro, da sola, e si porta dietro gli orari delle vm che ospita, e ovviamente Active Directory ed Exchange si arrabbiano parecchio.
Con questa guida:
Nel vshpere clinet abilitare la modalità promiscua delle schede di rete, che è una cosa che, nonostante riguardi le schede dei computer, mi ha sempra saputo di roba sessuale