Results 1 to 6 of 6
I'm pretty new in Linux.
I managed to increase disk space in VmWare by typing vmware-vdiskmanager -x 6GB file.vmdk
In spite of the fact that I see 6GB of space ...
- 05-09-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 3
Linux VmWare disk space
I'm pretty new in Linux.
I managed to increase disk space in VmWare by typing vmware-vdiskmanager -x 6GB file.vmdk
In spite of the fact that I see 6GB of space in VmWare I'm not able to use it in Suse Linux.
In SuSe is still disk size 3.6 GB.
So here is my disk information.

How can I use this space that I enabled in VmWare?
I read fdisk manual but don't know how to use it.
Many thanks for your help.
- 05-09-2008 #2
Look at the output of this command (as root) (the switch is lowercase L):
fdisk -l /dev/sda
Hard disks have 4 partitions. I don't know, but I would guess vmware expanded one of the unused partitions. That's what fdisk will tell you.
If that's what happened, you have three choices.- Backup, reformat and restore. This is the best choice.
- Format the new space as another partition and mount it. You could, for example, move everything from /home to the new partition, delete the old /home tree and mount the new one as /home. That would make use of the new space, though with an artificial limit to how much /home could grow.
- Format the new space as another partition and mount it as before, but use the new space for something else. This is the easiest, but maybe the least useful.
Last edited by KenJackson; 05-09-2008 at 11:44 PM. Reason: Changed /dev/sda2 to /dev/sda
- 05-10-2008 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 4
Never expanded a disk but,
you should look at the partition table and modify your partition tables with a tool like parted. You must resize / relocate the partitions to use the new space.
Try "fdisk -l" instead of "df" to view partition information.
- 05-11-2008 #4Just Joined!
- Join Date
- May 2008
- Posts
- 3
I don't see these 4 partitions
This is my Linux SuSe disk content

I don't see these unused or unallocated partitions.
Ok, I will try KenJackson's propositions and let you know how it went.
- 05-11-2008 #5
It worked for you. Notice you now have 783 cylinders, but you are only using 522 of them. So there are 261 more cylinders (2GB) available that are not included in any partition.
So you could now create another partition with with fdisk, format it with mke2fs, mount it somewhere and use it.
Or you could backup everything on /dev/sda2, delete the partition, create a new one that uses all available space, and restore. That will give you the desired results, though it's the most trouble.
- 05-11-2008 #6A disk (even a virtual one) can have up to 4 partitions. One or more of these can be extended partitions which in turn can have more partitions in them.I don't see these unused or unallocated partitions.
Ok, I will try KenJackson's propositions and let you know how it went.
You can have non partitioned areas on the disk. When you changed the size of your virtual disk the old partitions remained as they were so you now have 2 gig unpartitioned space. To use it you can create a new 2gig partition and mount some where on the file system or you can change the size of your existing partition (not the swap)


Reply With Quote