Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Disk space maxed out? - Incorrect!

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
JoeLinx



Joined: 18 Jun 2008
Posts: 8

Posted: Fri Jun 20, 2008 8:39 pm    Post subject: Disk space maxed out? - Incorrect!  

Hello,
After completing fresh install of "Ubuntu 8.04 LTS 64 Bit" w/o any problem and when I am about to get ready installing ISPConfig I took a glance at my resources from the "Dashboard" and noticed that I have used up 98% of my Linode 360 Disk space.... :shock: But then when I read the outputs of "df -h" /dev/xvda there is 11GB free space available.

Is this normal? 12GB just for OS.. before I even installed ISPConfig. Or am I reading this all wrong??

Below is the outputs of cat /proc/meminfo.
MemTotal: 368836 kB
MemFree: 209692 kB
Buffers: 3032 kB
Cached: 69664 kB
SwapCached: 0 kB
Active: 72936 kB
Inactive: 46696 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 368836 kB
LowFree: 209692 kB
SwapTotal: 524280 kB
SwapFree: 524280 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 47008 kB
Mapped: 16716 kB
Slab: 12800 kB
PageTables: 5692 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 708696 kB
Committed_AS: 236456 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 2764 kB
VmallocChunk: 34359735603 kB

And this outputs of df -h:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda 12G 724M 11G 7% /
varrun 181M 76K 181M 1% /var/run
varlock 181M 0 181M 0% /var/lock
udev 181M 12K 181M 1% /dev
devshm 181M 0 181M 0% /dev/shm

I would appreciate if anyone here can shed some light as to what causes this.

Many thanks.
Back to top  
irgeek



Joined: 21 Jun 2003
Posts: 98
Location: Denver, CO

Posted: Fri Jun 20, 2008 8:56 pm    Post subject:  

You're reading it wrong. The Dashboard number is how much of your allowed disk space you have assigned to disk images. What you do with those images is up to you. You can see from your df output that you have used only 724M of the space available on the image.

--James
Back to top  
hybinet



Joined: 02 May 2008
Posts: 38

Posted: Fri Jun 20, 2008 9:29 pm    Post subject:  

Yeah, you can think of "disk images" as partitions on a hard drive. Your Linode 360 comes with a 12GB hard drive, so to speak. You assigned 98% of it to /dev/xvda and swap, but of course your partition /dev/xvda is almost empty now.

Some people here -- including myself -- prefer to have at least two disk images in addition to swap, one for the OS and the other for the data. That way, when you wipe your OS disk and start again, all your data will remain safe. But that's another topic.
Back to top  
JoeLinx



Joined: 18 Jun 2008
Posts: 8

Posted: Sat Jun 21, 2008 7:36 am    Post subject:  

Thank you all. I've got a lot to learn about VPS.
:x should have done it t'way habinet suggested, that's what what I have at my local system.... VPS made my brain freezed.

Alright then start over I shall.

Cheers.
Back to top  
SteveG



Joined: 30 Nov 2003
Posts: 212

Posted: Sat Jun 21, 2008 12:32 pm    Post subject:  

It's probably too late, but you don't have to start over. The control panel will let you shrink a image non-destructively, so long as the space is unused.
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1