Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mminfo query "full" in 7.3.2

Status
Not open for further replies.

Smerlap

MIS
Aug 31, 2006
8
FR
Hi,

With networker 7.3.2, the mminfo query "full" don't return any match.
You can find this example in the command reference guide (or in man page of mminfo):
"Display a media report of all non-full volumes, showing the percent-used, pool and location of each volume: mminfo -a -r 'volume,%used,pool,location' -q '!full'

It seems that the mminfo don't consider of -q "!full"
Same problem in OS : Windows, Linux and True64
No problem with another query, no problem in 7.2.1.

Thanks in advance

 
This command does not look logical to me:
- with "-a" you want to see all save sets, not the volumes
- however -q "!full" would query for volumes which have not been filled yet.


Probably, you just want to replace "-a" with "-m".
 
I testet it with a Windows Networker 7.3.2 today
mminfo -r "volume,%used,pool,location" -q "!full"

after changing tho quotation marks to " it worked!
 
Hello,

I've just migrating to 732J1 (build 386) yesterday (AIX 5.2), and I confirm that it does not work :

mminfo -q "pool='POOL 152101 01M DEFAUT',location='S10K',!full" -r "volume,%used,written"
volume (%) written
2D0011 full 670 GB
2D0069 full 614 GB
2D0083 28% 44 GB
2D0094 full 794 GB
2D0099 full 683 GB
2D0114 full 582 GB

even if I try with full=false, or with 'full'. It seems that it does not read this parameter.

Any explanation ?
 
Hi denisfr,

i just verified that you are in fact correct, it does not work. Never trust the docs before you verified what's inside ;-)

According to the manpages, the full/!full flag should word. But it obviously does not. However, i have a workaround - it is just stated some lines below: '%used' may also have the value 'full'.

This makes it easy if you want to search for full media:
C:\>mminfo -m -q "pool='Default',%used=full"
state volume written (%) expires read mounts capacity
Default.002 10 MB full 5/11/2008 0 KB 0 0 KB

C:\>

But it will not work for non-fulls:
C:\>mminfo -m -q "pool='Default',%used=!full"
mminfo: invalid value specified for `%used'
usage: mminfo [-avV] [-o order] [-s server] [-x exportspec] [report] [query] [volname...]

<report>: [ -m | -p | -B | -S | -X | -r reportspec ]
<query>: [-c client] [-N name] [-t time] [-q queryspec]

C:\>

The reason is simple: !full is not a valid value for the field '%used'. Consequently, you must look at the '%used' value. Finall this command will work:

C:\>mminfo -m -q "pool='Default',%used<=100"
state volume written (%) expires read mounts capacity
Default.001 10 MB 100% 5/11/2008 0 KB 9 0 KB

C:\>
 
I've just open a call to my support.

Expecting the answer, I added a |grep -v "full" to my commands (thanks unix !)

There are also some others commands that don't work like in 721 (nsrjb -d or nsrjb -L with volume_name...)

But, I've not found something about in the Release Notes.
 
The problem is known, maybe corrected in jumbo2 (build 399), but this release is not officially supported.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top