Start a Conversation

Unsolved

This post is more than 5 years old

2068

February 9th, 2011 02:00

Problems labeling tapes

We have a customer who has several networker installations all over the world. All the setups are the same, consisting of a server and a tape library. The tape libraries are equipped with LTO4 drives, but some tapes are LTO3. Networker is ver. 7.5.2

In one of these setups, they are having issues labeling tapes. Sometimes it takes 3-4 retries to get the tape labeled, other times it just works right away. When a tape is labeled, it is immediately used for a backup. Sometimes when they try to mount the same tape again after a few days or hours, they get an error message about invalid label.

My first guess was that this is a hardware issue, maybe the tape drive just can't label properly.But they got the drive replaced 6 months ago because of the same problem.

As far as I know they use the GUI to label tapes and administer NW, but I'm going to ask them to try doing it through the CLI to see if that changes anything or at least gives them some error messages.

Any ideas anyone?

/tony

February 9th, 2011 02:00

My first guess would be are you cleaning your drives regularly?  Secondly is your firmware/drivers up-to-date?

Could you post the exact message you get when it refuses to label a tape?

75 Posts

February 9th, 2011 02:00

Thanks David, I'll ask them.

/tony

75 Posts

February 9th, 2011 06:00

Ok, I guess I misinformed earlier, it's a standalone drive attached directly to the backup server.

The drives are cleaned regularly, and firmware has been updated recently.

I haven't got the error message from the cu yet.

/tony

February 9th, 2011 06:00

You could also verify if these problems happen with a particular tape format (LTO3/LTO4), if these tapes have been used before, if they are tapes that may have been purchased or stored in a similar batch.

64 Posts

February 11th, 2011 02:00

mays be labels are being overwritten by other softwares

18 Posts

February 11th, 2011 16:00

Are these AIX servers by any chance? I have seen old versions of the IBM Atape driver cause this behavior

Sometimes you find the volid on the tape and in the media database do not match particularly if relabelling tapes on a very heavily loaded server - run scanner against the tape to verify the physical volid.

Are they using mixed media / both LTO3 and LTO4 tapes - possibly drive is not resetting when different media is presented.

 

Do you have hardware encryption in this infrastructure?

Obvious question - they have checked that all the tapes are write enabled

75 Posts

February 14th, 2011 06:00

I finally got a chance to log on to the system and tried labeling a tape using nsrmm, see attached screenshot. Could the error message about group numbers be causing this? There are no problems on any of their other servers which are identical. I don't know if this error message shows up though, they only and always use the GUI.

nw-nsrmm-groups.jpg

Server is running windows, not AIX. I'm not sure about the tape drivers. I'll check.

/tony

February 14th, 2011 06:00

That appears to be successful, do you have an instance where it failed?

February 14th, 2011 06:00

BTW other message is an informational message which you can remove by setting the MAX_LGTO_GROUPS environmental variable to a value higher than the number of Windows groups the user doing the backup is a member of.

75 Posts

February 14th, 2011 23:00

Hi David,

Even though the labeling seems to be succesful, it failed when it tried to mount the tape(5 secs later). In the daemon.log it says:

39077 14-02-2011 15:45:28  nsrmmd error, Cannot find volume ID `0' for volume update, openscan error `cannot find the key (-519)'
72504 14-02-2011 15:45:28  nsrd \\.\Tape0 mount operation failed: invalid tape label, additional info invalid

The admin didn't see this error earlier becuse he only uses NMC and does not know how to use the CLI tools.

Thanks for the info about the max_groups variable, I'll put it to good use.

/tony

75 Posts

March 17th, 2011 06:00

I managed to find out what the problem was. They were running networker in a VMware ESX environment as a virtual server with the tape hardware attached to the ESX host. Totally unsupported.

Thanks for your help everyone, sorry that i didn't know more about the setup.

/tony

No Events found!

Top