Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

Thursday, March 13, 2014

Tip of the Day!

If you attempt to get the serial number of a device and found "N/A", which means the device is missing/malfunctioning. This also happens when the device is in locked status by BSM/RSM/CSM/UMA/LTT.

C:\>devbra -dev

Tape    HP:Ultrium 1-SCSI  Path: "Tape0:0:0:0"  SN: "N/A"
            Description: CLAIMED:HP LTO drive
            Revision: E38W  Device type: lto [13]  Flags: 0x0011

To confirm the reason, run the below command to identify:

>>omnimm -show_locked_devs | grep <lock name>

If there's a lock, wait for the device to become free. Or you can forcibly free the device by executing the below:

>>omnidbutil -free_locked_devs <lock_name> //this would abort if any session utilizing the device

Once the device is free, run the 'devbra -dev' command and you will get the serial number. If not reboot the media server or the library depends on the error messages. If it still continues to be, replace the drive.

Saturday, February 1, 2014

Tip of the Day!

Hi there,

Good Morning!

Tip of the day is related to Data Protector (Session abort)

Scenario: If you happen to abort a backup session that was already started and running, do not abort the session directly. (Assuming the backup is copied to tape library.)

Follow the steps below:

> Cancel all the devices that are running
> Then abort the session (either from CLI/GUI)

After the media agents are aborted, you will see the message like below:

[Normal] From: BSM@server01.fp.sa.com "backup_spec01"  Time: 1/31/2014 10:28:03 PM
Device canceled by user dpuser1@mgmt01.fp.sa.com

[Normal] From: BMA@server01.fp.sa.com "ESL01_D01"  Time: 1/31/2014 10:29:11 PM
ABORTED Media Agent "ESL01_D01"

Reason:

Aborting the session directly would not allow the media agents to a clean exit, which might end in damaging the media headers, chances are there for the media to get stuck in drive, media might be marked as poor.

It is always wise to abort the media agents and then your session.

Have a Great day!