LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   /dev/mapper/cs-root utilizing 100% storage (https://www.linuxquestions.org/questions/centos-111/dev-mapper-cs-root-utilizing-100-storage-4175722824/)

ajgonzalez18 03-08-2023 07:05 AM

/dev/mapper/cs-root utilizing 100% storage
 
Hello All,

I am running CentOS 8 OS in an ESXi 6.7 VM environment for Syslog. I'm utilizing the Syslog-ng OSE tool-set. I have configured the syslog-ng tool to redirect the logs to my /home/ drive partition as it contains more storage. My issue is that my disk /dev/mapper/cs-root is reaching 100% utilization and I'm having difficulty tracking down what is causing that.

I've ran df -h and it shows the following:

Filesystem------------------- Size----Used----Avail-----Use----Mounted on
devtmpfs--------------------- 3.8G-----0------3.8G-------0------/dev
tmpfs------------------------ 3.8G-----0------3.8G-------0%-----/dev/shm
tmpfs------------------------ 3.8G--226M------3.6G-------6%-----/run
tmpfs------------------------ 3.8G-----0------3.8G-------0%-----/sys/fs/cgroup
/dev/mapper/cs-root---------- 70G---70G-------52K-----100%-----/
/dev/sda2--------------------1014M--340M------675M------34%-----/boot
/dev/sda1-------------------- 599M--7.3M------592M-------2%-----/boot/efi
/dev/mapper/cs-home---------- 5.0T--194G------4.8T-------4%-----/home
tmpfs------------------------ 770M---12K------770M-------1%-----/run/user/42
tmpfs------------------------ 770M--4.0K------770M-------1%-----/run/user/1000

My partitions are split as follows:

Disk /dev/mapper/cs-root: 70 GiB, 75161927680 bytes, 146800640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cs-swap: 7.9 GiB, 8476688384 bytes, 16556032 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cs-home: 4.9 TiB, 5412212441088 bytes, 10570727424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


When I navigate to each folder found on / and run the du -sh command I get the following total:

/ = 70 GB Total Storage
229M = /bin/
308M = /boot/
0 = /dev/
32M = /etc/
159G = /home/ --> made into its own partition of 4.1TB
1.3G = /lib/
1.1G = /lib64/
0 = /media/
0 = /mnt/
1.5G = /opt/
0 = /proc/
124K = /root/
226M = /run/
73M = /sbin/
0 = /srv/
0 = /sys/
36K = /tmp/
4.8G = /usr/
2.7G = ./var/

/ = 10G utilized
home = 159G utilized

total 169G

What am I missing?

ajgonzalez18 03-08-2023 09:02 AM

Quote:

Originally Posted by ajgonzalez18 (Post 6416193)
Hello All,

I am running CentOS 8 OS in an ESXi 6.7 VM environment for Syslog. I'm utilizing the Syslog-ng OSE tool-set. I have configured the syslog-ng tool to redirect the logs to my /home/ drive partition as it contains more storage. My issue is that my disk /dev/mapper/cs-root is reaching 100% utilization and I'm having difficulty tracking down what is causing that.

I've ran df -h and it shows the following:

Filesystem------------------- Size----Used----Avail-----Use----Mounted on
devtmpfs--------------------- 3.8G-----0------3.8G-------0------/dev
tmpfs------------------------ 3.8G-----0------3.8G-------0%-----/dev/shm
tmpfs------------------------ 3.8G--226M------3.6G-------6%-----/run
tmpfs------------------------ 3.8G-----0------3.8G-------0%-----/sys/fs/cgroup
/dev/mapper/cs-root---------- 70G---70G-------52K-----100%-----/
/dev/sda2--------------------1014M--340M------675M------34%-----/boot
/dev/sda1-------------------- 599M--7.3M------592M-------2%-----/boot/efi
/dev/mapper/cs-home---------- 5.0T--194G------4.8T-------4%-----/home
tmpfs------------------------ 770M---12K------770M-------1%-----/run/user/42
tmpfs------------------------ 770M--4.0K------770M-------1%-----/run/user/1000

My partitions are split as follows:

Disk /dev/mapper/cs-root: 70 GiB, 75161927680 bytes, 146800640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cs-swap: 7.9 GiB, 8476688384 bytes, 16556032 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cs-home: 4.9 TiB, 5412212441088 bytes, 10570727424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


When I navigate to each folder found on / and run the du -sh command I get the following total:

/ = 70 GB Total Storage
229M = /bin/
308M = /boot/
0 = /dev/
32M = /etc/
159G = /home/ --> made into its own partition of 4.1TB
1.3G = /lib/
1.1G = /lib64/
0 = /media/
0 = /mnt/
1.5G = /opt/
0 = /proc/
124K = /root/
226M = /run/
73M = /sbin/
0 = /srv/
0 = /sys/
36K = /tmp/
4.8G = /usr/
2.7G = ./var/

/ = 10G utilized
home = 159G utilized

total 169G

What am I missing?

SOLVED: It looked like a made changes a while back and never rebooted which cleared out some of my cached. Simple reboot freed up my space.


All times are GMT -5. The time now is 06:21 PM.