Unsolved
This post is more than 5 years old
244 Posts
0
1437
mminfo is ... confused?
have a look at this:
mminfo -a -c client2 -c client1 -q'sscreate>="07/01/09 12:00:00",sscreate<="07/31/09 23:59:59"' -r'name,client,totalsize(1)'| wc -l
15618
mminfo -a -c client1 -q'sscreate>="07/01/09 12:00:00",sscreate<="07/31/09 23:59:59"' -r'name,client,totalsize(1)'| wc -l
878
mminfo -a -c client2 -q'sscreate>="07/01/09 12:00:00",sscreate<="07/31/09 23:59:59"' -r'name,client,totalsize(1)'| wc -l
2365
Am I so dumb that I cannot add to simple values (2365+878!= 15618) ? Or there is something wrong with mminfo?
mminfo -a -c client2 -c client1 -q'sscreate>="07/01/09 12:00:00",sscreate<="07/31/09 23:59:59"' -r'name,client,totalsize(1)'| wc -l
15618
mminfo -a -c client1 -q'sscreate>="07/01/09 12:00:00",sscreate<="07/31/09 23:59:59"' -r'name,client,totalsize(1)'| wc -l
878
mminfo -a -c client2 -q'sscreate>="07/01/09 12:00:00",sscreate<="07/31/09 23:59:59"' -r'name,client,totalsize(1)'| wc -l
2365
Am I so dumb that I cannot add to simple values (2365+878!= 15618) ? Or there is something wrong with mminfo?
benzino1
244 Posts
0
August 11th, 2009 05:00
client1 /path_to_something1 254 MB
client1 /path_to_something2 14 GB
client1 /path_to_something3 987 KB
To tell the truth all I want is a report, just as you can see above. But it is really silly that this report differ when I'm asking mminfo for report for clients separately and the report for both of them together.
DavidHampson
1.1K Posts
0
August 11th, 2009 05:00
DavidHampson
1.1K Posts
0
August 11th, 2009 05:00
totalsize(1)
This will return the first character of the totalsize field. Each saveset instance will be reported the same for name and client and have a 1 in 10 chance of being the same value of totalsize(1) so when you do your wc command there is a chance some of these instances will be the same. If your clients back up to different servers then there is a possibility there will be some duplication in these lists but then we would expect both clients reported on to be either the same or lower than the combined value...
I'm going to test it on a couple of clients here and see what happens...
What exactly is it you are trying to report?
DavidHampson
1.1K Posts
0
August 11th, 2009 07:00
benzino1
244 Posts
0
August 11th, 2009 07:00
DavidHampson
1.1K Posts
1
August 11th, 2009 07:00
ark-flUcr
23 Posts
1
August 11th, 2009 23:00
We have similar problem. EMC souport commented that this could be related with:
LGTsc29876 "incorrect mminfo output when client is part of the query"
They are currently investigating.
PROBLEM DESCRIPTION:
------------------------------------
hello;
when we use nsrinfo to find a file, we see the date is the same as the mminfo query.
# mminfo -q" client=CLIENT,savetime >= -60 day,level=full" -r nsavetime,savetime,name,level |grep " / "
1244283022 06/06/09 / full
1246698992 04/07/09 / full
# nsrinfo -N '/etc/hosts' CLIENT
scanning client `CLIENT' for all savetimes from the backup namespace
/etc/hosts, date=1246698992 sáb 04 jul 2009 11:16:32 CEST
/etc/hosts, date=1244283022 sáb 06 jun 2009 12:10:22 CEST
...
...
/etc/hosts, date=1217669200 sáb 02 ago 2008 11:26:40 CEST
/etc/hosts, date=1215237853 sáb 05 jul 2008 08:04:13 CEST
22 objects found
#
But we have a problem:
# mminfo -q" client=CLIENT,savetime >= -60 day,level=full" -r nsavetime |grep 1244283022
1244283022
# mminfo -q" client=CLIENT,savetime >= -60 day" -r nsavetime |grep 1244283022
#
why in the second query (ite would have to give more information) we do not see all information???
And if we do these querys; we see the query for 160 days have less information than the query for 30 days:
# mminfo -q "savetime >= -30 day,client=CLIENT" -r "name,nsavetime,savetime,level" -o t|wc -l
1436
# mminfo -q "savetime >= -60 day,client=CLIENT" -r "name,nsavetime,savetime,level" -o t|wc -l
1491
# mminfo -q "savetime >= -160 day,client=CLIENT" -r "name,nsavetime,savetime,level" -o t|wc -l
1220
#
DavidHampson
1.1K Posts
0
August 12th, 2009 00:00
benzino1
244 Posts
0
August 12th, 2009 01:00
DavidHampson
1.1K Posts
0
August 12th, 2009 02:00
ble1
2 Intern
2 Intern
•
14.3K Posts
0
September 4th, 2009 02:00