Networker

Re: [Networker] last volume used by the backup server

2004-03-08 17:41:07
Subject: Re: [Networker] last volume used by the backup server
From: Cecil Hypolite <chypolite AT COMCAST DOT NET>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 8 Mar 2004 17:39:44 -0500
Thanks for the response Darren, this is exactly what I thought, but I was
told that I was wrong. The company uses this script to see the last volume
that networker has written to. This is done so that the operator puts in the
correct media on the next run. I ran the script for the first time on Sunday
and became suspect of the results.
Thanks again.
Cecil Hypolite
----- Original Message -----
From: "Darren Dunham" <ddunham AT TAOS DOT COM>
To: <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>
Sent: Monday, March 08, 2004 4:15 PM
Subject: Re: [Networker] last volume used by the backup server


> > Hi all, there is a script that goes out and finds the last volume that
the
> > backup server used during a backup. The script gets the last volume
> > information from the nsr.res file. The script basically greps for the
line
> > 'volume name:' in the file. On some systems the last volume information
is
> > there and on other systems the last volume information is not there.
The
> > volume name field is on all the system, it just on some systems the
volume
> > ID is missing.
>
> The attribute "volume name:" is a dynamic attribute of a device.  You
> should have multiple lines if you have multiple devices, and there
> should only be a value there if the volume is mounted.  You could get
> the same information by just running a 'nsrmm' to see mounted volumes.
>
>      volume name                 (read-only, dynamic, hidden)
>           This attribute monitors the mounting and unmounting of
>           volumes for a device. When a volume is mounted, the
>           value is the volume name, otherwise there is no value.
>           Example: volume name: mars.017;
>
> Why do you need the "last volume used"?  Perhaps using 'mminfo' would be
> better.  Something like...
>
> mminfo -ot -r 'volume' | tail -1
>
> would work for some (but not all) situations.
>
>
> --
> Darren Dunham                                           ddunham AT taos DOT 
> com
> Senior Technical Consultant         TAOS            http://www.taos.com/
> Got some Dr Pepper?                           San Francisco, CA bay area
>          < This line left intentionally blank to confuse you. >
>
> --
> 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>