How to free space on Data Domain for allready deleted save sets from networker
database
Hello
I deleted lots of save sets manually with command: nsrmm -dy -S "ssid/cloneid"
then for all those save sets I executed nsrstage -C -V "volumeName"
All save set that I deleted were within its retention times.
At that time I didn't know that this only deletes the client file indexes and media database entries from the NetWorker database and that it will not free space on Data Domain storage.
How can I free space on Data Domain for those deleted save sets?
Once you delete ssid's from networker and run nsrstage, you can log in to Enterprise Manager's Data Domain and you should see Cleanable Space. If you are running out of space, you can manually run cleaning in data domain. If you have available space, you can wait for next cleaning task.
I think this case is going to a complex way... Ussual situation is like this:
1. Networker is backing up normally
2. Nobody pays attention to data domain
3. Networker stops backups
4. Now, admin can see that Data Domain is on 100%
5. Admin manually deletes old savesets and run nsrim, nsrstage
6. Data Domain shows cleanable space.
7. Admin run cleaning in data domain (and wait for 2 or 3 days more, while ends)
8. All is running again, and lesson is learned.
Some step in the middle, if environment has tape or something else... admin redirect backups there.
Now, my question is: why are you running scanner? Why are you trying to recreate media/fileindex databases?.
NOTE: if you run scanner on data domain, it goes to read only mode. Then, you have to unmount the volume, change to appendable, and remount it.When volume is read only, cannot clean space.
If your savesets are not present in media index, you need to focus your attention in data domain in order to find the reason why cannot clean deleted savesets.
Above commands free up the space of deleted savesets for AFTD or file device. For Data Domain DDBoost device, freeing up space requires Data Domain Cleaning operation. By default, Data Domain only operates disk cleaning once a week on Tuesday. You can run Cleaning operation on Data Domain web GUI under Data Management > File System > Start Cleaning.
But this doesn't work. When I try to recycle certain SSID the command returns:
looks weird as you identify the SS by the SSID. There is no need to specify neither browse or retention date.
You simple overrule the dates by specifying the status 'recyclable'. I don't even know if such combination of parameters is accepted at all. Setting a disk SS to recyclable will delete it (immediately or after a short delay) from the media.
You can enforce this automatism by starting the process immediately (nsrim). 'nsrstage -C' is not really ncessary.
But of course this is all NW - he does not really know the internal characteristics of a DD. That's why you have to initiate the 'garbage collection' on that device separately (or you just wait).
But this is really weird:
>> When I try to recycle certain SSID the command returns: 5875:nsrmm: save set "ssid" does not exist <<
- Please stay consistent with the terminology: You cannot recycle a single save set - only the whole media
- What do you want to achieve: 're-adding' a save set where you already have deleted its MDB entries?
How shall NW resolve the ssid now? - the MDB does not know it any longer!
This is when you could use 'scanner' - to scan the media/device for unknown save sets.
However, this only makes sense for tapes - as mentioned above, NW will delete the SSs from disks automatically.
So most likely, they are gone right after you issued the delete command.
You get that when your input file has header which contains column title which is ssid. Remove that first line and you should be fine.
Removing data from DD happens on next DD cleanup. Check when that is with filesys clean show config command. How much it is estimated to be cleaned you can see via df command. And if next cleaning is too far away for you, you can run filesys clean start to kick it right away once nsrmm is done (I would suggest to run nsrim -X after that and once cleanup on devices is done, then proceed to DD part).
before I recycled thos few SSIDs I checked one by one to see if they are visible in networker console and there were no such SSIDs.
So if command scanner -m device_name
recreates entries in media database onlyI presume that scanner command only returns my deleted SSIDs vhich are still on volume but not visible in media and index db?
This is important to me beacuse I don't have list of deleted SSIDs.
is it possible pipie result of scanner command to a file ?
Why would you run scanner command if you wish to get rid of data? (hint: on media server you need to run it with -s as otherwise it will assume it runs on server already)
ledugarte
1 Rookie
•
96 Posts
6741
1
Posted March 20th, 2017 09:00
Once you delete ssid's from networker and run nsrstage, you can log in to Enterprise Manager's Data Domain and you should see Cleanable Space. If you are running out of space, you can manually run cleaning in data domain. If you have available space, you can wait for next cleaning task.