NetWorker: Unable to Label a Tape Volume due to an Invalid nsrlcpd update
Summary: NetWorker Library reports an invalid nsrlcpd update while trying to label a tape volume even though the storage node is in ready state and all the drives are in enabled mode.
Symptoms
When trying to label a tape volume failing with the below error:
"invalid nsrlcpd update. Information is missing for drive 'drive_id' in jukebox 'jukebox'
Also the NetWorker Storage node daemon.raw shows as below:
MM/DD/YYYY HH:MM:SS [NETWORKER_SERVER] nsrlcpd#1 NSR info Jukebox 'Jukebox_name', command operation `LABEL', command ID 2007 invalid state 'LS_INIT_ACTIVE' MM/DD/YYYY HH:MM:SS [NETWORKER_SERVER] nsrmmgd Jukebox critical Invalid nsrlcpd update. Information is missing for drive 'drive_id'.
Location:
- Linux:
/nsr/logs/daemon.raw - Windows (Default):
C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw - NetWorker: How to use nsr_render_log.
Cause
- The NetWorker library control program daemon (
nsrlcpd) is not ready for the Label Operation. - The NetWorker library control program daemon (
nsrlcpd) might also have stopped responding.
Resolution
Workaround:
-
The NetWorker Storage node
nsrlcpdprocess can be restarted in the environment by disabling or enabling the tape library. -
Restart the NetWorker services of the storage node regardless of remote or local.
Linux:
- To stop:
systemctl stop networkerornsr_shutdown - To start:
systemctl start networker
Windows:
- To stop:
net stop nsrexecd /y - To start:
net start nsrexecd
NOTE: If the Storage Node is also the NetWorker server, run:net start nsrd. If the NetWorker Management Console (NMC) server is installed on the NetWorker server, run:net start gstd. - To stop:
If the above workaround does not work, we have to Reconfigure the Tape Library.
Below are the steps for the reconfiguration of the Tape Library:
-
Perform a Server Protection backup job on the NetWorker server and collect the bootstrap save set details:
mminfo -BNOTE: The bootstrap save set can be used to perform a NetWorker Server Disaster Recovery (nsrdr). It contains the resource database (nsrdb), media database (mm), and client file index. -
Stop networker services.
-
Create a copy of
/nsr/res/nsrdband/nsr/mmin another location.Optionally, you can export the mm as an
.xdrfile which can be used as a backup of the media database: How To Export the NetWorker Media Database Using nsrmmdbasm -
Start networker services.
Log in to the NetWorker Management Console (NMC) -> Under Devices section -> Go to Libraries -> Then follow as below:
- Make note the name of the devices configured in the library.
- Delete the Library observing the issue. Go to storage node- and delete the Library under the storage node.
- Delete the devices associated to that library.
- Go to storage node-> right click-> scan for devices.
- Then go to library -> configure library-> yes.
- Then wait for the library to come in ready state.