EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU> wrote on
05/06/2008 01:20:30 PM:
> MIchael Leone wrote:
> > I have a script that deleted cloned savesets, and frees up disk space,
on
> > adv_file devices (I only have enough disk space for one days's backup,
so
> > every day, we run scripts to delete data off the adv-file disk device,
> > that has been cloned to tape [i.e., copies=2]). Problem is, some of my
> > clients are virtual servers, on a cluster (Win2003).
> >
> > So sometimes the disk device is mounted on NODE1, and the volume is
> > NWSERVER.001.RO, and sometimes the disk device is mounted on NODE2,
and so
> > the volume is NWSERVER.002.RO, depending on which node is hosting the
> > virtual server. And only 1 volume is mounted at a time, of course.
> >
> > So I'd like to query NW, and ask which one of those 2 volumes are
mounted,
> > and issue a "nsrstage -v -C -V %tapevol%" accordingly.
> >
> > Thoughts? I can't seem to figure out how to do this. this isn't a
mminfo
> > query, but I don't know what type of query it is.
> >
> > Thanks
> >
> >
>
> What about just running the nsrmm command (no params) and parsing the
> output of that?
AH HA! That looks promising; thanks! I should be able to do something with
that ...
--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel: 215-684-4180
Cell: 215-252-0143
<mailto:michael.leone AT pha.phila DOT gov>
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
|