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. js对象拷贝的方法

     对象拷贝的方法是一个难点,尤其是深拷贝.建议把代码都运行下,帮助理解拷贝. 一. json方法 1. 适合情况:  JSON对象的深度克隆.方法是先JSON.stringify() 转为json字符 ...

  2. HDU 1495 很可乐(BFS 倒水问题)

    题意  将体积为s的可乐  利用容积分别为n和m的两个杯子平均分为两份  至少须要倒多少次可乐 能够把容器s,n,m中装的可乐量看成一种状态 容器都是没有刻度的  所以每次倒可乐要么把自己倒完 要么把 ...

  3. Hadoop作业性能指标及參数调优实例 (二)Hadoop作业性能调优7个建议

    作者:Shu, Alison Hadoop作业性能调优的两种场景: 一.用户观察到作业性能差,主动寻求帮助. (一)eBayEagle作业性能分析器 1. Hadoop作业性能异常指标 2. Hado ...

  4. ContentValues的使用

    什么是 ContentValues类? ContentValues类和 Hashtable比较类似,它也是负责存储一些名值对,但是它存储的名值对当中的名是一个String类型,而值都是基本类型. 插入 ...

  5. 引用 Windows Server 2003 FTP服务器配置详解

    引用 昆神之星 的 Windows Server 2003 FTP服务器配置详解 1.FTP文件传输协议,主要用于计算机之间文件传输,是互联网上仅次于www的第二大服务.本文主要演示如何在Window ...

  6. MockServer jar包安装

    github地址: https://github.com/jamesdbloom/mockserver 1. org.apache.maven.plugin-tools:maven-plugin-an ...

  7. JavaScript学习总结(3)——JavaScript函数(function)

    一.函数基本概念 为完成某一功能的程序指令(语句)的集合,称为函数. 二.JavaScript函数的分类 1.自定义函数(我们自己编写的函数),如:function funName(){} 2.系统函 ...

  8. CentOS不能进入登录界面

    http://blog.csdn.net/powerzone/article/details/6798646

  9. 洛谷 P1287 盒子与球

    P1287 盒子与球 题目描述 现有r个互不相同的盒子和n个互不相同的球,要将这n个球放入r个盒子中,且不允许有空盒子.问有多少种方法? 例如:有2个不同的盒子(分别编为1号和2号)和3个不同的球(分 ...

  10. 【软件project】机房收费系统之图形回想

    [背景]通过一阶段的学习.自己整理了整理机房收费系统.以下想通过几张图来回顾一下机房的总体流程.此图形仅仅代表鄙人现阶段的理解.本文仅供參考,若有不妥的地方,请积极指正. 1.机房收费系统业务流程图 ...