Chinaunix

标题: AIX下如何查询磁带的文件数 [打印本页]

作者: zoneg    时间: 2011-11-09 16:04
标题: AIX下如何查询磁带的文件数
ibm的ts3580 drive
用mt -f /dev/rmt0.1 status的结果是:
rmt6 Available 0C-00-02 IBM 3580 Ultrium Tape Drive (FCP)
attribute      value              description                                 user_settable

alt_pathing    no                 Enable Alternate Pathing Support            True
autoload       no                 Use Autoloading Feature at End-of-Tape      True
block_size     0                  Block Size (0=Variable Length)              True
compress       yes                Use Hardware Compression on Tape            True
debug_trace    no                 Debug Trace Logging Enabled                 True
dev_status                        N/A                                         False
devtype        ULT3580-           Device Type                                 False
location                          Location                                    True
logging        no                 Activate volume information logging         True
lun_id         0x0                Logical Unit Number                         True
max_log_size   500                Maximum size of log file (in # of entries)  True
new_name                          New Logical Name                            True
node_name      0x500507630f299104 World Wide Node Name                        False
primary_device rmt6               Primary Logical Device                      False
reserve_key                       Persistent Reservation Key                  True
reserve_type   reserve_6          Reservation Type                            True
retain_reserve no                 Retain Reservation                          True
rew_immediate  no                 Use Immediate Bit in Rewind Commands        True
scsi_id        0x19b00            SCSI Target ID                              True
space_mode     SCSI               Backward Space/Forward Space Record Mode    True
sys_encryption no                 Use System Encryption FCP Proxy Manager     True
trace_logging  yes                Trace Logging Enabled                       True
trailer_labels no                 Trailer Label Processing                    True
wrt_encryption custom             System Encryption for Write Commands at BOP True
ww_name        0x500507630f699104 World Wide Port Name                        False

与linux下不同,没有file number和block number,还有别的命令可以拿到file number吗?
作者: zoneg    时间: 2011-11-12 22:50
有高手能解答不?
作者: 100心    时间: 2011-11-13 23:46
这个磁带是 备份软件写的?
作者: 无牙    时间: 2011-11-14 10:47
系统写的和备份软件写的不同。
作者: zoneg    时间: 2011-11-22 22:23
回复 4# 无牙


    自己用tar写的




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2