登录 obtool ,
查看 library 里面所有 volume 的使用情况
volume ATFDB-MF-000008 已经满了,我们决定重用这盘磁带,它的 mte 号为 4, barcode 为 KJX533L4
[oracle@ATFDB2 ~]$ obtool
ob> lsvol --long --library lib01
Inventory of library lib01:
in mte: vacant
in 1: volume OSB-CATALOG-MF-000002, barcode KJX530L4, oid 140, 816534528 kb remaining, never expires, mediainfo hw encryptable
in 2: volume JKOM-GAME-MF-000003, barcode KJX531L4, oid 172, 819375104 kb remaining, never expires, mediainfo hw encryptable
in 3: volume ATFDB-MF-000011, barcode KJX532L4, oid 222, full, content manages reuse, mediainfo hw encryptable
in 4: volume ATFDB-MF-000008, barcode KJX533L4, oid 195, full, content manages reuse, mediainfo hw encryptable
in 5: volume ATF-MF-000003, barcode KJX534L4, oid 178, full, never expires, mediainfo hw encryptable
in 6: volume GTF-MF-000003, barcode KJX535L4, oid 180, 588802048 kb remaining, never expires, mediainfo hw encryptable
in 7: volume ATFB-MF-000003, barcode KJX536L4, oid 215, 82357248 kb remaining, never expires, mediainfo hw encryptable
in 8: volume GTFDB-MF-000013, barcode KJX537L4, oid 224, full, content manages reuse, mediainfo hw encryptable
in 9: volume ATFDB-MF-000010, barcode KJX538L4, oid 220, 588896256 kb remaining, content manages reuse, mediainfo hw encryptable
in 10: volume GTFDB-MF-000012, barcode KJX539L4, oid 223, full, content manages reuse, mediainfo hw encryptable
in 11: cleaning tape: 3 uses, 57 remaining
in 12: vacant
in 13: vacant
in 14: volume GTFB-MF-000001, barcode KJX524L4, oid 206, 513059840 kb remaining, never expires, mediainfo hw encryptable
in 15: volume GTFDB-MF-000011, barcode KJX522L4, oid 221, 566432768 kb remaining, content manages reuse, mediainfo hw encryptable
in 16: vacant
in 17: volume ATFB-MF-000001, barcode KJX520L4, oid 210, full, never expires, mediainfo hw encryptable
in 18: volume ATFB-MF-000002, barcode KJX521L4, oid 212, 801191936 kb remaining, never expires, mediainfo hw encryptable
in 19: volume JKMISDB-MF-000007, barcode KJX526L4, oid 225, full, content manages reuse, mediainfo hw encryptable
in 20: vacant
in 21: vacant
in 22: volume GTFDB-MF-000014, barcode KJX523L4, oid 226, 812628992 kb remaining, content manages reuse, mediainfo hw encryptable
in 23: barcode KJX525L4, oid 227, 819431424 kb remaining, mediainfo hw encryptable
in iee: vacant
in dte: vacant
重用 mte 号为 4 的磁带
ob> reusevol --drive lib01tape01 --force 4
上面命令操作成功后, 查看 library 里面所有 volume 的使用情况,可以看到 mte 号为 4 的卷已经重用,没有关联到任何 Media Family
ob> lsvol --long --library lib01
Inventory of library lib01:
in mte: vacant
in 1: volume OSB-CATALOG-MF-000002, barcode KJX530L4, oid 140, 816534528 kb remaining, never expires, mediainfo hw encryptable
in 2: volume JKOM-GAME-MF-000003, barcode KJX531L4, oid 172, 819375104 kb remaining, never expires, mediainfo hw encryptable
in 3: volume ATFDB-MF-000011, barcode KJX532L4, oid 222, full, content manages reuse, mediainfo hw encryptable
in 4: barcode KJX533L4, oid 228, 819431424 kb remaining, mediainfo hw encryptable
in 5: volume ATF-MF-000003, barcode KJX534L4, oid 178, full, never expires, mediainfo hw encryptable
in 6: volume GTF-MF-000003, barcode KJX535L4, oid 180, 588802048 kb remaining, never expires, mediainfo hw encryptable
in 7: volume ATFB-MF-000003, barcode KJX536L4, oid 215, 82357248 kb remaining, never expires, mediainfo hw encryptable
in 8: volume GTFDB-MF-000013, barcode KJX537L4, oid 224, full, content manages reuse, mediainfo hw encryptable
in 9: volume ATFDB-MF-000010, barcode KJX538L4, oid 220, 588896256 kb remaining, content manages reuse, mediainfo hw encryptable
in 10: volume GTFDB-MF-000012, barcode KJX539L4, oid 223, full, content manages reuse, mediainfo hw encryptable
in 11: cleaning tape: 3 uses, 57 remaining
in 12: vacant
in 13: vacant
in 14: volume GTFB-MF-000001, barcode KJX524L4, oid 206, 513059840 kb remaining, never expires, mediainfo hw encryptable
in 15: volume GTFDB-MF-000011, barcode KJX522L4, oid 221, 566432768 kb remaining, content manages reuse, mediainfo hw encryptable
in 16: vacant
in 17: volume ATFB-MF-000001, barcode KJX520L4, oid 210, full, never expires, mediainfo hw encryptable
in 18: volume ATFB-MF-000002, barcode KJX521L4, oid 212, 801191936 kb remaining, never expires, mediainfo hw encryptable
in 19: volume JKMISDB-MF-000007, barcode KJX526L4, oid 225, full, content manages reuse, mediainfo hw encryptable
in 20: vacant
in 21: vacant
in 22: volume GTFDB-MF-000014, barcode KJX523L4, oid 226, 812628992 kb remaining, content manages reuse, mediainfo hw encryptable
in 23: barcode KJX525L4, oid 227, 819431424 kb remaining, mediainfo hw encryptable
in iee: vacant
in dte: vacant
volume ATFDB-MF-000008 已经满了,我们决定重用这盘磁带,它的 mte 号为 4, barcode 为 KJX533L4
[oracle@ATFDB2 ~]$ obtool
ob> lsvol --long --library lib01
Inventory of library lib01:
in mte: vacant
in 1: volume OSB-CATALOG-MF-000002, barcode KJX530L4, oid 140, 816534528 kb remaining, never expires, mediainfo hw encryptable
in 2: volume JKOM-GAME-MF-000003, barcode KJX531L4, oid 172, 819375104 kb remaining, never expires, mediainfo hw encryptable
in 3: volume ATFDB-MF-000011, barcode KJX532L4, oid 222, full, content manages reuse, mediainfo hw encryptable
in 4: volume ATFDB-MF-000008, barcode KJX533L4, oid 195, full, content manages reuse, mediainfo hw encryptable
in 5: volume ATF-MF-000003, barcode KJX534L4, oid 178, full, never expires, mediainfo hw encryptable
in 6: volume GTF-MF-000003, barcode KJX535L4, oid 180, 588802048 kb remaining, never expires, mediainfo hw encryptable
in 7: volume ATFB-MF-000003, barcode KJX536L4, oid 215, 82357248 kb remaining, never expires, mediainfo hw encryptable
in 8: volume GTFDB-MF-000013, barcode KJX537L4, oid 224, full, content manages reuse, mediainfo hw encryptable
in 9: volume ATFDB-MF-000010, barcode KJX538L4, oid 220, 588896256 kb remaining, content manages reuse, mediainfo hw encryptable
in 10: volume GTFDB-MF-000012, barcode KJX539L4, oid 223, full, content manages reuse, mediainfo hw encryptable
in 11: cleaning tape: 3 uses, 57 remaining
in 12: vacant
in 13: vacant
in 14: volume GTFB-MF-000001, barcode KJX524L4, oid 206, 513059840 kb remaining, never expires, mediainfo hw encryptable
in 15: volume GTFDB-MF-000011, barcode KJX522L4, oid 221, 566432768 kb remaining, content manages reuse, mediainfo hw encryptable
in 16: vacant
in 17: volume ATFB-MF-000001, barcode KJX520L4, oid 210, full, never expires, mediainfo hw encryptable
in 18: volume ATFB-MF-000002, barcode KJX521L4, oid 212, 801191936 kb remaining, never expires, mediainfo hw encryptable
in 19: volume JKMISDB-MF-000007, barcode KJX526L4, oid 225, full, content manages reuse, mediainfo hw encryptable
in 20: vacant
in 21: vacant
in 22: volume GTFDB-MF-000014, barcode KJX523L4, oid 226, 812628992 kb remaining, content manages reuse, mediainfo hw encryptable
in 23: barcode KJX525L4, oid 227, 819431424 kb remaining, mediainfo hw encryptable
in iee: vacant
in dte: vacant
重用 mte 号为 4 的磁带
ob> reusevol --drive lib01tape01 --force 4
上面命令操作成功后, 查看 library 里面所有 volume 的使用情况,可以看到 mte 号为 4 的卷已经重用,没有关联到任何 Media Family
ob> lsvol --long --library lib01
Inventory of library lib01:
in mte: vacant
in 1: volume OSB-CATALOG-MF-000002, barcode KJX530L4, oid 140, 816534528 kb remaining, never expires, mediainfo hw encryptable
in 2: volume JKOM-GAME-MF-000003, barcode KJX531L4, oid 172, 819375104 kb remaining, never expires, mediainfo hw encryptable
in 3: volume ATFDB-MF-000011, barcode KJX532L4, oid 222, full, content manages reuse, mediainfo hw encryptable
in 4: barcode KJX533L4, oid 228, 819431424 kb remaining, mediainfo hw encryptable
in 5: volume ATF-MF-000003, barcode KJX534L4, oid 178, full, never expires, mediainfo hw encryptable
in 6: volume GTF-MF-000003, barcode KJX535L4, oid 180, 588802048 kb remaining, never expires, mediainfo hw encryptable
in 7: volume ATFB-MF-000003, barcode KJX536L4, oid 215, 82357248 kb remaining, never expires, mediainfo hw encryptable
in 8: volume GTFDB-MF-000013, barcode KJX537L4, oid 224, full, content manages reuse, mediainfo hw encryptable
in 9: volume ATFDB-MF-000010, barcode KJX538L4, oid 220, 588896256 kb remaining, content manages reuse, mediainfo hw encryptable
in 10: volume GTFDB-MF-000012, barcode KJX539L4, oid 223, full, content manages reuse, mediainfo hw encryptable
in 11: cleaning tape: 3 uses, 57 remaining
in 12: vacant
in 13: vacant
in 14: volume GTFB-MF-000001, barcode KJX524L4, oid 206, 513059840 kb remaining, never expires, mediainfo hw encryptable
in 15: volume GTFDB-MF-000011, barcode KJX522L4, oid 221, 566432768 kb remaining, content manages reuse, mediainfo hw encryptable
in 16: vacant
in 17: volume ATFB-MF-000001, barcode KJX520L4, oid 210, full, never expires, mediainfo hw encryptable
in 18: volume ATFB-MF-000002, barcode KJX521L4, oid 212, 801191936 kb remaining, never expires, mediainfo hw encryptable
in 19: volume JKMISDB-MF-000007, barcode KJX526L4, oid 225, full, content manages reuse, mediainfo hw encryptable
in 20: vacant
in 21: vacant
in 22: volume GTFDB-MF-000014, barcode KJX523L4, oid 226, 812628992 kb remaining, content manages reuse, mediainfo hw encryptable
in 23: barcode KJX525L4, oid 227, 819431424 kb remaining, mediainfo hw encryptable
in iee: vacant
in dte: vacant
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26506993/viewspace-1878934/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26506993/viewspace-1878934/