PDA

View Full Version : "/dev/mapper/vg_splat-lv_current" FULL --- Help



o0000o
2009-05-04, 07:24
Hi all,

when I run "df -h" on my checkpoint UTM-1, I get that information:




Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current
7.9G 7.9G 0 100% /
none 7.9G 7.9G 0 100% /dev/pts
/dev/sda1 145M 9.7M 128M 8% /boot
none 498M 0 498M 0% /dev/shm
/dev/mapper/vg_splat-lv_log
60G 37M 57G 1% /var/log



Anybody knows possible reasons and how to fix please help me!
Thanks alot!

melipla
2009-05-04, 13:15
Find where all the space is being used from expert mode:

cd /
du -k >/var/tmp/disk.usage
sort -n /var/tmp/disk.usage -o /var/tmp/disk.usage.sorted
tail -100 /var/tmp/disk.usage.sorted

You you move the files to a non-busy spot (say /var/tmp), you may need to restart "cpstop" "cpstart".

HTH

o0000o
2009-05-18, 03:40
Find where all the space is being used from expert mode:

cd /
du -k >/var/tmp/disk.usage
sort -n /var/tmp/disk.usage -o /var/tmp/disk.usage.sorted
tail -100 /var/tmp/disk.usage.sorted

You you move the files to a non-busy spot (say /var/tmp), you may need to restart "cpstop" "cpstart".

HTH

Hi, thanks melipla very much for your support.

After running your recommended commands, I got:



---- <output opmitted> ----

622784 ./sysimg/CPwrapper
622792 ./sysimg
722084 ./opt
773952 ./var/log
1041452 ./proc
4360680 ./var/opt/CPsuite-R65/fw1/tmp
4556496 ./var/opt/CPsuite-R65/fw1
4556500 ./var/opt/CPsuite-R65
4857000 ./var/opt
5648556 ./var
8155290 .


Based on that info, I doubt that /var/opt/CPsuite-R65/fw1/tmp directory could make problem. I listed /var/opt/CPsuite-R65/fw1/tmp and saw so many files like that:



---- <output opmitted> ----

-rw-rw---- 1 root root 4367 May 12 20:27 file0BcxZN
-rw-rw---- 1 root root 6049 May 18 09:39 file0BgnDa
-rw-rw---- 1 root root 392 May 12 10:56 file0Bic7P
-rw-rw---- 1 root root 627 May 16 02:06 file0BkRZT
-rw-rw---- 1 root root 339 May 14 01:43 file0Bm3tS
-rw-rw---- 1 root root 524288 May 14 08:29 file0Bok0r
-rw-rw---- 1 root root 116 May 17 17:18 file0BozZJ
-rw-rw---- 1 root root 109 May 8 15:52 file0BrRKE
-rw-rw---- 1 root root 348 May 14 13:22 file0BtjL2
-rw-rw---- 1 root root 912 May 13 14:39 file0Bubfc

---- <output opmitted> ----



I don't know what those files can be used for, can I delete them?
Anybody knows solution for my problem please guide me, thank you very much!

o0000o
2009-05-18, 21:55
Perhaps I solved my problem.
Thank you very much for your reading and helping everybody!

dipak_999
2011-06-03, 23:34
Can you please let me know how you have solved this problem? I know how to resize partition how ever i want to know any other solution like cleaning logs are other files.

serlud
2011-06-04, 13:32
Can you please let me know how you have solved this problem? I know how to resize partition how ever i want to know any other solution like cleaning logs are other files.

CP has produce hotfix but only for R75, if you would like you should contact CP and ask for hotfix for R65/R70/R71..
filename: fw1_HOTFIX_FOXX_HF_BASE_007.tgz
md5sum: 1cc68630f7bf61e6b4156bb553f4811e

This hotfix will deleted or prevent to have folowing files:
...........
-rw-rw---- 1 root root 4367 May 12 20:27 file0BcxZN
-rw-rw---- 1 root root 6049 May 18 09:39 file0BgnDa
...........

onyxwolf
2011-08-31, 13:24
I've got a customer with the system partition full, like above; however, there are not the similar files that the hotfix would fix. He does have a /var/opt/CPsuite-r75/fw1/tmp directory that is almost 1.6 GB in size. The largest directory within it is a migrate/ (1.3 GB).

Why is there a migrate directory in that tmp directory?

Is it ok (after a cpstop of course) to clear that tmp directory?