- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hi,
SmartConsole says that there is 20.44GB left for the /var/log
While command line says 8.3 GB left.
Can someone please explain why it's shown different free space left?
You might need to increase the lv_log partition via the LVM manager. Sks sk105509 and sk95566 might help.
Could it be that it's because of the reserved backup partiton for System backup that has location /var/log/CPbackup/backups?. Any way to find out how much is reserved for System backup?
I was wondering, would I be righto assume that you used the df -h command to produce the output you have shared? If so, could you run the following command please and share the output:
df -h | grep -E "Size|/var/log"
Thanks.
Yes, I was running the df -h command.
Here is the output of what you requested:
Thanks Ed,
I think we are getting somewhere now.
If you subtract the 216G used from the total size of the partition (238G) you should get 22G, closer to what the GUI indicates. Instead however you get 9.4G worth of disk space, leaving 12.6G unaccounted for. According to sk115862, the cause of the problem comes down to the design of the file system.
As a result, I would do the following as per sk115862 which seems to be quite relevant here:
Check the allocated disk space in number of blocks (instead of TB/GB/KB) using the df -B command:
[Expert@HostName:0]# df -B 4096
Example:
[Expert@HostName:0]# df -B 4096
Filesystem 4K-blocks Used Available Use% Mounted on
/dev/mapper/vg_splat-lv_current
50786990 9815382 38350168 21% /
/dev/sda1 73891 19612 50464 28% /boot
tmpfs 1029981 0 1029981 0% /dev/shm
/dev/mapper/vg_splat-lv_log
330115223 334508 312741355 1% /var/log
[Expert@HostName:0]#Calculate the number of reserved blocks:
Subtract the (Used) and the (Available) from the total (4K-blocks).
Example:
Reserved = (Total) - (Used) - (Available) = (330115223) - (334508) - (312741355) = 17039360 blocks
Verify the number of reserved blocks in the file system using the tune2fs command:
[Expert@HostName:0]# tune2fs -l /dev/mapper/vg_splat-lv_log | grep '[Bb]lock \(count\|size\)'
Example:
[Expert@HostName:0]# tune2fs -l /dev/mapper/vg_splat-lv_log | grep '[Bb]lock \(count\|size\)' Block count: 340787200 Reserved block count: 17039360 Block size: 4096 [Expert@HostName:0]#
I hope this helps.
tune2fs does not work on XFS filesystems.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 19 | |
| 16 | |
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY