How VMware changes pre-allocated hard disk space

Source: Internet
Author: User
Tags vmware server

How can I extend the range of virtual machines?

Assume that the proposed VMWare virtual machine is in win2003 of E partition, then it is transferred to the installation directory of VMware to run
Vmware-vdiskmanager-x 4 GB "E:/Vm/win2003/Windows Server 2003 Enterprise Edition. vmdk"

The command is as follows:

1. Assume that vmware workstation is installed on drive C:
C:/program files/vmware workstation> vmware-vdiskmanager-x 4 GB "E:/Vm/win
2003/Windows Server 2003 Enterprise Edition. vmdk"
2. Assume that the VMware Server is installed on disk D:
D:/program files/vmware workstation> vmware-vdiskmanager-x 14 GB "E:/Vm/win
2003/Windows Server 2003 Enterprise Edition. vmdk"

Using Log File C:/docume ~ 1/admini ~ 1/locals ~ 1/temp/vmware-Administrator/vdiskmana
Ger. Log
Grow: 100% done.
The old geometry C/h/s of the disk is: 261/255/63
The new geometry C/h/s of the disk is: 522/255/63
Disk expansion completed successfully.

VMware:
D:/program files/vmware/VMware Server> vmware-vdiskmanager-x 6 GB "D:/virtual Mac
Hines/SUS/Windows 2000 Professional (2). vmdk"

Parameter-X indicates that the disk space of the virtual machine is to be extended. The following number indicates the size of the disk to be extended (such as 12 GB, indicating the total disk volume, including the original disk capacity)


Refer:
VMware Virtual Disk Manager-build 12544.
Usage: vmware-vdiskmanager.exe options diskname | drive-letter:
Offline disk manipulation Utility
Options:
-C: create disk; need to specify other create options
-D: defragment the specified Virtual Disk
-K: shrink the specified Virtual Disk
-N: Rename the specified virtual disk; Need
Specify destination disk-name
-P: Prepare the mounted Virtual Disk specified
The drive-letter for shrinking
-Q: Do not log messages
-R: Convert the specified disk; need to specify
Destination disk-type
-X: Expand the disk to the specified capacity
Additional options for create and convert:
-A: adapter type (IDE, buslogic or lsilogic)
-S: capacity of the Virtual Disk
-T: disk type ID
Disk types:
0: single growable Virtual Disk
1: growable Virtual Disk split in 2 GB files
2: preallocated Virtual Disk
3: preallocated Virtual Disk split in 2 GB files
The capacity can be specified in sectors, kb, MB or GB.
The acceptable ranges:
IDE adapter: [100.0 MB, 950.0 GB]
SCSI adapter: [100.0 MB, 950.0 GB]
Vmware-vdiskmanager.exe-C-s 850 mb-A ide-T 0 myidedisk. vmdk
Ex 2: vmware-vdiskmanager.exe-D mydisk. vmdk
Ex 3: vmware-vdiskmanager.exe-r sourcedisk. vmdk-T 0 destinationdisk. VM
DK
Ex 4: vmware-vdiskmanager.exe-x 36 GB mydisk. vmdk
Vmware-vdiskmanager.exe-N sourcename. vmdk destinationname. vmdk
Ex 6: vmware-vdiskmanager.exe-K mydisk. vmdk
Ex 7: vmware-vdiskmanager.exe-p m:
(A Virtual Disk first needs to be mounted at M:
Using the VMware diskmount utility .)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.