Link to home
Start Free TrialLog in
Avatar of Brian B
Brian BFlag for Canada

asked on

How to Remove Phantom Tape from Library

Hi All!

I am not having much luck finding a solution to this. I have Netbackup 7.5 running with an HP MSL6000 tape library. According to netbackup, the library has a tape in slot 20 that is not actually there. When I change the tapes out and inventory, it still shows up. I have rebooted the server and the library itself. No change.

I believe the problem is with netbackup, since the graphical indicator on the library does not show the tape. I even tried putting a real tape in the supposed phantom tape spot and netbackup showed the real tape in the next slot!

Finding the actual tape that corresponds to the phantom tape is not an option at the moment. So I am hoping there is a way to manually fix this without compromising my ability to recover data from that actual tape if I actually need it. Everything in the Natbackup documentation talks about phantom drives, not phantom tapes.

Thanks!
Avatar of Thomas Rush
Thomas Rush
Flag of United States of America image

I'm wondering if you can delete the library from Netbackup and then re-discover it.  In backup applications I'm more familiar with, this would be a painless process; I'm not sure about NB, though.

I'd also look to see if there is a command (probably command line) to check the integrity of Netbackup's databases.  Perhaps some corruption has snuck in, and that is preventing the proper inventory status.  This may be a blessing in disguise, if so; if there's corruption causing this error, there may be other errors which have not yet manifested themselves... and you have the opportunity to catch them before they lead to a failed restore or other problems.

Good luck!
Avatar of Brian B

ASKER

That's a good suggestion. For the reference of anyone else reading this, specific instructions on how to check DB consistency is here: http://www.symantec.com/business/support/index?page=content&id=TECH126758

However the database reported as "alive and well". Hopefully some others might have suggestions.
SOLUTION
Avatar of Thomas Rush
Thomas Rush
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brian B

ASKER

Good idea about moving it. I never thought of that. The move appear to work until I asked Netbackup for an inventory of the robot. Then it still said slot 21 (This is a 24-slot tape library).

It has been working fine for years, so I don't think anything to do with configuration would be a problem.

I moved the tape to "standalone". That took it out of the view. If ran an inventory preview and it is trying to put the tape back in slot 21. So I cancelled that. At least the software doesn't think there is anything there at the moment. So less risk of causing a backup error from the software looking for something that isn't there.

Next week when I am back at that site, I am going to try and put that physical tape in and see if that works.
For what it's worth, if you have a 24-slot HP library, you probably have the MSL 2024 with LTO tape drives (this is a 2U, or about 3.5", high library).
Or if you (like Netbackup) have miscounted and it's a 26-slot library, it's probably an MSL 5026 with SDLT tape drives.  This is a 5U, approx. 8", high library.

Now, it's possible that Netbackup thinks it's one, when it's really the other, and this  confusion might be the root cause of your problem.   Please, when you can, take a moment to verify exactly which library it is, and which library Netbackup thinks it is.  Perhaps even have someone on-site take a photo of the unit and send it to you to compare with what Netbackup's GUI shows it's connecting to.

One other suggestion, just in case it's a library error (some weird kind of bad code internally, or error that's causing it to mis-report what it is/has/etc., you might consider downloading HP's free Library and Tape Tools, and running its library diagnostics.  Download link is here, in the upperish-right area of the screen.

Another debugging step that might or might do anything is to put a different, barcode labelled tape in this slot 21, and then have Netbackup try to do a restore off of it (restore a file it thinks is on the tape to a new location, you don't want to overwrite anything you might actually want).   Then see what happens.  Note: If sparks shoot out of either the Netbackup server or the tape library, please turn them off as soon as you notice.

So my suggestions for actions are:
1) Verify which model library you have, and that Netbackup sees it as what it is, and that the library and Netbackup agree on how many slots are physically present.
2) Download and run HP's free LIbrary and Tape Tools (link above) and run the library diagnostics.  If it calls for a tape, make sure it's a scratch tape and safe to destructively overwrite (destructive to data, not to the tape cartridge itself).
3) Even if Netbackup sees the library correctly, if the problem persists after 1) and 2) (and they don't suggest any problems or solutions), then delete the library from Netbackup and then (preferably after stopping and restarting all Netbackup services) add it back in through autodiscovery if possible, making sure that the library is correctly identified (model, geometry, tape drive configuration, etc.).
Avatar of Brian B

ASKER

Thanks for the further info.
1. It is definitely an MSL6000 with two LTO4 drives.

2. I just doubt the library itself is the problem since the tape library display indicates correctly that there is no tape in that slot.

As for the rest of the steps, I will try when I am onsite in case something goes wrong.
Avatar of Brian B

ASKER

Update: I removed and re-added the library. Didn't realize I also had to readd the tape drives until a backup job failed with status code 2001.

Anyway, there is still no difference. The weird part about this is that I intended to find the physical tape that is showing as a ghost and put that in. Problem is I can't find that tape. Every other tape in the set is there. It is really becoming a ghost....

I removed the actual cartridge that contained the ghost tape. Ran a new inventory and the ghost is gone. It is back in the correct place in the volume group with the other members of the tape set.

So that is the workaround for now. Still doesn't solve the problem.
So you took the tape out and the ghost has gone?

Have you now put it back? In the same slot or a different one?

If you put a different tape in that slot does it appear in the wrong slot, or is the ghost just related to one cartridge
Avatar of Brian B

ASKER

Hi Gerald,

I took out the tape _cartridge_. In other words the thing that holds 15 tapes. Then the phantom tape went away. If I put the cartridge back in, the phantom tape comes back.

As I said earlier, if I put a tape in slot 20 where the ghost is located, the physical tape shows up as slot 21 in Netbackup.
Brian, you mean the magazine.

So if it's got 15 slots, it sounds like you have a MSL6030, it really sounds like either a firmware issue, or a magazine registration issue
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brian B

ASKER

Thanks for the tips. All of these steps most likely helped to solve the problem.
That the tape was in the drive is interesting.   Thank you for posting that information.
You probably could have removed the cartridge from the drive with the Library and Tape Tools features -- sometimes there are good reasons to not power down a library (such as ongoing backup jobs).
There are also manual unload procedures -- but glad you've solved it.

I would verify that the firmware is up-to-date (either through the GUI or Library and Tape Tools).  And do make sure that Netbackup sees it as a 30-slot library.