This article hasn't been updated for over 5 years. The information below may be obsolete.
Setting the NOTSCAN flag on a volume in NetWorker
I've seen recently that nsrim is unable to remove expired savesets which prevents data domain from performing it's housekeeping and not removing any data from the volumes, which then requires you to manually force this action.
Possible causes include:
- The AFTD/DD volumes are unmounted;
- The AFTD/DD volumes do not have the notscan flag set;
- The DD volumes are flagged with the message “scan needed”.
The only solution I have found is to:
- Run
nsrim —Xto check the consistency of the data structures of the save set with the data structures of the volume; - Unmount the volumes in question, using the
nsrmm —u vol_namecommand; NOTE: Also unmount the volume if mounted against storage nodes - Run
nsrmm —o notscan vol_namecommand to set the desired flag again the volume; - Mount the volumes again, using the
nsrmm —m vol_namecommand; NOTE: Also mount the volumes of the storage nodes (if applicable) - Run
nsrim —Xcommand again to check the consistency of the data structures of the save set with the data structures of the volume.
Note: The results may not be visible immediately; Space may not be reclaimed until after both NetWorker and DataDomain housekeeping tasks have completed.