4
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
thanks, while the root ESB is almost full, is there a performance penalty? e.g. does this reduce the available virtual memory? – Yaron Naveh – 2012-09-22T15:14:56.783
@YaronNaveh: The biggest problem is the fact that you might run out of disk space. The EBS volume has nothing to do with memory unless you have created a swap file on it. – Eric Hammond – 2012-09-22T15:17:51.697
thanks, where is the swap by default? – Yaron Naveh – 2012-09-22T15:19:49.103
@Naveh: That's probably worth creating a new question. Feel free to reference it here. – Eric Hammond – 2012-09-22T20:01:51.653