) How does VMware increase disk capacity?

Source: Internet
Author: User

The interface does not provide a way to increase the disk capacity.

 

It can only be executed in the form of command lines.

 

There is a vmware-vdiskmanager.exe under the c: \ Program Files \ VMware workstationto install the disk.

The command parameters are as follows:

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

Usage: vmware-vdiskmanager.exe options <disk-Name> | <Mount-point>

 

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 <source-disk>: 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 <source-disk>: Convert the specified disk; need to specify

Destination disk-type

-X <New-capacity>: Expand the disk to the specified capacity

 

Additional options for create and convert:

-A <adapter>: (for use with-C only) adapter type (IDE, buslogic o

R lsilogic)

-S <size>: capacity of the Virtual Disk

-T <disk-type>: 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 <Mount-point>

(A virtual disk first needs to be mounted at <Mount-point>)

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

The-x parameter is used for resizing ......

 

Like this: vmware-vdiskmanager.exe-x 36 GB mydisk. vmdk

Resolution:Vmware-vdiskmanager.exe-xSizeVirtual Hard Disk File

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

 

My execution process:

 

D: \ Program Files \ VMware Workstation> vmware-vdiskmanager.exe-x 12 GB "F: \ W

Indows Server 2003 Enterprise Edition \ Windows Server 2003 Enterprise Edition. VMD

K"

========================================================== ======================================

Summary:

1. The file name should be enclosed in double quotation marks.

2. The vmdk file name must be included with the path.

3. GB, MB. Don't forget B.

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.