1824964 Members
3414 Online
109678 Solutions
New Discussion юеВ

Ok to delete or NOT!

 
Alexander Pino, Sr.
Frequent Advisor

Ok to delete or NOT!

Gentlemen/Ladies:

Can I safely delete all or any portion of the file(s) called: pacct, ps_data, Located in /var/adm ??

How about the tombstones files ts* ?? Located in /var/tombstones?

I have an L-Class server running 11.0 and OmniBack-II 3.5.

All responses are greatly appreciated in advance.

Alex.
It is, what it is!
8 REPLIES 8
Mark Vollmers
Esteemed Contributor

Re: Ok to delete or NOT!

I'm not sure about the tombstones, but in general, you should be very careful about deleting files in /var. Is there a particular reason why you want to dump this file (low disk space, etc)? Personally, I'll go through and clean up most of the directories, but I just leave stuff in /var, since I'm always afraid that I'll end up screwing up something. The best bet is if you're not sure, leave it. At any rate, be sure to back it up if you decide to toast it. Just my opinion.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Vincenzo Restuccia
Honored Contributor

Re: Ok to delete or NOT!

Vincenzo Restuccia
Honored Contributor

Re: Ok to delete or NOT!

boley janowski
Trusted Contributor

Re: Ok to delete or NOT!

Alexander,

If you have alot of tombstones yes you can remove them, but you want to keep the last couple, remeber these tell about hardware problems that you may encure. If you are experencing any problems, you may want to hold off until they have been reviewed.
James R. Ferguson
Acclaimed Contributor

Re: Ok to delete or NOT!

Hi:

Hi:

'tombstone' files contain hardware diagnostic information which is important in the event of a hardware failure. The most recent is '99', then '98', etc. in descending order. These logs are created during a boot. If you aren't having any hardware problems, I'd keep the last three logs and discard the rest.

...JRF...
Bill McNAMARA_1
Honored Contributor

Re: Ok to delete or NOT!

If you're not considering removing any of your patches you might want to delete /var/adm/sw/save

If you need to remove a patch and replace a previous version it will not work after that.. but.. how often do you swremove?

Later,
Bill
It works for me (tm)
eran maor
Honored Contributor

Re: Ok to delete or NOT!

Hi

i will also use the cleanup script to delete all the old patches that you have.

also you can purge the tombstones but i will copy them to a diff loc.

also you can try to find core files that mybe is in the /var but i geust that you did it .

love computers
Alexander Pino, Sr.
Frequent Advisor

Re: Ok to delete or NOT!

Guys/Gals:

thank you all very vey much for your help and responses. ps_data is a binary file containing a mapping of major and minor numbers to device file names. You CAN, if need be, zero out this file as it will get rebuilt.

The same hold true for file "pacct". It can be trimmed or deleted, depending on your disk space issue.

Alex.
It is, what it is!