Networker

Re: [Networker] Cleaning out /nsr/tmp ???

2010-07-31 10:40:24
Subject: Re: [Networker] Cleaning out /nsr/tmp ???
From: Yaron Zabary <yaron AT ARISTO.TAU.AC DOT IL>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sat, 31 Jul 2010 17:40:00 +0300
I was considering (and might do this in the future) moving /nsr/tmp as well as /nsr/res/jobsdb to /tmp. This should, in theory (with Solaris swap mounted tmp), improve the performance of these directories and remove altogether the need to clear them. The only problem I can see with this is that NDMP backups can consume a lot of disk space in /nsr/tmp (I have seen as much as 5Gb of disk usage) so your memory and swap should be large enough for that. Also keep in mind that this approach will put more pressure on your memory and will compete with other memory intensive processes (ZFS is also a memory hog). So, if you try this monitor your performance and /tmp available disk space carefully (also in the middle of the night when your NDMP backups are running).

George Sinclair wrote:
A few questions here on /nsr/tmp.

It's currently only 4.6 MB, and it's not being backed up as there is a default /nsr/tmp/.nsr file to skip everything under there, so I'm assuming that EMC doesn't consider this information vital.

1. *If* you shut down NW first, is it safe to remove everything under /nsr/tmp ?

2. When you re-start NW, will it automatically re-create the 'tmp' directory, or will it be necessary to first manually re-create it before restarting NW?

3. I see a number of older lock files under /nsr/tmp and lots of client completion information files named like:

/nsr/tmp/sg/groupname/ss.client.blah-blah-blah.

It looks like these get replaced each day, but regardless, do I really need any of the stuff under /nsr/tmp?

Will removing everything under tmp cause any headaches to NW, e.g. give it heart failure or cause it to fail to operate properly, wherein maybe somehow it might expect to see previous information stored under there somewhere, but now it can no longer access it?

4. Is it recommended to periodically clean out tmp?

Thanks.

George


--

-- Yaron.

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER