Troubleshooting
Problem
Backup operation is failed for ANR8463E volume is write-protected error, although write protected tab of the media is not enabled in fact.
Symptom
Example of query actlog output
ANR8463E LTO volume 000001L3 is write protected.
ANR8463E LTO volume 000002L3 is write protected.
ANR0409I Session 30 ended for server SERVER1 (Windows).
ANR1402W Mount request denied for volume 000001L3 - volume unavailable.
ANR1410W Access mode for volume 000001L3 now set to "unavailable".
ANR0409I Session 31 ended for server SERVER1 (Windows).
ANR1402W Mount request denied for volume 000002L3 - volume unavailable.
ANR1410W Access mode for volume 000002L3 now set to "unavailable".
ANR0522W Transaction failed for session 28 for node CLIENT (LinuxZ64) - no space available in storage
pool POOL1 and all successor pools.
Cause
Tivoli Storage Manager Server trace shows following records.
20:23:23.979 [93][mmsshr.c][4393][OpenDriveWithWait]:Opening drive MT0.0.0.4 (/dev/TS3500Tape1)
in library LB0.1.0.2 waiting upto 360 seconds for drive to respond.
20:23:23.979 [93][pspvr.c][3456][PvrPsOpenDevice]:Opening device /dev/TS3500Tape1 with nonDelay = 0, accessMode = 1
20:23:23.979 [93][pspvrfio.c][771][psQValidFileSystem]:Reading information on volume in drive /dev/TS3500Tape1
20:23:23.979 [93][pspvrfio.c][794][psQValidFileSystem]:Found file system type 1021994 - not valid
20:23:23.979 [93][pspvr.c][3527][PvrPsOpenDevice]:open() with errno is 13 devName is /dev/TS3500Tape1 rc 2855
20:23:23.979 [93][pvrutil.c][712][PvrOpenDevice]:Attempted to open device /dev/TS3500Tape1, 1 time(s), rc = 2855.
20:23:23.979 [93][pvr.c][6333][PvrOpenTapeDrive]:Validating device information for drive MT0.0.0.4, devtype 20, openRc 2855, handle 13,
nonDelayFlag 0 through CheckTapeId
20:23:23.979 [93][mmsdrive.c][8239][MmsCheckTapeId]:Fetching current mapping info for drive MT0.0.0.4 (openRc = 2855, handle = 13): serial
[0007834471], WWN [], and vendor []
20:23:23.979 [93][mmsdrive.c][8356][MmsCheckTapeId]:Drive MT0.0.0.4 failed to open the path /dev/TS3500Tape1 with error 2855 and handle 13.
It may be retried
20:23:23.979 [93][pvr.c][6341][PvrOpenTapeDrive]:Drive MT0.0.0.4, handle 13, checktapeId returned rc = 2855.
20:23:23.979 [93][output.c][7531][PutConsoleMsg]:ANR8463E LTO volume Z00017L3 is write protected.
Tivoli Storage Manager server fails to open a tape device when the server started with a non-root user ID on UNIX platform.
The customer runs Tivoli Storage Manager server under an non-root user. The reason of this failure is the lack of the device file permission of the non-root user for the drive device files.
However, the server displays an irrelevant message ANR8463E LTO volume XXXX is write protected. This message is improper used here.
Resolving The Problem
If the permission for the device file is as follows,
server1: # ls -l /dev/IBMtape*
crw-r--r-- 1 root root 253, 3071 2014-07-08 20:42 /dev/IBMtape
server1: # ls -l /dev/TS3500Tape*
crw-rw---- 1 root root 253, 1 2014-07-08 20:11 /dev/TS3500Tape0
crw-rw---- 1 root root 253, 1025 2014-07-08 20:11 /dev/TS3500Tape0n
crw-rw---- 1 root root 253, 0 2014-07-08 20:11 /dev/TS3500Tape1
crw-rw---- 1 root root 253, 1024 2014-07-08 20:11 /dev/TS3500Tape1n
issue the following command to change the permission to device file.
chmod a+rw /dev/TS3500Tape0
chmod a+rw /dev/TS3500Tape1
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21684064