
Code: Select all
df -hCode: Select all
tags, if you don't mind)?
- JohnCode: Select all
/ # df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 20G 0 100% /
/dev/root 20G 20G 0 100% /
rc-svcdir 1.0M 84K 940K 9% /lib64/rc/init.d
udev 10M 328K 9.7M 4% /dev
shm 3.0G 3.4M 3.0G 1% /dev/shm
/dev/sdc1 3.0G 9.3M 3.0G 1% /boot
/dev/sdc3 200G 4.9G 196G 3% /home
/dev/sdb1 932G 623G 309G 67% /mnt/mediaCode: Select all
/ # du -sh *
8.7M bin
8.7M boot
3.3M dev
11M etc
4.8G home
0 lib
5.3M lib32
36M lib64
12K media
623G mnt
310M opt
du: cannot access `proc/9655/task/9655/fd/4': No such file or directory
du: cannot access `proc/9655/task/9655/fdinfo/4': No such file or directory
du: cannot access `proc/9655/fd/4': No such file or directory
du: cannot access `proc/9655/fdinfo/4': No such file or directory
0 proc
592K root
8.7M sbin
0 sys
441M tmp
15G usr
4.4G var
Code: Select all
usr # du -sh * | sort -n
0 lib
0 tmp
2.0G lib64
2.5G share
3.3M x86_64-pc-linux-gnu
4.0K local
8.2G portage
12M games
14M sbin
36M libexec
50M NX
204M include
276M bin
284K imports
338M lib32
972M src
Code: Select all
/ # df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 749088 640326 108762 86% /
/dev/root 749088 640326 108762 86% /
rc-svcdir 764586 75 764511 1% /lib64/rc/init.d
udev 764586 982 763604 1% /dev
shm 764586 8 764578 1% /dev/shm
/dev/sdc1 6267488 27 6267461 1% /boot
/dev/sdc3 409012096 8581 409003515 1% /home
/dev/sdb1 323631240 27281 323603959 1% /mnt/media

Code: Select all
mountCode: Select all
mount
rootfs on / type rootfs (rw)
/dev/root on / type jfs (rw,noatime)
proc on /proc type proc (rw,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdc1 on /boot type jfs (rw,noatime)
/dev/sdc3 on /home type jfs (rw,noatime)
/dev/sdb1 on /mnt/media type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)




If you clean up your System regular, a lower size could be used without trouble.John R. Graham wrote: For instance, "/var/tmp/portage" can grow to over 10GiB alone during the installation of some large packages (e.g., libreoffice). A more comfortable size for the rootfs partition would be 60-80Gib but it might be better to not split up the space like that. - John


Code: Select all
sargon / # du -sh *
0 4.5.3
4.0K backup
7.8M bin
15M boot
80K dev
5.3M etc
21G home
17M lib
16K lost+found
4.0K media
4.0K mnt
162M opt
du: cannot access 'proc/3416/task/3416/fd/4': No such file or directory
du: cannot access 'proc/3416/task/3416/fdinfo/4': No such file or directory
du: cannot access 'proc/3416/fd/4': No such file or directory
du: cannot access 'proc/3416/fdinfo/4': No such file or directory
0 proc
131M root
408K run
7.9M sbin
1.2T storage
0 sys
76K tmp
12G usr
5.1G var

did you followed the suggestions given above? please post the output ofsinanqapudan wrote:I have the same problem:
The partitioning schema is the following:Code: Select all
sargon / # du -sh * 0 4.5.3 4.0K backup 7.8M bin 15M boot 80K dev 5.3M etc 21G home 17M lib 16K lost+found 4.0K media 4.0K mnt 162M opt du: cannot access 'proc/3416/task/3416/fd/4': No such file or directory du: cannot access 'proc/3416/task/3416/fdinfo/4': No such file or directory du: cannot access 'proc/3416/fd/4': No such file or directory du: cannot access 'proc/3416/fdinfo/4': No such file or directory 0 proc 131M root 408K run 7.9M sbin 1.2T storage 0 sys 76K tmp 12G usr 5.1G var
/ 8G
/boot 350M
/home 50G
/usr 20G
/opt 4G
/var 20G
Why is / so bloated? How do I reduce disk usage?
Thanks
Code: Select all
df -h
df -i
Yes, I do the housecleaning regularly. Anyway, cleaning /usr and /var will not free disk space up in / as I have dedicated partitions.did you followed the suggestions given above? please post the output ofCode: Select all
df -h df -i
Code: Select all
sargon / # df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 8.0G 7.6G 1.2M 100% /
/dev/root 8.0G 7.6G 1.2M 100% /
tmpfs 1013M 408K 1012M 1% /run
udev 10M 0 10M 0% /dev
shm 1013M 688K 1012M 1% /dev/shm
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
/dev/sda1 388M 18M 351M 5% /boot
/dev/sda5 50G 22G 27G 46% /home
/dev/sda6 20G 12G 7.3G 62% /usr
/dev/sda7 4.0G 352M 3.5G 10% /opt
/dev/sda8 8.0G 5.3G 2.4G 70% /var
/dev/sdb1 153G 65G 81G 45% /storage/sdb
/dev/sde1 1.9T 1.2T 604G 66% /storage/sdc
/dev/sdd1 149G 2.4G 140G 2% /storage/sdd
Code: Select all
sargon / # df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 524288 4687 519601 1% /
/dev/root 524288 4687 519601 1% /
tmpfs 221379 511 220868 1% /run
udev 221379 506 220873 1% /dev
shm 221379 7 221372 1% /dev/shm
cgroup_root 221379 3 221376 1% /sys/fs/cgroup
/dev/sda1 102400 43 102357 1% /boot
/dev/sda5 3276800 23697 3253103 1% /home
/dev/sda6 1310720 449799 860921 35% /usr
/dev/sda7 262144 782 261362 1% /opt
/dev/sda8 524288 40351 483937 8% /var
/dev/sdb1 10010624 12 10010612 1% /storage/sdb
/dev/sde1 122101760 32120 122069640 1% /storage/sdc
/dev/sdd1 9773056 11 9773045 1% /storage/sdd

This is very strange if you do not fill / with some data which you know: I think portage will install less than 0.5G outside of /usr, /var, and /opt if you made no symlinks to sometihng in / manually. If you have installed kde then probably filelight is the best tool to give you a nice overview how much is used.sinanqapudan wrote:The partitioning schema is the following:
/ 8G
/boot 350M
/home 50G
/usr 20G
/opt 4G
/var 20G
Code: Select all
mkdir /tmp/foo (or another name)
mount --bind / /tmp/foo