Article Number: 000022559
It is advised to take a snapshot and disable cleaning on the Data Domain, perform a NetWorker Server Protection backup and make a copy of NetWorker databases (res, mm, index). Also rename the nsrim binary to prevent the scheduled daily run of nsrim while this procedure is being carried out. Bootstrap backups can be confirmed on the NetWorker server using:
mminfo -B
How to manually delete save sets which are within the retention period but no longer needed? Hard Drive space is filled up due with savesets that are still within their retention period.
Prerequisite: This process can only be used for deleting savesets on AFTD (Advanced File Type Devices), FTD (File Type Devices) and Data Domain (ddboost) devices. You cannot delete individual savesets from a tape volume, even if that tape volume is on a VTL, because the entire volume must be relabeled in order to reclaim space.
(quotes are needed around the query when using spaces or special characters):
SYNTAX:
mminfo -avot -q pool=<mediapool>
EXAMPLE:
mminfo -avot -q pool=LinuxPool
mminfo -avot -q pool=LinuxPool
SYNTAX:
mminfo -avot -q client=<client_hostname>,volume=<vol1_name>,volume=<vol2_name>
EXAMPLE:
mminfo -avot -q client=linuxhost1,volume=LinuxPool.001,volume=LinuxPool.002
EXAMPLE:
mminfo -avot -q type=Data Domain,type=adv_file,recoverable
EXAMPLE:
mminfo -avot -q sscreate<=30 days ago
SYNTAX:
mminfo -avot -q group=<group_name>,sscreate>=<start_date>,sscreate<=<end_date>
EXAMPLE:
mminfo -avot -q group=WinBackup,sscreate>=1/1/2013,sscreate<=2/1/2013
NetWorker: How to use mminfo command with different switches
The NetWorker Command Reference Guide also provides details on the mminfo command.
If you specify a saveset ID without the clone ID, it deletes all instances of that saveset, including the clones:
nsrmm -o recyclable -S <ssid> | nsrmm -o recyclable -S <ssid/cloneid>
nsrim -X
The deletions are recorded in the daemon.raw log, and also reported in the NMC user interface log under the Maintenance tab.
nsrstage -C -V <volume name>
Deleting multiple savesets using batch/shell script commands.
<mminfo command> -r ssid,cloneid -xc/
EXAMPLE:
mminfo -avot -q client=linuxhost1 -r ssid,cloneid -xc/
mminfo command -r ssid,cloneid -xc/> > ssid.txt
EXAMPLE:
mminfo -avot -q client=linuxhost1 -r ssid,cloneid -xc/ > ssid.txt
for /f %%A in (ssid.txt) do @nsrmm -o recyclable -y -S %%A
for x in `cat ./ssid.lst`; do nsrmm -o recyclable -y -S $x; echo $x; done
nsrim -X
nsrstage -C -V <volume_name>
NetApp
For NetApp AFTD devices, the space will not immediately become available, depending on a couple of factors:
If snapshots are being taken of the CIFS/NFS file system where the adv_file device resides, the snapshots must expire before any of the data becomes available for cleaning. If the filer is under heavy load, deletions may take an extended period because space reclamation is a low-priority background operation.
Data Domain
For Data Domain DDBoost devices, freeing up space requires the Data Domain Cleaning operation to run.
By default, Data Domain only operates disk cleaning once a week on Tuesday. You can manually start the process from the Data Domain Enterprise Manager user interface (Data Management > File System > Start Cleaning).
NetWorker
NetWorker, NetWorker Series
24 Nov 2023
7
How To