Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My problem is that my /var partition is over 80% (total size: 4.9G). I was reviewing the files into this partition and I saw a file which has 3.4G. (/var/lib/pengine)

I dig into that /pengine file and I saw it is full of .bz2 extension files. I want to move these files but I would like to know if is risky or not.

share|improve this question

migrated from stackoverflow.com Mar 11 '12 at 4:04

This question came from our site for professional and enthusiast programmers.

    
Actually, I don't understand your problem. Could you make it more clear? –  ciphor Mar 11 '12 at 2:23
    
I edited the main message :) –  Martin_911 Mar 11 '12 at 2:47
    
How about file names? –  Karlson Mar 11 '12 at 4:39
    
add comment

2 Answers 2

up vote 1 down vote accepted

bz2 is a type of data compression, it soesn;t tell anything about the purpose of the files .

Pengine (whatever that is, a game?) probably needs them.

If the files are using up most of the space on var you could consider moving them to a partition with more space eg /home

# umask 22
# mkdir /home/var_lib_overflow
# mv /var/lib/pengine /home/var_lib_overflow/
# ln -s /home/var_lib_overflow/pengine /var/lib/

FHS suggests they could be "crash recovery files" from an editor in whih case they should go away by themselves.

share|improve this answer
add comment

/var/lib/pengine are files used by pacemaker. There are probably lots of them, but I doubt theyre taking up much space. Pacemaker is a high-availability utility, so this means that box is probably a mission-critical box, and so I wouldnt mess around with it if you dont know what youre doing.

However Jansen is correct in that the extension of the file means nothing as to whether you can delete it.
The best idea if you want to delete files that you dont know if theyre needed is to move them to an alternate location. If the system continues to operate normally, you can delete them. If the system has issues, put them back.

share|improve this answer
    
Thanks for your comments and your ideas, but unfortunately I can't take any risk because is a production server but anyways, vendor came and solved just moving the logs to another file. Thank you again for your support as always. –  Martin_911 Mar 21 '12 at 0:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.