Chinaunix首页 | 论坛 | 博客

qsh

  • 博客访问: 4034515
  • 博文数量: 1015
  • 博客积分: 15904
  • 博客等级: 上将
  • 技术积分: 8572
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-04 19:16
文章分类

全部博文(1015)

文章存档

2019年(1)

2017年(1)

2016年(19)

2015年(27)

2014年(30)

2013年(95)

2012年(199)

2011年(72)

2010年(109)

2009年(166)

2008年(296)

分类:

2009-08-01 20:50:38

[root@redbul scsi]# rpm -qa|grep mayastor
mayastor-vtl-iscsi-1.5-10
mayastor-vtl-gui-1.1-6
[root@redbul scsi]# rpm -qa|grep iscsi
mayastor-vtl-iscsi-1.5-10
iscsi-initiator-utils-4.0.3.0-6
[root@redbul scsi]# /etc/init.d/mayastor status
maya.configd (pid 7469) is running…
maya.iscsid (pid 7586) is running…
[root@redbul scsi]# /etc/init.d/iscsi status
iscsid (pid 7434 7426) is running…

[root@redbul scsi]# /opt/mayastor/bin/mayacli
mayacli> show iscsi
Target Active
ID LUNs Sessions Alias iSCSI Name
—— —- ——– —————- ——————————–
0 5 1 IBMULT-TD0 iqn.2003-06.com.pavitrasoft:redbul.a8c00201
Session ID IP Address Initiator Name Options
—————- —————- —————- —————-
10100003d0200 192.168.1.2 iqn.1987-05.com.cisco:01.75f7a6e4d8e1
MaxConnections : 1
MaxBurstLength : 16776192
ErrorRecoveryLevel : 0
mayacli> exit

[root@redbul scsi]# cat /etc/iscsi.conf
#Network category
Address=192.168.1.2
#Discovery Address category
DiscoveryAddress=192.168.1.2
#Target Name Category
TargetName=iqn.2003-06.com.pavitrasoft:redbul.a8c0020
Enabled=yes

[root@redbul scsi]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: IBM Model: ULT3580-TD2 Rev: 0001
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 04
Vendor: IBM Model: 03584L32 Rev: 0.1
Type: Medium Changer ANSI SCSI revision: 03

[root@redbul scsi]# /usr/openv/volmgr/bin/scan
************************************************************
*********************** SDT_TAPE ************************
*********************** SDT_CHANGER ************************
*********************** SDT_OPTICAL ************************
************************************************************
————————————————————
Device Name : “/dev/sg6″
Passthru Name: “/dev/sg6″
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM 03584L32 0.1 “
Vendor ID : “IBM “
Product ID : “03584L32 “
Product Rev: “0.1 “
Serial Number: “mtl8da3e4cea0401″
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM 03584L32 mtl8da3e4cea040″
Device Type : SDT_CHANGER
NetBackup Robot Type: 8
Removable : Yes
Device Supports: SCSI-3
Number of Drives : 4
Number of Slots : 10
Number of Media Access Ports: 10
Drive 1 Serial Number : “mt0ec8419c”
Drive 2 Serial Number : “mt52064903″
Drive 3 Serial Number : “mt68d44954″
Drive 4 Serial Number : “mt29294f08″
Flags : 0×0
Reason: 0×0
————————————————————
Device Name : “/dev/nst3″
Passthru Name: “/dev/sg5″
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001″
Vendor ID : “IBM “
Product ID : “ULT3580-TD2 “
Product Rev: “0001″
Serial Number: “mt29294f08″
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt29294f08″
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0×0
Reason: 0×0
————————————————————
Device Name : “/dev/nst2″
Passthru Name: “/dev/sg4″
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001″
Vendor ID : “IBM “
Product ID : “ULT3580-TD2 “
Product Rev: “0001″
Serial Number: “mt68d44954″
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt68d44954″
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0×0
Reason: 0×0
————————————————————
Device Name : “/dev/nst1″
Passthru Name: “/dev/sg3″
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001″
Vendor ID : “IBM “
Product ID : “ULT3580-TD2 “
Product Rev: “0001″
Serial Number: “mt52064903″
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt52064903″
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0×0
Reason: 0×0
————————————————————
Device Name : “/dev/nst0″
Passthru Name: “/dev/sg2″
Volume Header: “”
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : “IBM ULT3580-TD2 0001″
Vendor ID : “IBM “
Product ID : “ULT3580-TD2 “
Product Rev: “0001″
Serial Number: “mt0ec8419c”
WWN : “”
WWN Id Type : 0
Device Identifier: “IBM ULT3580-TD2 mt0ec8419c”
Device Type : SDT_TAPE
NetBackup Drive Type: 10
Removable : Yes
Device Supports: SCSI-3
Flags : 0×0
Reason: 0×0

阅读(1765) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~