SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Media Database query
Author Message
Post Media Database query 
Hi,

I've got tapes with no savesets on it.
How can I query those ones ?

mminfo -s <servername>
-r'volume(Cool,written,%used,next,nrec,savesets,first,last,volflags,volaccess,olabel,labeled,volexp'
-q'location=<Tapelibrary>'

doesn't show me the Tape. (because there is no saveset on it),

But:

mminfo -s <servername> -r
'volume(Cool,written,%used,next,nrec,volflags,volaccess,olabel,labeled,volexp'
-q'location=<Tapelibrary>'

lists the Tape with:

DLD882 38 GB full 196 3013 11/23/03 12/06/01 11/22/03 11/21/05

Any query concerning information about savesets fails to list the tape
(naturally ok)

I know Networker would recycle the tape if the retention policy is setup
for a shorter period.

______________________________
CSC Managed Services
Account Marconi
Gerberstr.33 71522 Backnang
Tel: +49 (0)7191 13 - 2240
Fax: +49 (0)7191 13 - 6 2240

Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu

Post Media Database query 
Well, you can achieve it quite simple using 2 mminfos :

The first one :
mminfo -a -r barcode,ssid | awk '{print $1}' | sort -u > File1
At this stage, you have volumes with ssids on it.

mminfo -a -q inuse -r barcode > File2
At this stage, you have all of your known tapes being used (not 0% used).
Just now do a diff for tapes in File12 and not in File1 and you
will get dirty tapes with no SSID.

HTH,

Thierry


Hi,

I've got tapes with no savesets on it.
How can I query those ones ?

mminfo -s <servername>
-r'volume(Cool,written,%used,next,nrec,savesets,first,last,volflags,volaccess,olabel,labeled,volexp'
-q'location=<Tapelibrary>'

doesn't show me the Tape. (because there is no saveset on it),

But:

mminfo -s <servername> -r
'volume(Cool,written,%used,next,nrec,volflags,volaccess,olabel,labeled,volexp'
-q'location=<Tapelibrary>'

lists the Tape with:

DLD882 38 GB full 196 3013 11/23/03 12/06/01 11/22/03 11/21/05

Any query concerning information about savesets fails to list the tape
(naturally ok)

I know Networker would recycle the tape if the retention policy is setup
for a shorter period.

______________________________
CSC Managed Services
Account Marconi
Gerberstr.33 71522 Backnang
Tel: +49 (0)7191 13 - 2240
Fax: +49 (0)7191 13 - 6 2240

--
Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu


Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu

Post Media Database query 
But:

mminfo -s <servername> -r
'volume(Cool,written,%used,next,nrec,volflags,volaccess,olabel,labeled,volexp'
-q'location=<Tapelibrary>'

lists the Tape with:

DLD882 38 GB full 196 3013 11/23/03 12/06/01 11/22/03 11/21/05

So my question is... What happened to all the data on the volume?
You've saved several files on it, but none of them are visible in the
database any longer.

Unless you've explicitly deleted them (nsrmm -d -S <ssid>), then they
should still be in the database.

Any query concerning information about savesets fails to list the tape
(naturally ok)

I know Networker would recycle the tape if the retention policy is setup
for a shorter period.

"the" retention policy? Which retention policy? Retention policies
affect client instances. Without a saveset to associate it with a
client, there's no reason for an expiration date.

I think the savesets on here were prematurely deleted, but I cannot
begin to guess why that happened.

Darren Dunham ddunham < at > taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu

Post Media Database query 
Darren Dunham wrote:
But:

mminfo -s <servername> -r
'volume(Cool,written,%used,next,nrec,volflags,volaccess,olabel,labeled,volexp'
-q'location=<Tapelibrary>'

lists the Tape with:

DLD882 38 GB full 196 3013 11/23/03 12/06/01 11/22/03 11/21/05


So my question is... What happened to all the data on the volume?
You've saved several files on it, but none of them are visible in the
database any longer.

Unless you've explicitly deleted them (nsrmm -d -S <ssid>), then they
should still be in the database.


Any query concerning information about savesets fails to list the tape
(naturally ok)

I know Networker would recycle the tape if the retention policy is setup
for a shorter period.


"the" retention policy? Which retention policy? Retention policies
affect client instances. Without a saveset to associate it with a
client, there's no reason for an expiration date.

I think the savesets on here were prematurely deleted, but I cannot
begin to guess why that happened.



I think those savesets where deleted as a the parent savesets where
deleted due to a manually started recycle job of other tapes.


______________________________
CSC Managed Services
Account Marconi
Gerberstr.33 71522 Backnang
Tel: +49 (0)7191 13 - 2240
Fax: +49 (0)7191 13 - 6 2240

Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB