Welcome! » Log In » Create A New Profile

empty policy log directories ?

Posted by Francis Swasey 
Francis Swasey
empty policy log directories ?
January 31, 2019 08:59AM
For those of you running NetWorker 9.x are you seeing a buildup of empty directories in your /nsr/logs/policy directory tree? They used to have job logs in them but those files have all been deleted by NetWorker leaving the empty directories behind?

If so, how are you dealing with them?

I'm on Linux, and I'm contemplating a weekly "find /nsr/logs/policy -empty -delete" type command...

- Frank

--
This list is hosted as a public service at Temple University by Stan Horwitz
If you wish to sign off this list or adjust your subscription settings, please do so via http://listserv.temple.edu/archives/emc-dataprotection-l.html
If you have any questions regarding management of this list, please send email to owner-emc-dataprotection-l@listserv.temple.edu
This message was imported via the External PhorumMail Module
Re: empty policy log directories ?
January 31, 2019 11:59AM
In regard to: [EMC-DataProtection-L] empty policy log directories ?,...:

> For those of you running NetWorker 9.x are you seeing a buildup of empty
> directories in your /nsr/logs/policy directory tree? They used to have
> job logs in them but those files have all been deleted by NetWorker
> leaving the empty directories behind?

It appears we are. Thanks for pointing them out.

> If so, how are you dealing with them?

Until now, we haven't been. I'll mention them to my coworker that did
the 9.x upgrade.

> I'm on Linux, and I'm contemplating a weekly "find /nsr/logs/policy
> -empty -delete" type command...

I've never used -empty and -delete together. Our idiom for "remove empty
directories whose contents have been cleaned" is typically:

find ${work_dir} -depth -type d \
-exec rmdir --ignore-fail-on-non-empty {} \;

Sometimes with a '-mindepth N' argument, which I would probably consider
using here too. Looks like we could improve that by using '-empty' too.

Tim
--
Tim Mooney Tim.Mooney@ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


--
This list is hosted as a public service at Temple University by Stan Horwitz
If you wish to sign off this list or adjust your subscription settings, please do so via http://listserv.temple.edu/archives/emc-dataprotection-l.html
If you have any questions regarding management of this list, please send email to owner-emc-dataprotection-l@listserv.temple.edu
This message was imported via the External PhorumMail Module
Re: empty policy log directories ?
January 31, 2019 10:16PM
Yes, we have encountered the issue with NW 9.1.1.5 (Windows) as well.

I briefly tested later versions at that time and verififed that this issue has obviously been solved in the meantime.
Sorry, only registered users may post in this forum.

Click here to login