- 2010-822日
首先查看HBA卡的状态
[root@localhost ~]# cat /proc/scsi/qla2xxx/0
QLogic PCI to Fibre Channel Host Adapter for QLE2460:
Firmware version 4.06.03 [IP] [84XX] , Driver version 8.02.23
BIOS version 1.24
FCODE version 1.24
EFI version 1.08
Flash FW version 4.00.26 0002
ISP: ISP2432, Serial# RFC0712U08693
Request Queue = 0x2a80000, Response Queue = 0x2a20000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 21230
Device queue depth = 0x10
Number of free request entries = 4067
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state = <READY>, flags = 0x5813
Dpc flags = 0x4080000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000
SCSI Device Information:
scsi-qla0-adapter-node=2000001b321e75a6;
scsi-qla0-adapter-port=2100001b321e75a6;
scsi-qla0-target-0=500308c389b92001;
FC Port Information:
scsi-qla0-port-0=500308c389b92000:500308c389b92001:000075:0;
SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 23, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:00 01
( 0: 1): Total reqs 4, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:00 08
[root@localhost ~]#查看磁带机的状态
[root@localhost ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: Ultrium 4-SCSI Rev: V51Z
Type: Sequential-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: QUANTUM Model: Scalar i40-i80 Rev: 105G
Type: Medium Changer ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: WDC WD12 Model: 00BEVS-22UST0 Rev: 0041
Type: Direct-Access ANSI SCSI revision: 02
[root@localhost ~]#在设备列表中的磁带设备
[root@localhost ~]# ls /dev/st
st0 st01 st0a st0l st0m stderr stdin stdout
[root@localhost ~]# ls /dev/st使用dmesg查看
[root@localhost ~]# dmesg |grep tape
st 0:0:0:0: Attached scsi tape st0转载请注明:
本文转自:http://www.liusuping.com/ubuntu-linux/redhat-linux-tape-status.html
2楼 一路狂飙
Post:2010-11-21 12:08:30
1楼 EVIL
Post:2010-8-24 11:19:52