What can I do to give some more love and disk space to my database on Ubuntu?

Posted by Yaron Naveh on Super User See other posts from Super User or by Yaron Naveh
Published on 2012-09-22T14:41:51Z Indexed on 2012/09/22 15:40 UTC
Read the original article Hit count: 431

Filed under:
|
|

I'm new to linux. I've deployed a db to ubuntu server on amazon and found out I'm low on disk space. did df (see below) - and found out that I'm 89% capacity on one file system, but less on others. What does this mean? Do I have a few partitions and can now utilize others besides /dev/xvda1? Also /dev/xvdb seems large, is it safe to put the db in it and only use it? If so do I need to mount it or do something special?

$> df -lah

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      8.0G  6.7G  914M  89% /
proc               0     0     0    - /proc
sysfs              0     0     0    - /sys
none               0     0     0    - /sys/fs/fuse/connections
none               0     0     0    - /sys/kernel/debug
none               0     0     0    - /sys/kernel/security
udev            3.7G  8.0K  3.7G   1% /dev
devpts             0     0     0    - /dev/pts
tmpfs           1.5G  164K  1.5G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            3.7G     0  3.7G   0% /run/shm
/dev/xvdb       414G  199M  393G   1% /mnt

© Super User or respective owner

What can I do to give some more love and disk space to my database on Ubuntu?

Posted by Yaron Naveh on Ask Ubuntu See other posts from Ask Ubuntu or by Yaron Naveh
Published on 2012-09-22T15:02:58Z Indexed on 2012/09/22 15:49 UTC
Read the original article Hit count: 431

Filed under:
|

I'm new to linux. I've deployed a db to ubuntu server on amazon and found out I'm low on disk space. did df (see below) - and found out that I'm 89% capacity on one file system, but less on others. What does this mean? Do I have a few partitions and can now utilize others besides /dev/xvda1? Also /dev/xvdb seems large, is it safe to put the db in it and only use it? If so do I need to mount it or do something special?

$> df -lah

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      8.0G  6.7G  914M  89% /
proc               0     0     0    - /proc
sysfs              0     0     0    - /sys
none               0     0     0    - /sys/fs/fuse/connections
none               0     0     0    - /sys/kernel/debug
none               0     0     0    - /sys/kernel/security
udev            3.7G  8.0K  3.7G   1% /dev
devpts             0     0     0    - /dev/pts
tmpfs           1.5G  164K  1.5G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            3.7G     0  3.7G   0% /run/shm
/dev/xvdb       414G  199M  393G   1% /mnt

© Ask Ubuntu or respective owner

Related posts about linux

Related posts about ubuntu