Today I got “error, can not write” message on the bottom of my blog. I think its temporary since I often see the message before (with bluehost).
This afternoon I got another message that confirm me if the message is not usual one. The message is sign of storage full. Yes, the blog move to vps and after checking the status :
# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 8.4G 7.9G 0 100% /
none 4.1k 0 4.1k 0% /sys/fs/cgroup
udev 511M 4.1k 511M 1% /dev
tmpfs 105M 410k 104M 1% /run
none 5.3M 0 5.3M 0% /run/lock
none 522M 0 522M 0% /run/shm
none 105M 0 105M 0% /run/user
/dev/vdb1 22G 47M 20G 1% /data
# cd /
My VPS utilize 100% of / partition (I thought soft limit is there) and lead me to error message.
I forgot if this VPS use two drive : /dev/vda1 for operating system and /dev/vdb1 for data storage.
To fix the problem I just need to move content from /dev/vda1 to /dev/vdb1
# mv /srv/users/ /data/
# ln -s /data/users /srv/
# ls -l /srv/
total 0
lrwxrwxrwx 1 root root 11 Jun 15 14:56 users -> /data/users
Checking current status now :
# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 8.4G 3.6G 4.4G 46% /
none 4.1k 0 4.1k 0% /sys/fs/cgroup
udev 511M 4.1k 511M 1% /dev
tmpfs 105M 410k 104M 1% /run
none 5.3M 0 5.3M 0% /run/lock
none 522M 0 522M 0% /run/shm
none 105M 0 105M 0% /run/user
/dev/vdb1 22G 4.7G 16G 24% /data
#
The service working well now 🙂