Veritas-bu

Re: [Veritas-bu] Getting "media ID not unique in database (34)" trying to inventory 4 tapes for a restore

2013-05-16 18:47:39
Subject: Re: [Veritas-bu] Getting "media ID not unique in database (34)" trying to inventory 4 tapes for a restore
From: "BeDour, Wayne" <WBedour AT lear DOT com>
To: "BeDour, Wayne" <WBedour AT lear DOT com>, "veritas-bu AT mailman.eng.auburn DOT edu" <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Thu, 16 May 2013 18:47:30 -0400

Got it fixed.  Ran the following on the media and was able to inventory them afterwards:

 

#

# vmchange -barcode 001446L1 -m 001446

# vmchange -barcode 001447L1 -m 001447

# vmchange -barcode 001575L1 -m 001575

# vmchange -barcode 001716L1 -m 001716

#

 

Thanks for the help

 

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet: wbedour AT lear DOT com

 

From: BeDour, Wayne
Sent: Thursday, May 16, 2013 4:46 PM
To: 'Linda Boughner'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Getting "media ID not unique in database (34)" trying to inventory 4 tapes for a restore

 

How do I change a tape to “Standalone”?

 

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet: wbedour AT lear DOT com

 

From: Linda Boughner [mailto:Linda.Boughner AT durham DOT ca]
Sent: Thursday, May 16, 2013 4:35 PM
To: BeDour, Wayne
Subject: Re: [Veritas-bu] Getting "media ID not unique in database (34)" trying to inventory 4 tapes for a restore

 

Ahh...right. You will need to change those volumes to 'Standalone' so they are not associated to the original library/robot. Then you should be able to inventory them.

 

If not, then you may new do run some commands to change the library for the media.

 

Fyi

Linda

 

Sent from my BlackBerry 10 smartphone.

From: BeDour, Wayne

Sent: Thursday, May 16, 2013 3:56 PM

Subject: Re: [Veritas-bu] Getting "media ID not unique in database (34)" trying to inventory 4 tapes for a restore

 

I’ve tried deleting the media but I’m getting :

 

“cannot delete assigned volume 001446.  Cannot delete assigned media”

 

Any thoughts?

Thanks

 

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet: wbedour AT lear DOT com

 

From: mian71 AT gmail DOT com [mailto:mian71 AT gmail DOT com]
Sent: Thursday, May 16, 2013 3:15 PM
To: BeDour, Wayne
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Getting "media ID not unique in database (34)" trying to inventory 4 tapes for a restore

 

Hello Wayne

 

It might be because they registered as another media type already

 

I would try to delete the media and then rerun the inventory

 

Regards

Michael


Den 16/05/2013 kl. 20.53 skrev "BeDour, Wayne" <WBedour AT lear DOT com>:

All:

Our environment, HP-UX 11-31 currently running one master / media server on NetBackup 6.5.2.  (I know, 6.5 is getting old, we are trying to plan an upgrade..)  We are running mostly unix / Linux backups and a couple windows b/u’s thrown in for good measure.

 

I’m trying to restore from some old tapes on a library that it wasn’t created from which shouldn’t make any difference.  When I do an inventory, I’m getting the following error:

 

 

05/16/2013 14:38:46

Robot: TLD(1) on hqhp3

Operation: Inventory and Update

EMM Server: hqhp3

--------------------------------------------------------------------

Generating list of recommended changes ...

 

Proposed Change(s) to Update the Volume Configuration

=====================================================

Logically add new media 001716 (barcode 001716L1) to robot slot 6.

Logically add new media 001447 (barcode 001447L1) to robot slot 7.

Logically add new media 001446 (barcode 001446L1) to robot slot 8.

Logically add new media 001575 (barcode 001575L1) to robot slot 9.

Updating volume configuration ...

 

Processing new media added to the robotic library by logically

adding media with new media IDs as follows...

            Media ID         Slot

            ========      ====

           

 

Update failed: could not add new media ID '001716' into slot 6

Insert media failed:

media ID not unique in database (34)

 

 

My bar code rules appear to be correct, it’s showing the 1st 6 positions of the tape and leaving off the L1.  Anyone know why it thinks it’s new media and not unique and won’t let me inventory these tapes?

 

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet: wbedour AT lear DOT com

 

**********************
** LEGAL DISCLAIMER **
**********************
 
This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

**********************
** LEGAL DISCLAIMER **
**********************
 
This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.

 

**********************
** LEGAL DISCLAIMER **
**********************

This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>