Wednesday, January 29, 2014

Netbackup - media write error(84)

2014/01/17 3:56:42 - requesting resource Any
2014/01/17 3:56:42 - requesting resource ServerA01.NBU_CLIENT.MAXJOBS.ServerA01
2014/01/17 3:56:42 - requesting resource ServerA01.NBU_POLICY.MAXJOBS.ServerA01
2014/01/17 3:56:42 - awaiting resource ServerA01.NBU_CLIENT.MAXJOBS.ServerA01 - will retry logical later
2014/01/17 4:03:08 - granted resource ServerA01.NBU_CLIENT.MAXJOBS.ServerA01
2014/01/17 4:03:08 - granted resource ServerA01.NBU_POLICY.MAXJOBS.ServerA01
2014/01/17 4:03:08 - granted resource THU02A
2014/01/17 4:03:08 - granted resource HP.ULTRIUM3-SCSI.000
2014/01/17 4:03:08 - granted resource ServerA01-hcart3
2014/01/17 4:03:08 - started process bpbrm (8128)
2014/01/17 4:03:08 - connecting
2014/01/17 4:03:08 - connected; connect time: 00:00:00
2014/01/17 4:03:11 - mounted
2014/01/17 4:03:11 - positioning THU02A to file 2
2014/01/17 4:03:13 - positioned THU02A; position time: 00:00:02
2014/01/17 4:03:13 - begin writing
2014/01/17 4:08:50 - Warning bpbrm(pid=8128) from client ServerA01: WRN - can't open file: C:\COREUTIL\Altiris\eXpress\NS Client\Tasks\AeXTaskSchedulerLock\taskSchedulerLock.tmp (WIN32 32: Unknown error)
2014/01/17 4:22:40 - Error bpbrm(pid=8128) from client ServerA01: ERR - failure reading file: C:\osit\tmp\ps_mon.dbg (WIN32 13: Unknown error)
2014/01/17 4:26:07 - Error bpbrm(pid=8128) from client ServerA01: ERR - failure reading file: C:\Program Files\AccessData\Agent\s.bin (WIN32 32: Unknown error)
2014/01/17 4:43:54 - Warning bpbrm(pid=8128) from client ServerA01: WRN - Removable Storage Management: unable to export database (WIN32 -2147221164: Unknown error)
2014/01/17 8:15:11 - Error bptm(pid=11988) cannot write image to media id THU02A, drive index 0, The device is not ready.
2014/01/17 8:15:11 - Error bpbrm(pid=8128) from client ServerA01: ERR - bpbkar exiting because backup is aborting
2014/01/17 8:15:14 - end writing; write time: 04:12:01
media write error(84)



The media got ejected from the drive following the error message.


Solution:

> Cleaned the drive using cleaning tape.
> Inserted new tape and formatted.
> Rerun the backup, which was successful then.

Hope this helps!

Monday, January 27, 2014

Backup status in TSM

Full syntax:
query event <domain_name> <schedule_name> type=client begindate=mm/dd/yyyy begintime=00:00 enddate=mm/dd/yyyy endtime=hh:mm exceptionsonly=yes <format=detailed>

These commands needs to be run from the TSM server to check the pervious day's missed/failed backups of BA-client/admin schedules. Below is the short form of the same:

Short form:
q event * * begind=-1 endd=t ex=yes

Next we going to check the status of administrative schedules such as DB backup, reclamation.. etc

Full syntax:
query event <schedule_name> type=administrative begindate=mm/dd/yyyy begintime=00:00 enddate=mm/dd/yyyy endtime=hh:mm exceptionsonly=yes <format=detailed>

Short form:
q event * t=a begind=-1 endd=t ex=yes