Networker

Re: [Networker] Changing a tape's location

2004-03-05 17:07:22
Subject: Re: [Networker] Changing a tape's location
From: Joseph Ortiz <jortiz AT HOUSTON.RR DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 5 Mar 2004 16:07:13 -0600
Teresa,

As others have pointed out, you can use mminfo to do this.  A simple script 
example would be:
(This assumes you've created a list, called tapelist, of the tape numbers you 
want to change)

for i in 'cat tapelist'
do
mmlocate -s nw_server_name -u -n $i "Offiste"
echo "Tape locations cleared"
done

If you want to blank the location as Darren suggested, just change the mmlocate 
line to
mmlocate -s nw_server_name -u -n $i " "

That should do what you want.

Joseph Ortiz
DSMCS, Inc.

----- Original Message -----
From: Teresa Biehler <tpbsys AT RIT DOT EDU>
Date: Friday, March 5, 2004 12:07 pm
Subject: [Networker] Changing a tape's location

> Is there a way to change a tape's listed location without using
> the GUI?
> I'd like to be able to do something like this:
>
>
>
>            Eject a list of tapes (use nsrjb)
>
>            Change location of the list of tapes to offsite (or
> something similar)
>
>
>
> I've looked through the man pages that I thought would be appropriate,
> but all I've found is how to query the location, not change it.
>
>
>
> Thanks.
>
> Teresa
>
>
>
>
>
>
> --
> Note: To sign off this list, send a "signoff networker" command
> via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>