useradd vtl
passwd vtl
mkdir /opt/mhvtl
mkdir /etc/mhvtl
chown -Rf vtl:vtl /opt/mhvtl
chown -Rf vtl:vtl /etc/mhvtl
make distclean
cd kernel
make
make install
cd ..
make
make install
VERSION: 5
# VPD page format:
# <page #> <Length> <x> <x+1>... <x+n>
# NAA format is an 8 hex byte value seperated by ':'
# Note: NAA is part of inquiry VPD 0x83
#
# Each 'record' is sperated by one (or more) blank lines.
# Each 'record' starts at column 1
Library: 10 CHANNEL: 0 TARGET: 1 LUN: 0
Vendor identification: STK
Product identification: L700
Product revision level: 5500
Unit serial number: XYZZY_10
NAA: 10:22:33:44:ab:cd:ef:00
Drive: 11 CHANNEL: 0 TARGET: 1 LUN: 1
Library ID: 10 Slot: 1
Vendor identification: QUANTUM
Product identification: SDLT600
Product revision level: 5500
Unit serial number: XYZZY_11
NAA: 10:22:33:44:ab:cd:ef:01
VPD: b0 04 00 02 01 00
Drive: 12 CHANNEL: 0 TARGET: 1 LUN: 2
Library ID: 10 Slot: 2
Vendor identification: QUANTUM
Product identification: SDLT600
Product revision level: 5500
Unit serial number: XYZZY_12
NAA: 10:22:33:44:ab:cd:ef:02
VPD: b0 04 00 02 01 00
Drive: 13 CHANNEL: 0 TARGET: 1 LUN: 3
Library ID: 10 Slot: 3
Vendor identification: QUANTUM
Product identification: SDLT600
Product revision level: 5500
Unit serial number: XYZZY_13
NAA: 10:22:33:44:ab:cd:ef:03
VPD: b0 04 00 02 01 00
Drive: 14 CHANNEL: 0 TARGET: 1 LUN: 4
Library ID: 10 Slot: 4
Vendor identification: QUANTUM
Product identification: SDLT600
Product revision level: 5500
Unit serial number: XYZZY_14
NAA: 10:22:33:44:ab:cd:ef:04
VPD: b0 04 00 02 01 00
[root@as5 mhvtl]# 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: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: ULT3580-TD5 Rev: 550V
Type: Sequential-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: IBM Model: ULT3580-TD5 Rev: 550V
Type: Sequential-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: IBM Model: ULT3580-TD4 Rev: 550V
Type: Sequential-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: IBM Model: ULT3580-TD4 Rev: 550V
Type: Sequential-Access ANSI SCSI revision: 05
Vendor: STK Model: L700 Rev: 550V
Type: Medium Changer ANSI SCSI revision: 05
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |