Resolving NetWorker media database corruption
The scope of this post is to provide a procedure resolving a common issue whereby NetWorker does not recycle tapes due to index corruption.
The scope of this post is to provide a procedure resolving a common issue whereby NetWorker does not recycle tapes due to index corruption.
In versions of NetWorker 7.4.x and below, it was always possible to use nsrmm to delete savesets that exist on disk backup units
To verify the integrity of the NetWorker client file indexes use the nsrck command and to verify media database use nsrim.
nsrim be default is executed by nsrd after a savegrp completes it's cycle.
A NetWorker volume expiration date is set by default at two years from the date that the volume was most recently labelled.
This procedure addresses how to reduce the index size by removing the oldest full save set and its dependencies.
This can occurs when Relabelling existing or new media via the command line or using the GUI where cartridge barcode differ to the internal label
nsrim is unable to remove expired savesets which prevents data domain from performing housekeeping and prevents removing any data from the volumes
This article will illustrate the tools, concepts and techniques that you can use to develop your own custom NetWorker index management procedure.
A word of caution: before you begin removing a client, make sure you have a recent bootstrap backup; If we make any mistakes we can easily recover