Networker

Re: [Networker] How to move the contents of a volume do a different volume?

2010-08-26 07:33:45
Subject: Re: [Networker] How to move the contents of a volume do a different volume?
From: Francis Swasey <Frank.Swasey AT UVM DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 26 Aug 2010 07:32:47 -0400
Paul,

Because I want to be certain that I do not move copies (clones) that are not on 
the volume in
question, I (on unix/Linux) use:

mminfo -q volume=<name_of_volume> -r ssid,cloneid -xc/ | grep -v ssid 
>list_of_ssids
nsrstage -m -b <pool> -S -f list_of_ssids

Frank

On 8/26/10 3:43 AM, Paul Key wrote:
> Tim et al
> 
> Thanks for replying.
> 
> I guess it will be the nsrstage method of 'moving' the volume then.
> 
> What is the best method (networker software command) of checking which 
> savesets are on the
> volume to be moved? (To be used with the nsrstage command).
> 
> Is there likely to be any other data that I should know about on the volume 
> to be moved that
> will need cloning too?  If so how do I 'see' it using networker commands?
> 
> Thanks again for your help.
> 
> P
> 
> Tim Mooney wrote:
>> In regard to: Re: [Networker] How to move the contents of a volume do a...:
>>
>>> When you say "Do you mean only clone the fragments of the saveset that are 
>>> on the volume you
>>> want to purge, but leave the fragments on other volumes un-cloned?"
>>>
>>> What I am trying to say is not cloning the data or save sets which happen 
>>> to be on the
>>> volume I want to purge but rather moving that data to a different volume 
>>> (including saveset
>>> fragments that are included) and then rebuilding or re-indexing the backup 
>>> software so it
>>> knows the new location of the savesets previously on the purged volume.
>>
>> In NetWorker, the closest thing to a "move" is a staging operation, which
>> is essentially a clone (copy) followed by a removal of the original data.
>> There's no other way to move saveset data from one volume to another using
>> NetWorker tools.
>>
>> Since you're talking about a file device, it's likely possible that you
>> could use non-NetWorker tools (e.g. dd) to make an exact copy of the
>> volume and put it in place of the volume you want to get rid of (all of
>> this with NetWorker completely shut down, mind you).  That's a more
>> advanced (and potentially dangerous) operation than just using nsrstage,
>> though, so I really recommend you consider the nsrstage route first.
>>
>> Tim
> 

-- 
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