Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Kul
Contributor
Jump to solution

how to clear disk space

LVM overview
============
Size(GB) Used(GB) Configurable Description
hwdiag 1 1 no Snapshot volume
lv_current 35 27 yes Check Point OS and products
lv_fcd_GAIA 5 5 no Factory defaults volume
lv_fcd_NGSE 5 5 no Factory defaults volume
lv_fcd_R75.47sg 5 5 no Factory defaults volume
lv_log 698 266 yes Logs volume
lv_mgmt25july18 15 15 no Snapshot volume
lv_snapshot 7 7 no Snapshot volume
lv_snapshot11july 12 12 no Snapshot volume
upgrade 39 N/A no Reserved for version upgrade
swap 9 N/A no Swap volume size
free 98 N/A no Unused space
------- ----
total 931 N/A no Total size

[Expert@CP-MGMT:0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current
35G 27G 5.8G 83% /
/dev/sda1 289M 116M 159M 43% /boot
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/mapper/vg_splat-lv_log
677G 266G 376G 42% /var/log

 

Hello experts,

Above info shows 
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current
35G 27G 5.8G 83% /
how do i free the space?

I am afraid i might delete some data which might crash the system.i would like to take safety measures and expert advices 

thanks 

 

 

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
FedericoMeiners
Advisor

Hello,

Best advice is to follow SK60080 and use du command (disk usage) - Disk space tips and tricks for SecurePlatform / Gaia / IPSO / Linux OS

Most of the time most space is due to logs ($FWDIR/log) and previous JHF.

Hope it helps!

____________
https://www.linkedin.com/in/federicomeiners/

View solution in original post

4 Replies
FedericoMeiners
Advisor

Hello,

Best advice is to follow SK60080 and use du command (disk usage) - Disk space tips and tricks for SecurePlatform / Gaia / IPSO / Linux OS

Most of the time most space is due to logs ($FWDIR/log) and previous JHF.

Hope it helps!

____________
https://www.linkedin.com/in/federicomeiners/
Kul
Contributor
i cleared my log files
0 Kudos
FedericoMeiners
Advisor

Glad I could help, another advise is to set up a cron job that clean your logs each X days, you can even make the script to upload them to a ftp/sftp.

Regards

____________
https://www.linkedin.com/in/federicomeiners/
0 Kudos
Paul_Mainhardt1
Participant

It appears that / is the mount point that is filling up. The quickest and safest ways is to clear up unnecessary files in /home.

If you run a du -hs /home/*     then you should see the user with the largest home directory and then remove unnecessary files like cpinfos, database exports, etc.

 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events