partitioning - Ubuntu 16.04 : Different partitions for root and home, but files in home occupy memory in both - Ask Ubuntu
when installing ubuntu 16.04 on server, created different partitions root (/
) , home (/home
). root partition 15gb , home 40gb. had upload large amount of files server got error message root running out of free space. found strange, because uploaded files /home
partition. when checked file system saw files in /home
occupy space in /
, in /home
though these different partitions.
i tried problem still persistent. solution problem? how make files occupy space in /home
?
the output of df -h
is:
udev 1,8g 0 1,8g 0% /dev tmpfs 369m 39m 330m 11% /run /dev/sda8 14g 13g 593m 96% / tmpfs 1,8g 352k 1,8g 1% /dev/shm tmpfs 5,0m 4,0k 5,0m 1% /run/lock tmpfs 1,8g 0 1,8g 0% /sys/fs/cgroup /dev/sda9 47g 7,8g 36g 18% /home tmpfs 369m 68k 369m 1% /run/user/1000 tmpfs 369m 8,0k 369m 1% /run/user/108
the output of lsblk
is:
name maj:min rm size ro type mountpoint sda 8:0 0 465,8g 0 disk ├─sda1 8:1 0 136,7g 0 part ├─sda2 8:2 0 449m 0 part ├─sda3 8:3 0 1k 0 part ├─sda5 8:5 0 91,4g 0 part ├─sda6 8:6 0 168,9g 0 part ├─sda7 8:7 0 7,5g 0 part [swap] ├─sda8 8:8 0 14g 0 part / └─sda9 8:9 0 47g 0 part /home sdb 8:16 0 111,8g 0 disk ├─sdb1 8:17 0 100m 0 part └─sdb2 8:18 0 111,7g 0 part sr0 11:0 1 1024m 0 rom
the output du --human --max-depth=2 /
(only relevant parts) is:
144m /opt/teamviewer 144m /opt 7,4g /root/.local 7,4g /root 41m /var/www 106m /var/cache 842m /var 7,8g /home/t-hr 7,8g /home 207m /lib/modules 123m /lib/firmware 384m /lib 54m /boot 40m /usr/sbin 250m /usr/bin 1,1g /usr/share 2,1g /usr/lib 120m /usr/src 3,6g /usr 21g /
how should proceed?
what you're running temp space:
depending on methodology of uploading , size of files, these files might first created in root partition in /tmp
, once upload completed there, transferred /home
. rebooting removes files /tmp
wouldn't know what's happening...
(as don't know comes , goes to, suspect reboot , problem goes away until run out of space again , reboot again)
edit:
and don't forget clean out /root/.local
:-d ;-)
Comments
Post a Comment