System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Taking make tape backup while the root file system is nearing full

Jeeshan
Honored Contributor

Taking make tape backup while the root file system is nearing full

Hi

One of my server's root file system (/) is 85% filled up. And now i'm gonna take make_tape backup. During this backup in lvmconf folder there will be some vg.old file and will increase root file system.

How will i avoid this?
a warrior never quits
6 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: Taking make tape backup while the root file system is nearing full

Hi Jeeshan:

You an always remove (or move to another directory) the '/etc/lvmconf/vg*.old' fiiles before you begin the 'make_tape_recovery'. Then, the current files will be renamed "*.old" and new backups will be created.

Regards!

...JRF...
UVA
Regular Advisor

Re: Taking make tape backup while the root file system is nearing full

Hi,

you can safely move those file's to some other filesystem. it will be recreated.
Steven E. Protter
Exalted Contributor

Re: Taking make tape backup while the root file system is nearing full

Shalom,

You should do this:

du -k | sort -rn | more

From /

Identify the location of some large files and clear them out.

The root fs is not a place where regular files besides some configuration files belong.

make_tape_backup however stores its temporary files in /var filesystem and should be able to be run under these circumstances.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeeshan
Honored Contributor

Re: Taking make tape backup while the root file system is nearing full

I'm not talking about the /etc/lvmconf/*.old files.

I have deleted all *.old files from /etc/lvmconf. but still the / size is 88%. I afraid while taking backup the /size will be 100%.

How can I eliminate to filled up / file system full?
a warrior never quits
Raj Briden
Frequent Advisor

Re: Taking make tape backup while the root file system is nearing full

try this command to find out who is taking more size

du -sk * |sort -n |tail.

share bdf output
Viktor Balogh
Honored Contributor

Re: Taking make tape backup while the root file system is nearing full

Hi Jeeshan,

You can also check for unlinked files. These are the files that were deleted but some processes are connecting to. They consume filesystem space until their processes get killed.

What is the output of:

# lsof +D / +L1 | awk '$8 == "0" || /NLINK/'

For further explanation see the posts:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1272266216476+28353475&threadId=1341750

and

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1376427
****
Unix operates with beer.