changing expiration on imported images
Updated: 21 May 2010 | 10 comments
Is anybody else running into problems with changing the expiration date on imported images? I've imported several tapes and I need to change the retention on them -- however I keep getting an error that the "media not found in EMM database" ... Can somebody test this to see if this is a bug?
Netbackup 6.0MP5
HP-UX 11.23
1 Master / 4 Media Servers
SSO
(I've tried changing expiration date on the individual images and also for the tape, but the results are the same.)
discussion Filed Under:
Comments
Symantec Certified Specialist in Symantec NetBackup 7.0
(NBU 7.1.0.2, ACSLS, DataDomain, NDMP...)
Don't forget to vote or mark solution!
regards, Srikanth.
Symantec Certified Specialist in Symantec NetBackup 7.0
(NBU 7.1.0.2, ACSLS, DataDomain, NDMP...)
Don't forget to vote or mark solution!
Requested media id was not found in the EMM database
When attempting to expire a media in NetBackup 6.0 with the bpexpdate command, the message "requested media id was not found in the EMM database" is received.
Troubleshooting:
If there are database inconsistencies with a media, bpexpdate may not be able to expire it, though it lists as assigned.
For example, if a volume is assigned, it is normally expected that it would have a associated media server name recorded in the Enterprise Media Manager (EMM) database. This is the media server that currently "owns" the media.
If a volume is assigned, but does not have a media server listed in the EMM database, there is an inconsistency. Therefore, bpexpdate may not work and a procedure must be followed to ensure that the media is expired. Media in this sort of predicament may or may not have unexpired images associated with it.
Log Files: N/A
Resolution:
The procedure for analyzing and eliminating inconsistencies for a media is as follows, using "A00001" as an example media ID:
1. Use nbemmcmd to list the media server record for the media ID. If the Media Server: hostname appears as NONE, yet there is a value for Time Assigned:, this indicates an incomplete EMM media record. In the output below, "A00001" is assigned, but has no associated media server.
2. Determine if the media ID exists in the merge table. If the media ID appears in this listing, then a different issue exists, do not proceed further. Contact Symantec Technical Services for assistance with getting this media ID out of the merge table. The following example shows no media IDs in the merge table:
3. From the same path, type "bpimmedia -mediaid A00001" to determine if there are any images on this piece of media. If there are no images, then no output will be displayed. If there are images, an IMAGE line and FRAG line will appear for each valid image on the media ID.
4. As long as the media ID does not appear in the merge table, the bptm command can be used to build a complete media record for each affected media ID. Then the volume can then be unassigned and expired. This will require the media ID of the affected media, as well as the density and the volume pool number. The following example is from a Solaris 9 server with a media ID of A00001, a density of HCART, that resides in Volume Pool 1 (NetBackup).
5. Once this command completes, run the "nbemmcmd -listmedia -mediaid A00001" command again from step 1. There should now be a valid Media server: hostname.
6. The tape can now be expired with the bpexpdate command:
Bob Stump VERITAS - "Ain't it the truth?" Incorrigible punster -- Do not incorrige
Symantec Certified Specialist in Symantec NetBackup 7.0
(NBU 7.1.0.2, ACSLS, DataDomain, NDMP...)
Don't forget to vote or mark solution!
Bob Stump VERITAS - "Ain't it the truth?" Incorrigible punster -- Do not incorrige
Can't get to the /usr/openv/netbackup/admincmd directory ????
When I tried to get to the directory for running the commands on a Unix plateform the admincmd doesn't exist. Thoughts on why this might be?
This is what I have under the /usr/openv/netbackup directory:
drwxrwxrwx 5 root bin 96 Jul 23 2007 help
-rwxrwxrwx 1 root bin 34211 Jul 23 2007 vfm_master.conf
-rwxrwxrwx 1 root bin 104 Jul 23 2007 version
-rwxrwxrwx 1 root bin 3655 Jul 23 2007 nblog.conf.template
drwxrwxrwx 9 root bin 4096 Sep 30 15:38 client
drwxrwxrwx 2 root bin 96 Sep 30 15:39 dbext
drwxrwxrwx 12 root bin 4096 Oct 7 15:22 db
-rwxrwxrwx 1 root root 3607 Oct 9 13:47 nblog.conf
drwxrwxrwx 16 root bin 4096 Oct 15 11:13 logs
-rwxrwxrwx 1 root sys 2753 Oct 15 16:21 nbsvcmon.conf
drwxrwxrwx 2 root sys 96 Oct 17 15:21 remote_versions
-rw-r--r-- 1 root root 132 Oct 17 15:44 bp.conf
-rw-r--r-- 1 root sys 6 Oct 19 00:00 version_master
drwxrwxrwx 13 root bin 4096 Oct 19 09:29 bin
Should have been a new thread
(Just an FYI this is a brand new question you should have started a new thread)
/usr/openv/netbackup/bin/admincmd
the admincmd is inside the bin dir - you just need to go down one more dir
I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows
Your right
Your right I should have started a new thread, sorry. Thanks for pointing out my error in the path, I didn't see it before. :)
Would you like to reply?
Login or Register to post your comment.