Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > SuSE Linux Help
Reload this Page Linux VmWare disk space
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

SuSE Linux Help For help and discussions related to SuSE Linux

Reply
 
Thread Tools Display Modes
Old 1 Week Ago   #1 (permalink)
dragon2000gh
Just Joined!
 
Join Date: May 2008
Posts: 2
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.
dragon2000gh is offline   Reply With Quote
Old 6 Days Ago   #2 (permalink)
KenJackson
Linux User
 
KenJackson's Avatar
 
Join Date: Jun 2006
Location: Maryland, USA
Posts: 466
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.
__________________
Why I prefer GNU/Linux

Last edited by KenJackson : 6 Days Ago at 11:44 PM. Reason: Changed /dev/sda2 to /dev/sda
KenJackson is offline   Reply With Quote
Old 6 Days Ago   #3 (permalink)
ThomasArend
Just Joined!
 
Join Date: Feb 2008
Posts: 3
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.
ThomasArend is offline   Reply With Quote
Old 5 Days Ago   #4 (permalink)
dragon2000gh
Just Joined!
 
Join Date: May 2008
Posts: 2
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.
dragon2000gh is offline   Reply With Quote
Old 5 Days Ago   #5 (permalink)
KenJackson
Linux User
 
KenJackson's Avatar
 
Join Date: Jun 2006
Location: Maryland, USA
Posts: 466
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.
__________________
Why I prefer GNU/Linux
KenJackson is offline   Reply With Quote
Old 4 Days Ago   #6 (permalink)
gogalthorp
Linux Guru
 
gogalthorp's Avatar
 
Join Date: Oct 2006
Location: West (by God) Virginia
Posts: 1,667
Quote:
I don't see these unused or unallocated partitions.
Ok, I will try KenJackson's propositions and let you know how it went.
A 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.

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)
gogalthorp is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 03:17 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0