Expand disk space on Ubuntu 10.04 (VMWare Guest)
Posted
by Jason Clawson
on Server Fault
See other posts from Server Fault
or by Jason Clawson
Published on 2010-06-04T04:21:53Z
Indexed on
2010/06/05
6:03 UTC
Read the original article
Hit count: 349
I need to resize the disk space of an ubuntu guest in VMWare Workstation. After using the expand disk utility in vmware workstation, I need to do some linux magic to resize the parition. I have searched and found a lot of posts about resizing it. Unfortunately I don't really understand it all that well. Can anyone help me out with this?
df -h gives me:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu-root
19G 2.6G 16G 15% /
none 496M 172K 495M 1% /dev
none 500M 0 500M 0% /dev/shm
none 500M 64K 500M 1% /var/run
none 500M 0 500M 0% /var/lock
none 500M 0 500M 0% /lib/init/rw
none 19G 2.6G 16G 15% /var/lib/ureadahead/debugfs
/dev/sda1 228M 36M 181M 17% /boot
lvs says:
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
root ubuntu -wi-ao 18.88g
swap_1 ubuntu -wi-ao 884.00m
fdisk -l says:
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00033718
Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 32 2611 20719617 5 Extended
/dev/sda5 32 2611 20719616 8e Linux LVM
I really appreciate the help.
© Server Fault or respective owner