LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-08-2023, 07:05 AM   #1
ajgonzalez18
LQ Newbie
 
Registered: Mar 2023
Posts: 2

Rep: Reputation: 0
Question /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?

Last edited by ajgonzalez18; 03-08-2023 at 08:12 AM.
 
Old 03-08-2023, 09:02 AM   #2
ajgonzalez18
LQ Newbie
 
Registered: Mar 2023
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ajgonzalez18 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/mapper/VoTgroup-Iv_root contains a file system with errors, check forced. Ubattached inode 2624285root: /dev/mapper/VoIgroup-Iv_root: U yba Fedora 3 08-04-2022 07:16 AM
[SOLVED] /dev/sda2 root swap partition deleted accidentally while increasing the partition space of /dev/mapper/rhel-root space bomabay123 Linux - Enterprise 5 12-05-2020 11:28 PM
Configur sftp chroot utilizing Windows DFS as the backend storage itanium3 Linux - Newbie 0 10-01-2015 10:44 AM
/dev/mapper/system-usr is 100% how to I free-up this? dennis_batch27 SUSE / openSUSE 1 11-05-2011 01:15 AM
Rsync utilizing CPU to 100% ! dhanju Linux - Server 4 04-30-2008 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration