Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Aug 25, 2007 9:39 am 
Offline
Newbie

Joined: Sat Aug 25, 2007 9:20 am
Posts: 2
#: df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ubda 3.7G 3.4G 288M 93% /
tmpfs 218M 4.0K 218M 1% /dev/shm

From Dashboard:

Storage summary

# Total: 8192 Megabytes
# Used: 3968 Megabytes
# Free: 4224 Megabytes

You are currently utilizing 48% of your total storage space.

This is a migrated linode, last rebooted Apr 25, 05:57 AM after the migration. I'm on host74.fremont.linode.com running 2.6.20-linode28.

How can I get the rest of my disk space to be available? It looks as if there's ~4 meg not getting recognized. TIA.


Top
   
 Post subject:
PostPosted: Sat Aug 25, 2007 10:02 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Click on the ubda disk image in Dashboard and resize it (type in a new size and save changes). If the filesystem is ext2 or ext3, it will be resized to fill the enlarged disk image automatically. For other filesystem types, you have to manually resize to fill the enlarged disk image.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Aug 29, 2007 8:56 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
Linode's 'used space' meter shows how much of the space at Linode you're using for your images; it doesn't tell you how much space is free on the images themselves.

Most people will have images that span the amount of space available to them in the account itself, which means that in the LPM it shows as 100% disk usage, with no space free. From Linode's point of view, this is correct; think of it as measuring how much room you have in your account for additional images.

What this means is that of the 8GB of potential space given to you by Linode, you're using 3.88GB for images. The images have to be formatted, which takes away another 100MB or so (for the metadata), leaving you with roughly 3.7GB, which is what shows in your 'df -h' output. Of that 3.7GB, your 'df -h' output shows that you have 288MB free on that image.

You have an additional 4.13GB that you're not using for images, and which won't show up in 'df -h'. You can either do as pclissold suggested and resize your disk image, or you can create a new image to fill the space. You won't be able to share space between the two if you do that though, so be aware of that.

As you can tell, when you migrate machines, the images get copied over exactly, meaning that they're not resized to take advantage of the space, hence why you have space free.


Top
   
 Post subject:
PostPosted: Sun Sep 02, 2007 4:43 pm 
Offline
Newbie

Joined: Sat Aug 25, 2007 9:20 am
Posts: 2
pclissold wrote:
Click on the ubda disk image in Dashboard and resize it (type in a new size and save changes). If the filesystem is ext2 or ext3, it will be resized to fill the enlarged disk image automatically.


Thanks. That did it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group