I'm trying to clone savesets manually using the NMC, by clicking on Media -> Save Sets -> Query Save Set (fill out the criteria) -> Save Set List (choose savesets).
This operation works for NDMP savesets but not for "regular" savesets.
However, it used to work when we were running NetWorker version 7.4.5.
We performed a version migration (reinstalled server on Solaris 10, installed NetWorker 7.4.5, restored the configuration from bootstrap, than updated to 7.6.5).
The error message we get when we try to clone any regular savesets is:
Oct 10 15:08:05 bakserver root: [ID 702911 daemon.notice] NetWorker media: (notice) no matching devices on `netappfiler' for clone recover by client `bakserver'
Oct 10 15:08:05 bakserver root: [ID 702911 daemon.notice] NetWorker media: (notice) enable or check device(s) on `netappfiler'; volume CAN028 needed
Why does it mention our NetApp Filer for a regular saveset clone operation?
If instead, we perform the same operation on the command line, here is what we get:
bakserver# nsrclone -S 3343546846
80470:nsrclone: Following volumes are needed for cloning
80471:nsrclone: CAN028 (Regular)
39077:nsrclone: error, no matching devices on `netappfiler'
39077:nsrclone: error, Cannot open nsrclone session with bakserver. Error is 'No source device is available for the cloning operation.'
79625:nsrclone: Failed to clone any Regular save sets
39077:nsrclone: error, Some of the clones failed
Please check the attached image files for the client resource tabs of our NetWorker server.
80470:nsrclone: Following volumes are needed for cloning
80471:nsrclone: CAN078 (Regular)
Oct 11 12:18:46 bakserver root: [ID 702911 local0.alert] NetWorker media: (waiting) Waiting for 1 writable volume(s) to backup pool 'TEST CLONE' tape(s) on bakserver
It seems that the storage node to read data from is generated automatically accordingly to some criteria.
If I clear the volume location field using mmlocation and then re-run the clone operation, it will force it to read the "recover storage node" field of the client from which the saveset is to be cloned.
Then you have to do a nsrjb -I of the tape volume in order to set the location field to the jukebox and then the tape is loaded into the correct storage node and the clone operation takes place.
What I still have to find out is why the storage node generation defaults to the NDMP storage node.
I've read the chapter of the NetWorker Cloning Integration Guide and it states that the read source storage node is chosen based on the following criteria:
The list is based on the storage nodes that meet the following criteria:
a. Storage nodes are listed in the Recover Storage Nodes attribute of the Client
resource of the NetWorker server. If this attribute is empty, the Storage Nodes
attribute of the NetWorker server is used.
b. If the requested volume is in a media library, the storage nodes on which the
volume can be mounted is determined in the following manner:
– The storage node listed in the Read Hostname attribute for the library
resource is used.
– If the Read Hostname attribute for the library resource is not set, then all of
the storage nodes on which any device in the library is configured are
added to the list of Eligible Storage Nodes.
It seems that it is this last criteria that is being applied. Setting the "Read hostname" on the library containing the source tape doesn't fully solve the problem because thereafter the NDMP cloning will not work anymore.
Would setting the "FORCE_REC_AFFINITY" help me on this?
What is says is that storage node netappfiler can't mount your source volume. It also says that source volume is regular type so this was either DSA backup or regular one (in which case filer is probably not where you want to clone of course). This is typical configuration issue.
Celio1
1 Rookie
•
16 Posts
3851
0
Posted October 11th, 2013 05:00
I do choose a destination pool on the NMC, and on the command line, here's what happens:
nsrclone -s bakserver -b "TEST CLONE" -S 3142953149
80470:nsrclone: Following volumes are needed for cloning
80471:nsrclone: CAN078 (Regular)
39077:nsrclone: error, no matching devices on `netappfiler'
39077:nsrclone: error, Cannot open nsrclone session with bakserver. Error is 'No source device is available for the cloning operation.'
79625:nsrclone: Failed to clone any Regular save sets
39077:nsrclone: error, Cannot open nsrclone session with bakserver. Error is 'No source device is available for the cloning operation.'
39077:nsrclone: error, Some of the clones failed