LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2012, 07:32 AM   #1
shanferouze
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy How to expand the drive space in ubuntu server 12.04


Hi, recently i downloaded the ubuntu 12.04 server and installed it on a hyper v VM. I allocated 20 GB for the virtual machine and started installtion, during the installtion it asked for amount of hardrive space to be allocated and i gave 50%, just thought later we could expand it, but now when i tried to see the disk space it only shows only the details of the allocated disk space but not the other 10 gb free space.
Here is the link to the screenshot
https://skydrive.live.com/?cid=E2BC3...E5C2D3D196!139.

Please suggest a way to increase the disk space by allocating the other 10 gb to the disk.

Last edited by shanferouze; 05-16-2012 at 07:34 AM.
 
Old 05-16-2012, 07:36 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
What is the output of
Code:
fdisk -l
df -h
 
Old 05-16-2012, 07:41 AM   #3
shanferouze
LQ Newbie
 
Registered: May 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
https://skydrive.live.com/#cid=E2BC3...E5C2D3D196!140

The fdisk -l displayed nothing
and df -h displayed some results similar to my previous post. Please click on the link above.

Is there a way i could attach the picture directly here itself?
 
Old 05-16-2012, 10:32 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You need to be root to use fdisk command I suppose. sudo fdisk -l should be the command. Anyways, it seems you have installed Ubuntu on LVM partition. Increasing LVM should not be too difficult. Just add the disk. Create partitions. Create physical volumes on partition. Then add those to the volume group and extend the logical volumes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I created my VM machine with to little disk space HOW DO YOU EXPAND bigcape Linux - Virtualization and Cloud 1 03-16-2011 12:30 AM
Expand disk space in VMware ESXI VM Antonio85 Linux - Virtualization and Cloud 2 08-25-2010 02:10 AM
Expand hda1 with free space from hda2? ahsheikh Linux - Software 1 12-27-2009 06:45 PM
Can't update Ubuntu; insufficient drive space Opensource240 Linux - Newbie 4 09-08-2009 09:07 PM
How to expand disk space cghcgh Linux - Newbie 7 07-08-2008 10:09 AM


All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration