If you contact PSS to help you troubleshoot a problem that you experience, you may want to send a Virtual Server 2005 virtual hard disk file to PSS to help reproduce the environment that you experience this problem in. Because these .vhd files may be large, this article contains steps that you can use to help reduce the size of the .vhd file.
Note It is not important which tool you use to divide the virtual hard disk images into 4-GB files. However, verify that the PSS support professional has access to the same tool.
To help reduce the size of a virtual hard disk file, follow these steps:
- Start the virtual machine, and then remove all nonessential files from the virtual hard disk that you want to send to PSS.
- In the virtual machine, run the Disk Defragmenter tool to defragment the virtual hard disk that you want to send to PSS. To do this, follow these steps:
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
- Click Start, and then click My Computer.
- Right-click the hard disk that you want to defragment, and then click Properties.
- Click the Tools tab, and then click Defragment Now.
- Click Defragment.
- Click Start, click Run, type cmd, and then click OK.
- Type defrag /? to view a list of the available options for the Disk Defragmenter tool.
- In the virtual machine, run the Virtual Disk Precompactor tool to prepare the virtual hard disk for compacting. You can find Virtual Disk Precompactor.iso in the following folder: %systemdrive%\Program Files\Microsoft Virtual Server\Virtual Machine Additions\
If your virtual machine is running when you capture Virtual Disk Precompactor.iso, Virtual Disk Precompactor starts automatically. If you click Yes when you are prompted, Virtual Disk Precompactor precompacts all the virtual hard disks for this virtual machine. If Virtual Disk Precompactor does not start automatically, you can start it by browsing to the CD drive of the guest operating system and double-clicking Precompact.exe. For more information about how to obtain Virtual PC 2004 SP1, visit the following Microsoft Web site:
- Run the Inspect command to compact the virtual hard disk file. To do this, follow these steps:
- Click Start, point to All Programs, point to Microsoft Virtual Server, and then click Virtual Server Administration Website.
- Type your credentials in the User name box and in the Password box, and then click OK.
- Under Virtual Disks, click Inspect.
- In the Known virtual hard disks list, click the virtual hard disk that you want to compact.
Note You can also type the path of the virtual hard disk in the Fully qualified path to file box.
- Click Inspect.
- Under VirtualHardDiskName.vhd Actions, click Compact virtual hard disk, and then click Compact.
- Use a file compression program, such as WinZip, to archive the virtual hard disk file.
รหัสบทความ: 888760 - การตรวจสอบครั้งสุดท้าย: 29 พ.ย. 2007 - ฉบับแก้ไข: 1