VMware Views 4

Expanding a VMware virtual disk

In VMware you can increase the hard-disk size without detaching or adding a disk.

Expanding a VMware virtual disk image 1

Click Expand on the right and then increase the capacity

Expanding a VMware virtual disk image 2
Check the device with df -h

After Linux boots, run commands as follows

apt-get install -y parted

parted [디바이스]
Expanding a VMware virtual disk image 3
Start setting up the device
print free
Expanding a VMware virtual disk image 4
Check the list of disks to expand — here, number 1
resizepart 1
Expanding a VMware virtual disk image 5
Allocate the disk capacity
resize2fs /dev/sda1
Expanding a VMware virtual disk image 6
After running resize, confirm the capacity increased

Reactions

Comments 0

A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.

Comments appear after a review. The password is used again to edit or delete.