05-27-2008 03:21 AM
In our Company we are using LTO4 tapes for backup from one of our NDMP
hosts.These tapes are inserted in 2 volume pools: one for incremental
backups (Daily_NDMP_LTO4) and one for full backups (Weekly_NDMP_LTO4).We
had some problems at network side and we had to change the NDMP host FQDN.
So the old NDMP host name was deleted from Netbackup, and the new NDMP
host name was inserted.Everything is working well.
The problem is with the tapes that were used for backup from the old NDMP
host, they are not expired and put in Scratch Volume Pool.All the images
on the tapes have the retention period set to 1 month, and this retention
period expired but the tapes are still in the volume pools mentioned in
the upper rows. Already tried to expire the media :
1.bpexpdate -m 400056 justmedia -d 0
Are you SURE you want to delete 400056 y/n (n)? y
database system error
2.bpimmedia -mediaid 400056
no entity was found
3.Followed the steps from:http://support.veritas.com/docs/300927
but no success.
nbemmcmd -listmedia -mediaid 400056
NBEMMCMD, Version:6.5
Media ID: 400056
Partner: -
Media Type: HCART
Volume Group: 002_00000_TLD
Application: Netbackup
Media Flags: 1
Description: Added by Media Manager
Barcode: 400056
Partner Barcode: --------
Last Write Host:
Created: 03/10/2008 09:12
Time Assigned: 04/12/2008 22:14
First Mount: 04/13/2008 00:22
Last Mount: 05/19/2008 10:27
Volume Expiration: -
Data Expiration: 05/20/2008 22:34
Last Written: 04/19/2008 22:34
Last Read: 05/19/2008 10:27
Robot Type: TLD
Robot Control Host: tdn1m02bks0w
Robot Number: 0
Slot: 269
Side/Face: -
Cleanings Remaining: -
Number of Mounts: 3
Maximum Mounts Allowed: 0
Media Status: FULL
Kilobytes: 1014913736
Images: 52
Valid Images: 52
Retention Period: 3
Number of Restores: 1
Optical Header Size Bytes: 1024
Optical Sector Size Bytes: 0
Optical Partition Size Bytes: 0
Last Header Offset: 14104927
Adamm Guid: 00000000-0000-0000-0000-000000000000
Rsm Guid: 00000000-0000-0000-0000-000000000000
Origin Host: NONE
Master Host: tdn1m02bks0w
Server Group: NO_SHARING_GROUP
Upgrade Conflicts Flag:
Pool Number: 12
Volume Pool: Weekly_NDMP_LTO4
Previous Pool Name: Scratch
Vault Flags: -
Vault Container: -
Vault Name: -
Vault Slot: -
Session ID: -
Date Vaulted: -
Return Date:
-
4.bptm -makedbentry -m 400056 -den hcart -poolnum 12
Error - database system error
What to do next?
Thank You in advance.
05-27-2008 12:51 PM
05-27-2008 01:23 PM
05-28-2008 12:45 AM
05-28-2008 01:10 AM
05-28-2008 03:34 AM
05-28-2008 03:55 AM
05-28-2008 06:34 AM
05-28-2008 01:19 PM
06-03-2008 02:52 AM
06-24-2008 11:30 AM
ISSUE:
Cannot expire tapes
ERROR CODE/MESSAGE:
Error - database system error
ENVIRONMENT/CONDITIONS:
An NDMP host that had the media assigned to it was deleted and re-added with a new name
SOLUTION/WORKAROUND:
This condition is a result of a known issue with NetBackup 6.5 and 6.5.1. The EMM database referential integrity is compromised if a host that has media assigned to it is deleted.
The root cause of this issue is being investigated by Symantec with internal tracking number ET1185547 and the fix is currently targeted for 6.5.4 release. Meanwhile, if you need to move media from one host to another, please expire this media or move it to a different media server with bpmedia -movedb command.
Scripts were prepared and delivered to fix the database referential integrity.
Also here is a great link on how to correctly decommission a media server or NDMP host:
http://seer.entsupport.symantec.com/docs/230047.htm
Regards,
Tom.