Re: [Networker] Recycle Multiple Volumes
2010-10-18 16:20:20
Hello,
You can use the "nsrmm" command to recycle tapes. Here's what I use for linux,
use at your own risk, and test it first. I populate a file called scratchlist
and recycle each tape in the list.
cat /scripts/media/recyclescratch/scratchlist |while read MEDIA
do
echo "nsrmm -y -o recyclable $MEDIA"
/usr/sbin/nsrmm -y -o recyclable $MEDIA
echo "nsrmm -y -o notmanual $MEDIA"
/usr/sbin/nsrmm -y -o notmanual $MEDIA
done
When we first put networker into production the EMC consultant said you can
delete all of your media if you don't specify a volume number in your command.
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of mattman555
Sent: Monday, October 18, 2010 12:22 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Recycle Multiple Volumes
I have networker 7.4.2 and have a need to recycle multiple tapes (~50 to 75)
per week.
Currently through the GUI, I sort the tapes by oldest date, then I manually
right click on each tape, and set the mode to recycle.
No need to ask why or to improve this process but what I'm wanting to know is a
better way to do this..
I'd like to select a set of volumes and set their mode to recycle in a more
efficient manner..
I believe this could be accomplished by command line but I'm at a loss..
Any ideas?
+----------------------------------------------------------------------
|This was sent by matthew.mancini AT jcl DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or via RSS at
http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|