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. sessionStorage的使用方法

    本篇是关于sessionStorage的使用方法的介绍,简单几行代码,实现sessionStorage,请大家查阅 (1)在需要设置sessionStorage的页面写如下代码可以存入sessionS ...

  2. 【Codeforces Round #457 (Div. 2) A】 Jamie and Alarm Snooze

    [链接] 我是链接,点我呀:) [题意] 在这里输入题意 [题解] 暴力往前走x分钟就好. 直到出现7为止. [代码] #include <bits/stdc++.h> using nam ...

  3. JavaScript入门:003—JS中的变量

    编程语言都是同样的,JS中也是有变量的.首先JS的变量是区分大写和小写的,这个须要注意.比方number和Number是不同的变量.无论是经常使用类型的,还是对象类型,比方 Object obj和Ob ...

  4. Android app : use html or native?

    Android app可分为两种:网络(html)应用程序和原生(native)应用程序 首先,我们先来讨论下如何判断一个app是html实现还是native实现. 设置-->>开发者选项 ...

  5. lightSlider 好图片轮播插件 支持移动端

    http://jquery-plugins.net/jquery-lightslider-lightweight-responsive-content-slider https://github.co ...

  6. 理性分析 C++(-O2) 和 JS 的性能差距

    laptop: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz.. Test1: 最后一行:时间(ms) #pragma GCC optimize("O2& ...

  7. php学习笔记4

    PHP数据类型: String(字符串), Integer(整型), Float(浮点型), Boolean(布尔型), Array(数组), Object(对象), NULL(空值). 说明:var ...

  8. 【代码】Django学习笔记

    一些设置setting.py DEBUG = True ALLOWED_HOSTS = ['*'] DATABASES = { 'default': { 'ENGINE': 'django.db.ba ...

  9. jmeter实现分布式压测步骤

    环境说明:安装与控制机相同版本的jdk与jmeter 1.修改控制机中的jmeter.properties文件 将<remote_hosts=127.0.0.1>改为<remote_ ...

  10. 【Educational Codeforces Round 35 D】Inversion Counting

    [链接] 我是链接,点我呀:) [题意] 在这里输入题意 [题解] 排列中交换任意两个数字. 排列的逆序对个数的奇偶性会发生变化. 翻转这个过程其实就是len/2对数字发生交换. 交换了偶数次的话,不 ...