SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
recycle sledge hammer?
Author Message
Post recycle sledge hammer? 
I just wrote up these crib notes... and I wonder if
there's anything wrong with them... or if some of you
some versed networker folks have comments about them?

steve
- - -
systems & network manager
high energy physics
university of wisconsin

it's april 1st, 2005

all clients/tapes have one year retention policy

some/lots of tapes have not become recyclable because of
systems that no longer exist. we don't care about them.

ergo any tapes that expire before 4/1/2005 can be set
to recyclable... for example, the last three months...

for i in 01 02 03; do
mminfo -m | egrep "$i/.*/05"
vols=`mminfo -m | egrep "$i/.*/05" | awk '{print $1}'`
for v in $vols; do
echo nsrmm -y -o recyclable $v
nsrmm -y -o recyclable $v
done
done

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post recycle sledge hammer? 
On Fri, Apr 01, 2005 at 11:58:31AM -0600, rader < at > GINSENG.HEP.WISC.EDU wrote:
I just wrote up these crib notes... and I wonder if
there's anything wrong with them... or if some of you
some versed networker folks have comments about them?

steve
- - -
systems & network manager
high energy physics
university of wisconsin

it's april 1st, 2005

all clients/tapes have one year retention policy

some/lots of tapes have not become recyclable because of
systems that no longer exist. we don't care about them.

ergo any tapes that expire before 4/1/2005 can be set
to recyclable... for example, the last three months...

for i in 01 02 03; do
mminfo -m | egrep "$i/.*/05"
vols=`mminfo -m | egrep "$i/.*/05" | awk '{print $1}'`
for v in $vols; do
echo nsrmm -y -o recyclable $v
nsrmm -y -o recyclable $v
done
done

Here's a different way to do it that might work better. I usually run a
script on my volumes that runs this:

mminfo -s $SERVER -q \!ssrecycle,\!recoverable,volume=$1

So, on a per-volume basis, mminfo will return any savesets on the tape
that aren't recyclable. I run this against tapes that I think should
expire, but aren't, and see which clients are 'hanging' the tape. From
there, I can query the clients or look through the indexes to see what
happened. You might run a similar report on your volumes.

A better idea would probably be to mark all the savesets from the
systems that no longer exist as recyclable. If that's true, than the
media should recycle/take care of itself without you having to do
per-tape operations.

Dave

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post recycle sledge hammer? 
Here's a different way to do it that might work better. I usually run a
script on my volumes that runs this:

mminfo -s $SERVER -q \!ssrecycle,\!recoverable,volume=$1

So, on a per-volume basis, mminfo will return any savesets on the tape
that aren't recyclable. I run this against tapes that I think should
expire, but aren't, and see which clients are 'hanging' the tape. From
there, I can query the clients or look through the indexes to see what
happened. You might run a similar report on your volumes.

Good idea.

That's got me wondering... I know of three states that cause tapes
to not become recyclable: "aborted saveset", "saveset in progress"
and "saveset for removed client"... are there others?

steve
- - -
systems & network manager
high energy physics
university of wisconsin

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
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