Debian df - Was sind meine Partitionen?

306
Vogon Jeltz

Ich habe einen von Kimsufi gehosteten Debian-Server. Es verfügt über 2 TB Festplattenspeicher. Wenn ich df -hauf meinem Server laufe, erhalte ich folgende Ausgabe:

Filesystem Size Used Avail Use% Mounted on /dev/root 20G 1.3G 17G 8% / devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 7.9G 18M 7.9G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/sda3 1.8T 75M 1.7T 1% /home 

Ich speichere die meisten meiner Daten /var/www/htmlfür Apache usw., aber das scheint nur 17 GB zur Verfügung zu haben, während /home(etwas, das ich selten verwende) riesig ist. Könnte jemand das erklären und wenn es ein Problem ist.

0
mv / var / www / html / home und dann ln -s / home / www / html / var / www / html. Die Größe Ihrer Partitionen wird dadurch nicht geändert, es kann jedoch hilfreich sein. ejmin vor 8 Jahren 0

1 Antwort auf die Frage

0
Paul

This is pretty common out of the box setup for a server. T

he expectation is that the most common deployment is as a file server, and so /home tends to get the most space.

If your intent for the server is different, then you'd resize the partitions accordingly at build time.

So no, it isn't a problem as such, though it might not be the structure you were after.