M
M
Madion2015-02-02 13:47:20
Network administration
Madion, 2015-02-02 13:47:20

Why does the VDS show that the disk has run out. space?

I use VDS as file storage for website images. Faced a problem. On a VDS disk at 512Gb. 19Gb used. When copying pictures to this VDS, it gives an error that the disk has ended. space.
Run the command: df -h:

[email protected]:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        20G   19G   64K 100% /
devtmpfs        988M  4.0K  988M   1% /dev
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            198M  520K  198M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            988M     0  988M   0% /run/shm
none            100M     0  100M   0% /run/user
/dev/sda2       439G   71M  417G   1% /home

The site is located along the path: /var/www/html/site.ru
As I understand it, it is now in this section: /dev/root
And how can I transfer it to this one: /dev/sda2
?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ivankomolin, 2015-02-02
@ivankomolin

/dev/sda2 is mounted here /home
Therefore, you need to move the site to /home/somewhere

P
Puma Thailand, 2015-02-02
@opium

You are confusing 512 megabytes of RAM and a 20 gigabyte hard drive, and it is completely full.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question