Overview:
Symantec NetBackup (tm) will not allow a tape with active images to be moved from one volume pool to another if the tape is already assigned.  Attempting to change the volume pool for an assigned media will result in the error "Change pool of <mediaid> failed(91)".

Troubleshooting:
The vmquery command can be used to determine if the tape is assigned or not.  Check the "assigned:" entry to see if an assigned time has been set.  If an assigned time has been set, the tape cannot be moved to another volume pool until all valid images have expired.  The following example is from a Solaris 9 master server, which has an assigned time for media ID A00001.

# /usr/openv/volmgr/bin/vmquery -m A00001
===================================================
media ID:              A00001
media type:            DLT cartridge tape (11)
barcode:               --------
media description:     ------
volume pool:           NetBackup (1)
...
created:               Thu Aug 25 13:22:21 CDT 2005
assigned:              Wed Dec  7 21:02:14 CST 2005
...
status:                0x0
===================================================

The bpmedialist command can then be used to determine if there are valid images still on the tape.  If there are valid images still on the tape, then the tape cannot be moved to another volume pool until all valid images have expired.  The following example shows 80 valid images still remain on media ID A00001.

# /usr/openv/netbackup/bin/admincmd/bpmedialist -m A00001
Server Host = beamer

id     rl  images   allocated        last updated <snip>
          vimages   expiration       last read    <snip>
---------------------------------------------------<snip>
A00001   2    174   12/07/2005 21:02  01/08/2006   <snip>
              80   01/29/2006 21:06        N/A       

The bpimmedia command can be used to display any IMAGE or FRAG lines that reference the tape.   The bpimmedia command will display a set of IMAGE and FRAG lines for each valid image.
# /usr/openv/netbackup/bin/admincmd/bpimmedia -mediaid A00001  |more
IMAGE hostname 7 hostname_1136776013 <snip>
FRAG 1 -1 3825 0 2 13 174 A00001 <snip>
FRAG 1 1 148800 0 2 13 172 A00001 <snip>
FRAG 1 2 12757 0 2 13 173 A00001 <snip>
<<--remaining entries-->>

Log Files:  n/a

Resolution:
Under normal operation, it is necessary to wait for all valid images to expire before attempting to move a tape from one volume pool to another.  NetBackup will deassign the tape once all valid images have been expired.  Once the tape has been deassigned, the tape can be moved to a new volume pool.

In situations where the tape is listed with an assigned date, but where NO valid images exist on the tape, the following command can be run:  
# bpexpdate -deassignempty -m <mediaid>

This will clear the assigned time on the tape and allow it to be moved to another pool.  Note: This command will fail when there are still valid images on the tape. Normally, it is not necessary to run this command to deassign a tape.  NetBackup should clear the assigned time automatically once the last image on a tape expires.  Once all the images are expired the tape can be moved to a new volume pool.  

Additionally, if a media has valid images, but that images are no longer desired, the following command may be run:
# bpexpdate -m <mediaid> -d 0
Warning:  This command will erase all NetBackup catalog information for the media for which it is run.

STATUS CODE: 91, occurs when trying to move media from one volume pool to another.的更多相关文章

  1. http method and status code

    http method HEAD: 只返回相应的header POST: 一般用于提交表单 PUT: 向Web服务器上传文件 GET: 查 DELET: 删除 status code 1xx与2xx: ...

  2. http status code

    属于转载 http status code:200:成功,服务器已成功处理了请求,通常这表示服务器提供了请求的网页 404:未找到,服务器未找到 201-206都表示服务器成功处理了请求的状态代码,说 ...

  3. 重定向Http status code 303 和 302

    http 302 http 303 Http 302 302是一个普通的重定向代码.直观的看来是,请求者(浏览器或者模拟http请求)发起一个请求,然后服务端重定向到另一个地址.而事实上,服务端仅仅是 ...

  4. C#、JAVA操作Hadoop(HDFS、Map/Reduce)真实过程概述。组件、源码下载。无法解决:Response status code does not indicate success: 500。

    一.Hadoop环境配置概述 三台虚拟机,操作系统为:Ubuntu 16.04. Hadoop版本:2.7.2 NameNode:192.168.72.132 DataNode:192.168.72. ...

  5. 常见http status code

    常见http status code 常见的状态码: HTTP: Status200– 服务器成功返回网页 HTTP: Status404– 请求的网页不存在 HTTP: Status503– 服务不 ...

  6. HTTP Status Code [RFC]

    来源:http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml Hypertext Transfer Prot ...

  7. HttpWebRequest.GetResponse() raises exception when http status code 400 (bad request) is returned

    参考: .Net HttpWebRequest.GetResponse() raises exception when http status code 400 (bad request) is re ...

  8. HTTP状态码(HTTP Status Code)【转】

    HTTP状态码(HTTP Status Code) 一些常见的状态码为: 200 - 服务器成功返回网页 404 - 请求的网页不存在 503 - 服务不可用 所有状态解释:点击查看 1xx(临时响应 ...

  9. HTTP状态码 - HTTP Status Code

    HTTP Status Code 常见的状态码: HTTP: Status 200 – 服务器成功返回网页HTTP: Status 404 – 请求的网页不存在HTTP: Status 503 – 服 ...

随机推荐

  1. Oracel 格式化日期 to_char()

    select empno,ename,job,mgr,to_char(HIREDATE,'yyyy-mm-dd') as 入职日期,sal,comm,deptno from emp order by ...

  2. day 5 集合

    # -*- coding: utf_8 _*_# Author:Vi#集合是无序的 list_1 = [1,2,3,2,3,5,7]list_1 = set(list_1)#将列表转变成集合list_ ...

  3. Java中JVM虚拟机详解

    1. 什么是JVM? JVM是Java Virtual Machine(Java虚拟机)的缩写,JVM是一种用于计算设备的规范,它是一个虚构出来的计算机,是通过在实际的计算机上仿真模拟各种计算机功能来 ...

  4. 源代码看CoordinatorLayout.Behavior原理

    在上一篇博客CoordinatorLayout高级使用方法-自己定义Behavior中,我们介绍了怎样去自己定义一个CoordinatorLayout的Behavior.通过文章也能够看出Behavi ...

  5. ubuntu-通配符

    ubuntu下的通配符主要有三个 1.*  这个是匹配任意一个或多个字符 ab1.txt ab2.txt ab3.txt abc.txt 执行命令以及结果如下 zhangshuli@zhangshul ...

  6. node --进行后台的环境搭建

    1.下载winscp  --- 输入IP 端口 账号 密码  进入当前的服务器环境 2.下载xshell5 ---- 输入IP 端口  和 winscp 达成连接. 3.把本地代码放置 winscp远 ...

  7. node----ajax请求太大报错------解决方法

    //----分析主体程序var bodyParser = require(‘body-parser‘); app.use(bodyParser.json({limit: ‘50mb‘})); app. ...

  8. Linux启动过程总结

    当我们按开机键后,主机就会执行: 1.POST(Power-On Self Test 加电自检). 2.读取BIOS中定义的开机设备启动程序,并加载MBR(主引导记录(Master Boot Reco ...

  9. 使用PyCharm安装第三方库

    使用PyCharm安装第三方库是一种十分简单的做法,接下来我来演示一下在PyCharm上安装第三方库requess的操作流程. 首先,先看一下当第三方库未安装时的提示内容,在pycharm中新建pyt ...

  10. 【Codeforces Round #453 (Div. 2) C】 Hashing Trees

    [链接] 我是链接,点我呀:) [题意] 在这里输入题意 [题解] 显然只有当a[i]和a[i-1]都大于1的时候才会有不同的情况. a[i] >= a[i-1] 且a[i-1]>=2 则 ...