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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

With mminfo how do I find the flags "full' and "recycleable"

Status
Not open for further replies.

timfox123

Technical User
Oct 30, 2008
13
US
I want to pull all tapes out of my jukebox that are full and not recycleable.

I need mminfo to tell which tapes I can move.

How do I find the flags for full ?

Recycleable ?

This is Legato 7.2.2
 
mminfo -m -q "pool=<POOL>,full,!volrecycle" | grep -v volume | awk '{ print $1 }
Should do the trick
 
oops - missed final ' !
mminfo -m -q "pool=<POOL>,full,!volrecycle" | grep -v volume | awk '{ print $1 }'
 
You may need to put a space between the "!" and "volrecycle", I have to for 7.4.x
 
mminfo -r "volume" -q "location=<libname>,full,!volrecycle"

does it for me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top