1836535 Members
5063 Online
110102 Solutions
New Discussion

remove /var

 
hpuxhelp
Regular Advisor

remove /var

I clean up all the fileset on /var/adm/sw/save
will this cause any grief on my system...??
i didn't remove the directory /var/adm/sw/save
just the contents insdide that directory
10 REPLIES 10
James A. Donovan
Honored Contributor

Re: remove /var

It would make patch rollbacks problematic, but otherwaise shouldn't cause you any grief.
Remember, wherever you go, there you are...
hpuxhelp
Regular Advisor

Re: remove /var

Is this so critical that without those file
set in there my system will crash???? or if I want to update any patches is this going to give me grief??
James A. Donovan
Honored Contributor

Re: remove /var

Nothing in that directory is "critical". You only need those files if you wanted to rollback to a previous patch.
Remember, wherever you go, there you are...
Con O'Kelly
Honored Contributor

Re: remove /var

Hi

In case you're not aware look at using the cleanup command in future.
Example
# cleanup -c 2
(Committs all patches superseeded twice)

This is designed to cleanup the /var/adm/sw/save directory properly.

Cheers
Con
Michael Steele_2
Honored Contributor

Re: remove /var

Its used with swremove and other rollbacks.

When disks were smaller copying /var/adm/sw/save to tape and removing it was common enough. And as long as you have it on tape it shouldn't be an issue.

But why blow it away? Are you that short of disk? Mistake? Got a make_tape_recovery backup?
Support Fatherhood - Stop Family Law
hpuxhelp
Regular Advisor

Re: remove /var

it was because we are short of disk space..
but I already did it...all i am care so much right now is that it doesn't cause system to panics or to crash... due to the removeal of the contents
Michael Steele_2
Honored Contributor

Re: remove /var

Everything under /var/adm/sw is SD-UX specific. And only problem would arise with a non-bootable kernel requiring you to swremove patches. 99% this would be recently installed. But once in awhile HP will recall a patch.
Support Fatherhood - Stop Family Law
Jeff Schussele
Honored Contributor

Re: remove /var

No, it won't cause a crash or any problems in & of itself.
But you're screwed if a patch gets recalled & you have to remove it. Not gonna happen.

There are reasons to make recovery tapes - THIS is #1.

Cheers,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bill Hassell
Honored Contributor

Re: remove /var

Removing the files without using the cleanup command may leave the patch state of your machine undefined. Hopefully you made a backup of that directory prior to removing the files. If you are successful in adding a new patch, then you should be OK. Otherwise, you may never be able to add new software or patches using swinstall. /var is crucial to the system and should be at least 1000 to 2000 megs in size but managed regularly. If you were to remove everything in the sw directory, I know you'll never be able to run swinstall again, not sure about sw/save.


Bill Hassell, sysadmin
Adisuria Wangsadinata_1
Honored Contributor

Re: remove /var

Hi there,

I refer you the document about 'How do I reclaim space in /var/adm/sw/save on an 11.0 system?' at this url for your reference to resolve your problem :

http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSearchResults?mode=id&searchString=KBRC00002204

Hope the information can help you.

Best Regards,
AW
now working, next not working ... that's unix