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

liuyingfei755發表於2018-06-02
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”吧.......

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31540274/viewspace-2155521/,如需轉載,請註明出處,否則將追究法律責任。

相關文章