When in Data Protector media of a StoreOnce software store become expired, the used disk space is not released immediately. The disk space will be released once the media is overwritten or deleted. The housekeeping process running in the background to release the space will start only when the media is no longer used in Data Protector. Housekeeping requires time and the disk space is not released immediately. At the moment it is not possible to control the housekeeping process via Data Protector (see blackout window in StoreOnce hardware systems), however, it should not run during the time of running backups, as it will slow down the data throughput. Using the global variable DeleteUnprotectedMediaFreq
at least it is possible how often during the day expired media are deleted as a trigger for the housekeeping process. With the command omnimm -delete_unprotected_media
(for syntax see help of the command) you can manually control the deletion process.
Hi Daniel,
I was looking for solution to control this housekeeping process, with no luck. I would be glad to define days, and hours of this task.
The worst thing is that in ‘StoreOnce Dedup Whitepaper’ there is information, that by default, housekeeping job is running at 00:00 (when global variable #DeleteUnprotectedMediaFreq=1) but in my environment it is running at 12:00. (HP DP 6.21 with latest patches, Windows 2008R2 Sp1).
“Automatic removal of unprotected B2D backup objects
This method does the same as the above but is performed automatically by Data Protector at
regular intervals. The interval can be configured in the global options file.
# DeleteUnprotectedMedia Freq=TimesPerDay
# default: 1
# limit: 1 <= DeleteUnprotectedMediaFreq <= 24
# If set to 1,operation is performed once per day (00:00),
# set to 2 two times per day (00:00,12:00), set to 3 three times
# per day (00:00, 08:00, 16:00), set to 4 four times per day
# (00:00, 06:00, 12:00, 18:00). If maximum (24) is specified,
# operation will be started on every hour."
I hope HP will release some kind of update to control this job.
omnimm -delete_unprotected_media would be great but a B2D device has to be configured to use it. It will not work if a VTL is being used… unless there’s something I’m missing.
Hi Robert,
with the option -all you can execute the command for all of your StoreOnce media. And yes, the command applies to StoreOnce media only, it cannot be used to delete the media for a VTL.
Best regards
Daniel
Also I think the variable DeleteUnprotectedMediaFreq only applies to media that has a protection of None, and not Expired. The challenge is how to automatically recycle expired media. I have not found out a way to do that yet. If you know something, please share!
Hi Robert,
can you please verify the described behaviour?
Best regards
Daniel
I had the same problem, and had to manualy “recycle” media to change protection level to None.
That was corrected in hotfix QCCR2A36561,
Symptom(s):
===========
omnimm -delete_unprotected_media -all There are no unprotected
media to delete even with expired media.
That is also corrected in the latest patches to DP 6.21:
DPWIN_00632,00633,00634
You have your thoughts backwards. Catalyst media with protection status of “expired” can be deleted with the CLI command “omnimm -delete_unprotected_media -all”.
Media with a protection status of “none” are out of sync with your MMDB and must be manually removed.
NEVER export media from a Catalyst Store!! It leaves the slots and there is no way to delete them. Disk space usage issues still exist afterwards.
Hi Mark,
thanks for your additional comments.
Best regards
Daniel
Which patch included QCCR2A36561? Here’s what I have:
Patch level Patch description
===========================================
DPWIN_00623 Core Component
DPWIN_00624 Cell Manager Component
DPWIN_00626 Disk Agent
DPWIN_00627 Media Agent
DPWIN_00625 User Interface
DPWIN_00595(BDL701) Automatic Disaster Recovery Module
DPWIN_00631 English Documentation (Guides, Help)
Number of patches found: 7.
Or is it a separate download/request?
Hi Robert,
you have to have a look into the description files of the patches to search for the Hotfix. The description can be found on the download site for the patches or when executing the patch – directly on the first dialog which opens.
Best regards
Daniel
http://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QCCR2A36561
It is included in my patches, but I read from here too quickly and thought it addressed the DeleteUnprotectedMediaFreq variable, not the ‘omnimm -delete_unprotected_media -all’ command. Unfortunately for me, both apply to B2D devices which I do not use.
We have no access to QCCR2A36561, can you tell is it safe to recycle expired media manually for SOS DP 6.21? Won’t be required data for not expired sessions deleted?
Hi Alexander, you will never manually remove media doe SOS. Not sure if it is available in your version, but with versions 7.01 HP implemented the command “omnimm -omnimm -delete_unprotected_media Library” – available since the April updates.
Best regards
Daniel
Hi Alexander,
I’ve done this several times(manually recycle expired SOS media), and it was safe for me. Protection level changed to “none”, and all media with protection of “none” were deleted automaticly.
But with current patches QCCR2A36561 is not needed anymore.