Skip to main content

/dev/mapper/centos-root is 100% full

Comments

2 comments

  • smarthosting
    lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home centos_s22 -wi-ao---- 412.89g root centos_s22 -wi-ao---- 50.00g swap centos_s22 -wi-ao---- 11.81g [root@s2 ~]# du -x / | sort -nr | head -20 78976184 / 40761084 /usr 36565520 /var 30401924 /usr/share 29450740 /usr/share/cagefs-skeleton 20312796 /usr/share/cagefs-skeleton/var 18706380 /var/lib 18457456 /usr/share/cagefs-skeleton/var/lib 18444908 /var/lib/mysql 18444908 /usr/share/cagefs-skeleton/var/lib/mysql 8313764 /var/log 7778240 /usr/local 7694784 /usr/local/cpanel 6090872 /usr/share/cagefs-skeleton/usr 5548212 /var/cpanel 4892248 /var/cpanel/bandwidth 4023668 /usr/local/cpanel/logs 3917068 /usr/share/cagefs-skeleton/usr/local 3573752 /usr/share/cagefs-skeleton/usr/local/cpanel 3108976 /usr/local/cpanel/logs/archive [root@s2 ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home centos_s22 -wi-ao---- 412.89g root centos_s22 -wi-ao---- 50.00g swap centos_s22 -wi-ao---- 11.81g [root@s2 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 475.9G 0 disk ??sda1 8:1 0 200M 0 part /boot/efi ??sda2 8:2 0 1G 0 part /boot ??sda3 8:3 0 474.7G 0 part ??centos_s22-root 253:0 0 50G 0 lvm / ??centos_s22-swap 253:1 0 11.8G 0 lvm [SWAP] ??centos_s22-home 253:2 0 412.9G 0 lvm /home sdb 8:16 0 237.5G 0 disk ??sdb1 8:17 0 237G 0 part /home5 loop0 7:0 0 2.2G 0 loop /var/tmp
    0
  • cPRex Jurassic Moderator
    Hey there! / contains all data that isn't inside of another partition. Looking at your specific output, this would include areas like /usr, /var, /root, and other areas of the system outside of /home. I like to use "du -h --max-depth 1" starting from /, and then working my way down through the directories until I find things I can remove.
    0

Please sign in to leave a comment.