Networker

Re: [Networker] How to change mode of tape to read only after unload?

2011-11-23 14:44:40
Subject: Re: [Networker] How to change mode of tape to read only after unload?
From: Michael Leone <Michael.Leone AT PHA.PHILA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 23 Nov 2011 14:43:55 -0500
> I am running NetWorker 7.5.2 and want to ensure that a tape isn't 
> written to if left in the library overnight.  I can't unload the 
> tapes as there aren't enough slots to hold both backups over the 
> weekend.  Maybe a script to change the unloaded tape from append to read 
only?
> 
> Any help would be greatly appreciated.

Mark the tape volume as readonly. Either in NMC, or

nsrmm -y -o readonly <tape volume label>

i.e.

nsrmm -y -o readonly Weekend.Tape.001

See the man page, or the Command Reference Guide, for details.

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