George,
Think of nsrstage as an nsrclone/nsrmm -d pair. That's really all that is
happening under the
covers. If you watch with NMC, when an ssid is being staged (moved) from one
device to
another, it shows up in the listing as a "clone job". Once the clone is
finished, then
NetWorker deletes the pointers to the data on the original media.
The stated purpose of this exercise was to reclaim the tapes that had some bit
of valid data
left on them, therefore, nsrstage seems to be the best use to copy the data to
another tape and
then mark the copy on the original tape as no longer needed.
Frank
On 10/15/10 12:03 PM, George Sinclair wrote:
> Francis Swasey wrote:
>> On unix (or linux):
>>
>> mminfo -q
>> 'volume=<tape_volume>,!suspect,!incomplete,!ssrecycle,!recoverable' -r
>> ssid,cloneid
>> -xc/ | grep -v ssid | xargs -n1 -t nsrstage -m -v -b '<media pool to write
>> to>' -S
>>
>
> Fransis, that's interesting. I've never done this, but it makes sense. I've
> always just cloned
> them to another tape, but that does require having, or creating, a 'clone'
> pool, which might be
> a nuisance or disadvantage. I guess I never thought of the nsrstage command
> in this way. I've
> always used it for clearing out save sets on a file type device wherein the
> save sets are first
> cloned to tape and then deleted from the file type device.
>
> So, it seems that this is a way to copy data from one tape to another without
> having to clone
> or use scanner with uasm and all that business?
>
> End the end, what is the advantage of doing this versus just, say, cloning
> (nsrclone)? I'm
> trying to better understand for my future benefit.
>
> Thanks.
>
> George
>
>> I suggest you use "man mminfo" and "man nsrstage" to understand the various
>> arguments.
>>
>> Frank
>>
>> On 10/15/10 4:39 AM, kleese2 wrote:
>>> Can anyone tell me what the nsrstage cammand should look like.
>>> I'm planning on staging these savesets one by one and not use a file to
>>> define them.
>>
>
>
--
Frank Swasey | http://www.uvm.edu/~fcs
Sr Systems Administrator | Always remember: You are UNIQUE,
University of Vermont | just like everyone else.
"I am not young enough to know everything." - Oscar Wilde (1854-1900)
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
|