ITPub博客

首页 > 数字化转型 > ERP > NBU常用命令1——介质管理

NBU常用命令1——介质管理

原创 ERP 作者:xunzhaoxz 时间:2011-05-30 15:28:57 0 删除 编辑
NBU常用命令1——介质管理
转载请以超链接注明原文:http://xunzhaoxz.itpub.net/post/40016/518624
环境说明:
NBU 6.5.6、Redhat Linux 5.4
1、查看当前磁带信息
[root@vtl01 logs]# available_media
media media robot robot robot side/ ret size status
ID type type # slot face level KBytes
----------------------------------------------------------------------------
CatalogBackup pool

DataStore pool

NetBackup pool

10001 HCART3 TLD 0 1 - 1 99424 ACTIVE
20004 HCART3 TLD 0 4 - 3 194400 ACTIVE
20006 HCART3 TLD 0 6 - 3 567168 ACTIVE
20008 HCART3 TLD 0 8 - 1 33 ACTIVE
20005 HCART3 TLD 0 5 - - - AVAILABLE
20002 HCART3 TLD 0 2 - 3 0 FROZEN
20003 HCART3 TLD 0 3 - 3 0 FROZEN
20007 HCART3 TLD 0 7 - 3 573632 FROZEN

None pool

scratch pool

[root@vtl01 logs]#
[@more@]

2、查看磁带所属信息
命令:vmquery -m media_id
[root@vtl01 logs]# vmquery -m 10001
================================================================================
media ID: 10001
media type: 1/2" cartridge tape 3 (24)
barcode: 10001
media description: Added by Media Manager
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 1
robot control host: vtl01
volume group: 000_00000_TLD
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
vault container id: -
created: Fri 23 May 2008 02:26:11 AM CST
assigned: Fri 23 May 2008 03:04:02 AM CST
last mounted: Sat 24 May 2008 08:59:31 PM CST
first mount: Fri 23 May 2008 02:46:08 AM CST
expiration date: ---
number of mounts: 7
max mounts allowed: ---
status: 0x0
================================================================================
[root@vtl01 logs]#

3、将磁带解冻unfreeze

命令:bpmedia -unfreeze -h host -m media_id

[root@vtl01 logs]# bpmedia -unfreeze -h vtl01 -m 20002
[root@vtl01 logs]# bpmedia -unfreeze -h vtl01 -m 20003
[root@vtl01 logs]# bpmedia -unfreeze -h vtl01 -m 20007
[root@vtl01 logs]# available_media
media media robot robot robot side/ ret size status
ID type type # slot face level KBytes
----------------------------------------------------------------------------
CatalogBackup pool

DataStore pool

NetBackup pool

10001 HCART3 TLD 0 1 - 1 99424 ACTIVE
20004 HCART3 TLD 0 4 - 3 194400 ACTIVE
20006 HCART3 TLD 0 6 - 3 567168 ACTIVE
20007 HCART3 TLD 0 7 - 3 573632 ACTIVE
20008 HCART3 TLD 0 8 - 1 33 ACTIVE
20002 HCART3 TLD 0 2 - - - AVAILABLE
20003 HCART3 TLD 0 3 - - - AVAILABLE
20005 HCART3 TLD 0 5 - - - AVAILABLE

None pool

scratch pool

[root@vtl01 logs]#

4、查看volume pool信息

[root@vtl01 admincmd]# vmpool -list_all
===================================================================
pool number: 0
pool name: None
description: the None pool
max partially full: 0
================================================================================
pool number: 1
pool name: NetBackup
description: the NetBackup pool
max partially full: 0
================================================================================
pool number: 2
pool name: DataStore
description: the DataStore pool
max partially full: 0
================================================================================
pool number: 3
pool name: CatalogBackup
description: NetBackup Catalog Backup pool
max partially full: 0
================================================================================
pool number: 4
pool name: scratch
description: ------
max partially full: 0
================================================================================
[root@vtl01 admincmd]#
5、查看StorageUnit信息
命令:bpstulist
[root@vtl01 admincmd]# bpstulist
vtl01-hcart3-robot-tld-0 2 vtl01 8 0 20 4 0 "*NULL*" 0 1 1048576 *NULL* 0 1 0 0 0 0 *NULL* vtl01
[root@vtl01 admincmd]# bpstulist -L

Label: vtl01-hcart3-robot-tld-0
Storage Unit Type: Media Manager
Host Connection: vtl01
Number of Drives: 4
On Demand Only: no
Density: hcart3 (20)
Robot Type/Number: TLD (8) / 0
Max Fragment Size: 1048576
Max MPX/drive: 1
[root@vtl01 admincmd]#
[root@vtl01 admincmd]# bpstulist -L -verbose
<2>bpstulist: INITIATING: version NetBackup 6.5 created: 2010042321

Label: vtl01-hcart3-robot-tld-0
Storage Unit Type: Media Manager
Host Connection: vtl01
Number of Drives: 4
On Demand Only: no
Density: hcart3 (20)
Robot Type/Number: TLD (8) / 0
Max Fragment Size: 1048576
Max MPX/drive: 1
<2>bpstulist: EXIT status = 0
[root@vtl01 admincmd]#

___________________________________________________________________

延伸阅读(近期整理文档)

主机AIX

【信息采集】IBM AIX系统硬件信息查看命令(shell脚本)(附PDF完整版下载)

操作规范(一)—— AIX rootvg mirror(附PDF下载)

AIX系统安全加固(一)限制密码重试次数,超过限制次数后锁定用户(附截图PDF完整版下载)

AIX平台下创建文件系统需要注意的问题

IBM服务器虚拟化PowerVM——也谈“云计算”

数据库Oracle

新装Oracle11gR2 11.2.0.2重要说明——Patchsetp10098816(附补丁下载地址)

Attention:new installation of Oracle 11.2.0.2

AIX 5.3/6.1环境下安装Oracle10gR2 RAC常见报错(注意事项)

【数据迁移1】Oracle10gR2 rman异机恢复实验(FS->RAW)(附截图PDF完整版下载)

【数据迁移2】Oracle10gR2 rman异机恢复实验(FS-FS)(附截图PDF完整版下载)

操作规范(二)——RHEL5.4安装Oracle 10.2.0.4(附截图PDF完整版下载)

操作规范(三)——Linux5.4安装Oracle 11gR1(附截图PDF完整版下载)

操作规范(四)——Linux5.4安装Oracle 11gR2(附截图PDF完整版下载)

Oracle RAC环境下重建ASM磁盘组(Re-createASM diskgroup)(附截图PDF完整版下载)

Oracle RAC srv服务“首选”与“可用”状态的调整——srvctl modify service 的使用(附截图PDF完整版下载)

Linux+ASM+OCFS环境下增加ORACLE RAC联机重做日志文件(附截图PDF完整版下载)

备份还原Symantec Netbackup:

搭建NBU实验环境——解决虚拟带库vistor License过期问题(附截图PDF完整版下载)

NBU常用命令1——介质管理

----------------------------------------------------------------------------------------------------------------------

亲,留个脚印,发表下您的宝贵意见,或者点击左边“订阅我的Blog”吧.......

请登录后发表评论 登录
全部评论

注册时间:2010-11-09

  • 博文量
    27
  • 访问量
    698537