-1

my mysql failed because, apparently, my volume is filled. All 8 gb of it. I only have put mongodb, nodejs, apache, mysql and in the www folder, wordpress and phpmyadmin.

My question is, what happened and how do I fix it?

Here is what df -h gave me:

Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda1            7.9G  7.9G     0 100% /
tmpfs                 298M     0  298M   0% /dev/shm
Discipol
  • 101
  • 3

1 Answers1

0

i personally like "du -xk / |sort -n" as that will list the largest/top used directories on and only the root partition.

that said, root partition is not for storing data. being you are on aws, it is very easy to simply mount another volume whereever you need it

EDIT:

1) ec2-create-volume
2) ec2-attach-volume
3) fixup /etc/fstab
4) mount /path/to/mountpoint

nandoP
  • 2,021
  • 14
  • 15