1825711 Members
3139 Online
109686 Solutions
New Discussion

Delete .old files

 
Waqar Razi
Regular Advisor

Delete .old files

My root file system is full on one of hpux servers due to ignite backup. THe backup is still going on, can I delete the old files in /etc/lvmconf directory. I have checked the recovery.log in /var/opt/ignite/recovery/latest directory, it is showing the following status:

/var/opt/ignite/recovery/2008-10-01,11:17/flist -a 8273690

* Preparing to create a system archive.

* Archiving contents of apple via tar image to local device /dev/rmt/0mn.

My question is that can I delete the .old files in /etc/lvmconf while the ignite backup is going on?
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: Delete .old files

Yes, if you feel you no longer need them.

But this will probably not give you a lot of free space ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: Delete .old files

Hi,

as said by Torsten, yes, but what do you want?
How much files, how much disk space will this offer you?
You should try to solve the real problem - which root file system is full - where you want to take the ignite - than that doesn't matter at all.
At the system where you want to store the backup - then you'll have a bigger problem:
your system says:
Archiving contents of apple via tar image to local device /dev/rmt/0mn
This is a tape device - if this device doesn't exists, your /dev directory is just filled with an ignite image.
You have to stop the image creation and delete this image file!
Then start again with the proper path.

Volkmar
*** Say 'Thanks' with Kudos ***
Suraj K Sankari
Honored Contributor

Re: Delete .old files

Hi,
Apart from this method you can search for big files, old core files which are taking more spaces or used lsof to check big open files.

find /yourpatch -xdev -type f -size +100000c
find / -name core -print

lsof +L1

Suraj
Tim Nelson
Honored Contributor

Re: Delete .old files

Could you post your HPUX version and bdf output.

We can help you compare with our systems and maybe give you an idea of where to look.

One big reason typically for / to be full is a typo during a backup.

e.g. fbackup -f /dev/rmt/mn0 will create a file called mn0 in /dev/rmt.

find /dev -type f
should not return anything.

next steps would be running a du -sk on each non-mount point under / and comparing to a good system. (e.g. du -sk /etc, du -sk /sbin, du -sk /dev )