Networker

[Networker] Cloning a set of volumes?

2007-10-01 13:19:36
Subject: [Networker] Cloning a set of volumes?
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 1 Oct 2007 13:10:25 -0400
I would like to clone a number of tapes, all labeled into the same pool. I want to clone all the save sets on the tapes. I have 4 devices, so I would like to be able to have two simultaneous nsrclone operations running so as to complete the work faster. The clone pool will be the same for all clone volumes. I was thinking to use the nsrclone command and have it clone by volume like:

'nsrlone -s server -b clonepool -f path_to_file'

where file contains the first half of the volume names, and then launch another nsrlcone command, and have that work through the last half of the volumes. The problem is how do I avoid having one nsrclone command try to continue a save set that spans to a second tape that the second nsrclone command is already reading from? If the second nsrclone command has already finished that volume, no worries, but I'd just like to keep one process far enough ahead so as to minimize contention, timeouts, hangs, etc.

Is there a reasonably straightforward way to generate the two separate volume lists such that the order of the volumes listed will minimize the likelihood that one nsrclone process would request a tape being read by the other?

I'm not opposed to cloning by save set id wherein the file contains SSIDs and not volume names. This is how I typically manually clone various save sets, but in this case since I need everything on the volumes, doing it by volume name just seemed easier, but it might create a problem if I have to cancel the operation at some point because I need the drives for backups, and maybe the clone operation didn't finish as soon as I expected. I would not be able to rerun it since I wouldn't want to re-clone the save sets that had already been cloned, so maybe doing it by SSID would be preferred?

We're using NW 7.2.2 on Solaris with two Linux snodes.

George

--
George Sinclair - NOAA/NESDIS/National Oceanographic Data Center
SSMC3 4th Floor Rm 4145       | Voice: (301) 713-3284 x210
1315 East West Highway        | Fax:   (301) 713-3301
Silver Spring, MD 20910-3282  | Web Site:  http://www.nodc.noaa.gov/
- Any opinions expressed in this message are NOT those of the US Govt. -
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

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