Unsolved
This post is more than 5 years old
1.1K Posts
0
756
Query with the clretent field
/usr/sbin/mminfo -q "location=VLIB2A,ssid=2749776806,clretent>2 days"
/usr/sbin/mminfo -q "location=VLIB2A,ssid=2749776806,clretent>2 days,ssretent>3 days"
/usr/sbin/mminfo -q "location=VLIB2A,ssid=2749776806,ssretent>3 days"
/usr/sbin/mminfo -q "location=VLIB2A,ssid=2749776806,ssretent>3 days" -r ssretent,clretent
/usr/sbin/mminfo -q "location=VLIB2A,ssid=2749776806" -r clretent
/usr/sbin/mminfo -q "location=VLIB2A,ssid=2749776806" -r clretent,ssretent
DavidHampson
1.1K Posts
0
April 17th, 2009 07:00
6095:mminfo: no matches found for the query
ble1
14.3K Posts
0
April 17th, 2009 07:00
mminfo -avot -q ssid=2749776806 -r savetime,ssbrowse,ssretent,clretent,location
Unless you have under same ssid different cloneids I do not see much sense for clretent, but I guess you use cloning and assign different retention to one cloneid instance...
DavidHampson
1.1K Posts
0
April 17th, 2009 08:00
date browse retent clretent location
04/15/09 05/13/09 05/21/09 05/07/09 VLIB2A
04/15/09 05/13/09 05/21/09 05/21/09 PLIB_SRV20
# mminfo -avot -q ssid=2749776806 -r clretent
undef
- the clone retention has already been changed by my script as it was not something that could wait which is why it is different. An explanation as to why I needed this info: there has been major backup data growth on this server over the last 3 weeks (about 50% from 50-60TB to 80-90TB) and a decision was made that as we had no VTL space for backups anymore we would reduce the retention on VTL backups to 3 weeks with the remaining time having just the physical tape copy existing. To add to the confusion there is a series of backups which have a 2 week browse/retention which are cloned to a pool with a 5 week retention so I was trying to build into my script some kind of allowance for these backups; but all backups share the same tape pool so most 2 week retentions will hang around until the 4 week retentions on the tape expire so I don't expect extending the retentions of these backups will affect us too much...
ble1
14.3K Posts
0
April 17th, 2009 09:00
6095:mminfo: no matches found for the query
This is correct. In virtual library this ssid has clretent set to 05/07/09 so mminfo can't show it.
6095:mminfo: no matches found for the query
6095:mminfo: no matches found for the query
I never used this form of query so I can't say if it is meant to work that way or not. Usually when I use "X unit ago" only with -t option. It seems as with clretent this approach doesn't work.
While speaking about clretent, there is a known issue with clretent in 7.4.x and expiration of volumes which has been addressed by certain patches. No idea if those patches would address query part too.