Networker

Re: [Networker] change tape media with (R) designation

2009-10-01 14:31:44
Subject: Re: [Networker] change tape media with (R) designation
From: David Magda <dmagda AT EE.RYERSON DOT CA>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 1 Oct 2009 14:25:35 -0400
On Thu, October 1, 2009 13:04, Tim Mooney wrote:

>> This makes them read-write, but the recyclable flag is then lost.
>
> Ok, so you now need two steps:
>
>       nsrmm -o notreadonly VOLUMENAME
>       nsrmm -o recyclable VOLUMENAME
>
> to answer the original question.

If I run 'notreadonly' and go to nwadmin > Media > Volumes..., it no
longer has the (R), but under the Mode column there's a blank (i.e., not
appendable), and under the Expiration column there's a "-". The save sets
are all "recyclable".

I then apply the "recyclable" command, and it goes back to being (R) as
well as "recyc" and "expired". All the savesets also have a status of
"recyclable".

All the volumes are listed as "full" under the %Used column in both cases.

> That will indeed relabel volumes (and if you use -Y, even volumes that are
> not recycleable, so be careful).  I would have to reread the original
> question, but I tried to answer the question that was asked, which I think
> was "how do you make tapes not readonly".

Sure, though I think my end goal is mostly to have tapes recycled
automatically. I would have thought that this occurred automatically as
stuff expired, but that seems not to be the case for some reason.

> No.  NetWorker does that automatically.  There's no setting you need to
> configure and in fact there's nothing you could change that would globally
> disable it.

Hmm. I think my main question would be why the the read-only mode is being
enabled on volumes.

>> Every so often in the messages log I get a "media info: suggest
>> relabeling
>> <volume> on <server> for writing  to pool '<pool>'". Sometimes I see NW
>> trying to relabel it eventually as well.
>
> What version of NetWorker are you running?

This is 7.2.1.Build.311 Network Edition/47 on Red Hat Linux.

Which is a bit old, but as we're about to upgrade things relatively soon,
I don't want to fool around with. I just want to have things run more
smoothly than they are now, so when I come in the morning, I don't have a
bunch of "Unsuccessful Save Sets" due to lack of tapes. :)

-- 

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