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. 跨域使用onmessage实现方式

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  2. 网站平台的favicon.ico的logo

        <link rel="shortcut icon" href="http://www.uuop.com/icotemp/2017061703035984/f ...

  3. C/C++(文件操作二)

    二进制读写才是本质 二进制的读写对文件标记不敏感. eg: 对图片进行加密与解密: 用命令的形式去执行: //xx.exe -c src dest 加密 //xx.exe -d src dest 解密 ...

  4. VBA调试利器debug.print

    作者:iamlaosong 百度一下.非常easy找到debug.print解释和使用介绍.事实上非常简单.就是将代码运行结果显示在"马上窗体"中,但不影响程序运行.VBA程序调试 ...

  5. 用djbdns为域名解析服务护航

      上期回顾:http://chenguang.blog.51cto.com/350944/292195       650) this.width=650;" alt="&quo ...

  6. win7旗舰版怎么降级到专业版

    一.操作准备及注意事项 1.UltraISO光盘制作工具9.5 2.备份C盘及桌面文件 二.win7旗舰版改成专业版的步骤 1.当前系统为Win7 SP1 64位旗舰版: 2.按Win+R打开运行,输 ...

  7. BZOJ3530: [Sdoi2014]数数(Trie图,数位Dp)

    Description 我们称一个正整数N是幸运数,当且仅当它的十进制表示中不包含数字串集合S中任意一个元素作为其子串.例如当S=(22,333,0233)时,233是幸运数,2333.20233.3 ...

  8. 含有过滤功能的android流式布局

    FilterFlowLayout 含有过滤功能的流式布局, 參考FlowLayout 能够去除宽度不在范围(比例或真实值)内的子view 能够设置最大行数 能够加入组件间水平间距 能够加入行间距 系统 ...

  9. windows下使用cpanm进行模块安装

    windows下使用cpanm进行模块安装 要放假了,突然想整理一下手头上的软件,突然发现perl的安装模块这个功能不能用. 弄了一下,使得windows 下 perl 的 cpanm能用,避免成天为 ...

  10. .condarc(conda 配置文件)

    Configuration - Conda documentation .condarc以点开头,一般表示 conda 应用程序的配置文件,在用户的家目录(windows:C:\\users\\use ...