Autor: Michel | Datum: Montag, 19. Oktober 2009 | Kategorie:
Hyper-V,
Sysinternals,
Windows |
7 Kommentare »
Mark Russinovich und Bryce Cogswell haben die Microsoft Sysinternals Kollektion um ein hilfreiches Physical to Virtual (P2V) Tool. Mit Disk2vhd lässt sich im laufenden Betrieb eine exakte Kopie einer Hard Disk erstellen. Die Virtual Hard Disk (VHD) lässt sich dann später in Hyper-V, oder Windows Virtual PC nutzen, oder auch als VHD bei Windows 7 und Windows Server 2008 R2 mounten.
About Disk2vhd
Disk2vhd is a utility that creates VHD (Virtual Hard Disk – Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).
Physical to Virtual
Disk2vhd funktioniert ab Windows XP SP2, Windows Server 2003 SP1 und neuere Systeme. Es wird sowohl die 32-Bit als auch die 64-Bit Architektur unterstützt. Der Einsatz ist sehr einfach:
- Disk2vhd.exe ausführen und EULA akzeptieren.
- Den Pfad für das VHD File angeben. Per Default wird der Ordner der Disk2vhd Applikation gewählt.
- Nachdem die Physical Disk welche in VHD konvertiert werden soll selektiert wurde, kann der Vorgang mit “Create” gestartet werden.
- Disk2vhd erstellt einen Snasphot welcher als Differencing VHD abgespeichert wird.
Da das Tool allerdings lediglich ein VHD File anlegt, müssen Treiber beziehungsweise die HAL der Virtual Machine im Anschluss manuell geändert werden. Nach dem ersten Start als Virtual Machine erkennt Windows die geänderte Hardware und installiert automatisch die erforderlichen Treiber, sofern diese verfügbar sind. Bei Hyper-V wird für bei 32-Bit ein “ACPI x86-based PC” und bei 64-Bit eine “ACPI x64-based PC” HAL installiert. Je nach Betriebssystem müssen die Integration Components nachträglich manuell installiert werden. Wichtig, da sich die Hardware wären dem Physical to Virtual Conversion um einiges geändert hat, ist eine erneute Aktivierung der Windows Lizenz erforderlich.
Mit der Version 1.2 wurde nun Disk2VHD auch um Command Line Optionen erweitert, welche es erlauben das Erstellen von VHDs zu automatisieren:
Befehl: disk2vhd <[drive: [drive:]...]|[*]> <vhdfile>
Beispiel: disk2vhd * c:\vhd\snapshot.vhd
Support
Tools von Sysinternals kommen zwar inzwischen von Microsoft, werden allerdings als “as is” bereitgestellt. Ein Auszug aus den Sysinternals Software License Terms:
5. SUPPORT SERVICES: Because this software is “as is”, we may not provide support services for it.
9. DISCLAIMER OF WARRANTY: The Software is licensed “as is”. You bear the risk of using it. Sysinternals gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, Sysinternals excluded the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
10. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES: You can recover from Sysinternals and its suppliers only direct damages up to U.S: $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
Source
Die Source für Disk2vhd kann direkt bei Microsoft TechNet heruntergeladen werden, zum Download… Wichtig! Natürlich gibt es andere Lokationen welche weitere Downloads anbieten, es sollte allerdings nur offizielle Builds und Download Centers aufgesucht werden. Zitat Forrest Gump: “Man weiss nie, was man kriegt.”
- Version: 1.62
- Date Published: 2010-07-29
- Language: English
- Format: *.zip
- Publisher: Microsoft (Sysinternals)
- License: Freeware
Das Utility Disk2vhd kann übrigens auch direkt via “Live.Sysinternals.com” gestartet werden.