NBU expired Media,Media ID not found in EMM database

Subject:When attempting to expire a media in Veritas NetBackup (tm) 6.0 with the bpexpdate command, the message "requested media id was not found in the EMM database" is received

Reference:https://www.veritas.com/support/en_US/article.TECH44823

1. 使用nbemmcmd列出media的詳細信息主要是Master Server信息

[[email protected] admincmd]# nbemmcmd -listmedia -mediaid DD1083
NBEMMCMD, Version:6.5.6
====================================================================
Media GUID:                     a28ad432-f215-11e5-8000-fcf2c0fe6d67
Media ID:                       DD1083                             
Partner:                        -                                  
Media Type:                     HCART2                             
Volume Group:                   000_00002_TLD                      
Application:                    Netbackup                          
Media Flags:                    1                                  
Description:                    Added by Media Manager             
Barcode:                        DD1083                             
Partner Barcode:                --------                           
Last Write Host:                nhpabk01                           
Created:                        03/24/2016 15:10                   
Time Assigned:                  04/07/2016 08:18                   
First Mount:                    03/25/2016 02:03                   
Last Mount:                     04/10/2016 19:54                   
Volume Expiration:              -                                  
Data Expiration:                04/17/2016 19:54                   
Last Written:                   04/10/2016 19:54                   
Last Read:                      -                                  
Robot Type:                     TLD                                
Robot Control Host:             nhpabk01                           
Robot Number:                   2                                  
Slot:                           83                                 
Side/Face:                      -                                  
Cleanings Remaining:            -                                  
Number of Mounts:               30                                 
Maximum Mounts Allowed:         0                                  
Media Status:                   ACTIVE                             
Kilobytes:                      326461728                          
Images:                         79                                 
Valid Images:                   79                                 
Retention Period:               0                                  
Number of Restores:             0                                  
Optical Header Size Bytes:      1024                               
Optical Sector Size Bytes:      0                                  
Optical Partition Size Bytes:   0                                  
Last Header Offset:             5101164                            
Adamm Guid:                     00000000-0000-0000-0000-000000000000
Rsm Guid:                       00000000-0000-0000-0000-000000000000
Origin Host:                    NONE                               
Master Host:                    nhpabk01                           
Server Group:                   NO_SHARING_GROUP                   
Upgrade Conflicts Flag:                                            
Pool Number:                    4                                  
Volume Pool:                    EMCDD2200                          
Previous Pool Name:             -                                  
Vault Flags:                    -                                  
Vault Container:                -                                  
Vault Name:                     -                                  
Vault Slot:                     -                                  
Session ID:                     -                                  
Date Vaulted:                   -                                  
Return Date:                    -                                  
====================================================================
Command completed successfully.

2.查看有沒有media ID在merge表里,如果有,不要再做操作,聯繫NBU處理;如果沒有,就繼續

[[email protected] admincmd]# nbemmcmd -listmedia -mergetable
NBEMMCMD, Version:6.5.6
The following number of records were found:0
Command completed successfully.

3.確定了沒有media在merge table里,就看看media ID是否有image

有的話就會列出IMAGE和FRAG行(這裡就是那些還沒有過期的media),沒有的話就不會輸出什麼(這裡就是那些已經過期或者沒有assigned的media)

[[email protected] admincmd]# bpimmedia -mediaid DD1084
IMAGE NHMIX01 8 NHMIX01_1465888536 NHCMO_FA_LUN_nhmix01_ORALOG_BL_H_D 4 Default-Application-Backup 2 11 1 1466147736 0 0
FRAG 1 1 256544 0 2 14 104 DD1084 nhpabk01 65536 5960601 1465614545 11 0 *NULL* 1466147736 0 11 1 *NULL*

[[email protected] admincmd]# bpimmedia -mediaid DD1083
no entity was found

 

4.只要media ID沒有出現在merge table,就能夠使用bptm命令來為受影響的media ID建立一個完整的media記錄(這裡說的是上面master Server不存在的情況,不存在主要是一些,通過該命令來讓media ID的master Server呈現出來),只要有了完整的信息,Media ID就能夠使之expired和unsigned.

bptm命令需要知道Media ID,density,volumn pool number三個參數

[[email protected] admincmd]# bptm -makedbentry -m DD1083 -den hcart2 -poolnum 4
bptm: media db entry for DD1083 already exists, aborting
Error - media manager - system error occurred
我這裡是該media ID已經存在db entry里了

 

5. 接下來就可以用bpexpdate來過期media

bpexpdate –m DD1083  –d 0

时间: 2024-12-20 18:52:14

NBU expired Media,Media ID not found in EMM database的相关文章

html自适应布局,@media screen,媒体查询

html自适应布局,@media screen,媒体查询 自适应代码示例: <!doctype html><html><head><meta charset="utf-8"><title>响应式布局</title><style type="text/css"> *{padding:0px; margin:0px; font-family:"微软雅黑";} #hea

针对CSV备份报错,Event ID:8194,Source:VSS

平台:Windows server 2012 卷类别:CSV(cluster shared volume) 存储:DELL equalogic PS 6100 软体:HIT 现象:针对CSV进行备份的时候,调用Microsoft的VSS能备份成功,但是不能调用DELL equalogic的VSS来备份,且Windows不断报以下错误:VSS 8194 经多放资料查证,本VSS报错与备份无关(Microsoft和赛门铁克都有资料说明),但是此报错看着很烦,而且过多,容易覆盖掉其他Error,解决该

标签,用ID捏还是用class捏?

想谈一下几个基本的HTML问题,都是围绕着应该怎样使用HTML.1. 多用有语义的标签,少用div和span,避免使用没有class的div和span. 设想一下HTML的世界最初只有div和span这两个标签,其实网页依然可以写得出来.更多标签的出现,其实是为了替代利用率高但不好书写的</code> 和 来的>想再接着多说一句的是,在HTML5里越来越多常见的div class组合或div id组合被直接命名为了新的标签.理由也是相同的,像header/footer/aside/nav

ios开发证书,描述文件,bundle ID的关系

http://www.jianshu.com/p/21ebca8cadf6 苹果为了控制应用的开发与发布流程,制定了一套非常复杂的机制.这里面的关键词有:个人开发者账号,企业开发者账号,bundle ID,开发证书,发布证书(又叫"生产证书"),开发描述文件,发布描述文件,推送证书等....初级开发者很难理解这中间的关系和作用.下文就对上述列出的关键内容和它们的关系做个详细介绍. 1. 开发者账号 开发者账号其实就是apple id,只不过要成为开发者,需要去苹果开发者中心激活开发权限

mysql删除重复记录,保存Id最小的一条

方法1: 1.创建一个临时表,选取需要的数据. 2.清空原表. 3.临时表数据导入到原表. 4.删除临时表. mysql> select * from student; +----+------+ | ID | NAME | +----+------+ | 11 | aa | | 12 | aa | | 13 | bb | | 14 | bb | | 15 | bb | | 16 | cc | +----+------+ 6 rows in set mysql> create temporar

sql,联合主键,按id分组求版本号最大值的集合

表结构如下: /* SQLyog v10.2 MySQL - 5.5.39 ********************************************************************* */ /*!40101 SET NAMES utf8 */; create table `seal` ( `id` varchar (96), `update_user` varchar (96), `update_time` datetime , `seal_name` varch

XP系统中,系统属性→计算机名中,网络ID是灰色的不可用状态,还有下面的“更改”按钮点进去,“隶属于”的域和工作组也是灰色不可用

XP系统中,系统属性→计算机名中,网络ID那个按钮是灰色的不可用状态,还有下面的“更改”按钮点进去,“隶属于”的域和工作组也是灰色不可用. 一般提供的解决方法:在运行中键入Msconfig,在服务标签中钩选workstation服务,即可!另,也可在控制面板中选择“管理工具”---“服务”----开启workstation服务即可! 假如没有workstation服务,请在网络中安装microsoft网络客户端! 但是在启用服务的时候却出现问题了:windows 不能在本地计算机中启用 work

织梦DedeCMS删除所有栏目或文章后,新建ID不从1开始的解决方法

这个修改方法很简单,从模板无忧那里找到的,只需要在后台系统-SQL命令行工具里面运行以下语句即可,不用采用笨方法重新安装织梦CMS了. 删除所有栏目,新建ID从1开始: ALTER TABLE `dede_arctype` AUTO_INCREMENT =1; 删除所有文章,新发布文章ID从1开始: ALTER TABLE `dede_archives` AUTO_INCREMENT =1;

jQuery选择器中,通配符[id^=&#39;code&#39;]input[id$=&#39;code&#39;][id*=&#39;code&#39;]

1.选择器 (1)通配符: $("input[id^='code']");//id属性以code开始的所有input标签 $("input[id$='code']");//id属性以code结束的所有input标签 $("input[id*='code']");//id属性包含code的所有input标签 (2)根据索引选择 $("tbody tr:even"); //选择索引为偶数的所有tr标签 $("tbody