多路径自动合并后,如何查看每条链路的状态:
NM-T25-SV01-APP#[/]ioscan -funC disk |head
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 300 GMBA3300NC
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 1 0/0/0/2/1.2.0 sdisk CLAIMED DEVICE HL-DT-STDVD-RAM GH40L
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 300 GMBA3300NC
/dev/dsk/c2t6d0 /dev/dsk/c2t6d0s2 /dev/rdsk/c2t6d0 /dev/rdsk/c2t6d0s2
/dev/dsk/c2t6d0s1 /dev/dsk/c2t6d0s3 /dev/rdsk/c2t6d0s1 /dev/rdsk/c2t6d0s3
NM-T25-SV01-APP#[/]ioscan -m dsf |head
Persistent DSF Legacy DSF(s)
========================================
/dev/rtape/tape1_BEST /dev/rmt/c5t0d0BEST
/dev/rtape/tape1_BESTn /dev/rmt/c5t0d0BESTn
/dev/rtape/tape1_BESTb /dev/rmt/c5t0d0BESTb
/dev/rtape/tape1_BESTnb /dev/rmt/c5t0d0BESTnb
/dev/rdisk/disk3 /dev/rdsk/c0t6d0
/dev/rdisk/disk3_p1 /dev/rdsk/c0t6d0s1
/dev/rdisk/disk3_p2 /dev/rdsk/c0t6d0s2
/dev/rdisk/disk3_p3 /dev/rdsk/c0t6d0s3
NM-T25-SV01-APP#[/]scsimgr -p lun_map -C disk -I 50
lunpath:29:0/0/12/0/0/0/0.0x50001fe1501c7aa8.0x4009000000000000:fibre_channel:UNOPEN:ACTIVE
lunpath:26:0/0/12/0/0/0/0.0x50001fe1501c7aac.0x4009000000000000:fibre_channel:UNOPEN:STANDBY
lunpath:47:1/0/12/0/0/0/0.0x50001fe1501c7aad.0x4009000000000000:fibre_channel:UNOPEN:STANDBY
lunpath:43:1/0/12/0/0/0/0.0x50001fe1501c7aa9.0x4009000000000000:fibre_channel:UNOPEN:ACTIVE
NM-T25-SV01-APP#[/]scsimgr -p lun_map -D /dev/rdisk/disk50
lunpath:29:0/0/12/0/0/0/0.0x50001fe1501c7aa8.0x4009000000000000:fibre_channel:UNOPEN:ACTIVE
lunpath:26:0/0/12/0/0/0/0.0x50001fe1501c7aac.0x4009000000000000:fibre_channel:UNOPEN:STANDBY
lunpath:47:1/0/12/0/0/0/0.0x50001fe1501c7aad.0x4009000000000000:fibre_channel:UNOPEN:STANDBY
lunpath:43:1/0/12/0/0/0/0.0x50001fe1501c7aa9.0x4009000000000000:fibre_channel:UNOPEN:ACTIVE
NM-T25-SV01-APP#[/]scsimgr -p lun_map -D /dev/rdisk/disk42
lunpath:12:0/0/12/0/0/0/0.0x50001fe1501c7aa8.0x4001000000000000:fibre_channel:STANDBY:STANDBY
lunpath:14:0/0/12/0/0/0/0.0x50001fe1501c7aac.0x4001000000000000:fibre_channel:ACTIVE:ACTIVE
lunpath:30:1/0/12/0/0/0/0.0x50001fe1501c7aad.0x4001000000000000:fibre_channel:ACTIVE:ACTIVE
lunpath:32:1/0/12/0/0/0/0.0x50001fe1501c7aa9.0x4001000000000000:fibre_channel:STANDBY:STANDBY
NM-T25-SV01-APP#[/]scsimgr lun_map -h
scsimgr lun_map []
scsimgr -p lun_map
-p Scriptable Information: Display LUN path/s
identifier : Identifies the object on which the operation applies.
Can be : [-d ] -D |
-H | -C -I
dsf Full path of character device file of a LUN
class Class of a LUN
instance Instance of a LUN
hw_path Hardware path of a LUN
pkgdb[/]scsimgr -p lun_map -D /dev/rdisk/disk34
lunpath:8:0/0/12/0/0/0/0.0x50001fe1501c7aac.0x4002000000000000:fibre_channel:STANDBY:STANDBY
lunpath:26:0/0/12/0/0/0/0.0x50001fe1501c7aa8.0x4002000000000000:fibre_channel:ACTIVE:ACTIVE
lunpath:35:1/0/12/0/0/0/0.0x50001fe1501c7aa9.0x4002000000000000:fibre_channel:ACTIVE:ACTIVE
lunpath:17:1/0/12/0/0/0/0.0x50001fe1501c7aad.0x4002000000000000:fibre_channel:STANDBY:STANDBY
pkgdb[/]scsimgr get_stat -D /dev/rdisk/disk34 all_lpt (可以显示两条链路上的数据IO)
STATISTICS FOR LUN path : lunpath8
Generic Statistics:
Attempted class driver opens = 1
Successfull class driver opens = 0
Class driver closes = 0
Offline events = 0
Online events = 0
SPOC state: Active = 0
SPOC state: Standby = 1
SPOC state: Failed = 0
SPOC state: Authentication Failure = 0
SPOC state: Disabled = 0
Open failures due to suspended LUN path = 0
Non open related inquiry commands = 11
Open failures due to inquiry failure = 0
Open failures due to insufficient inquiry data = 0
Open failures due to invalid peripheral qualifier= 0
EVPD page 83h inquiries = 11
EVPD page 83h inquiry failures = 0
Insufficient EVPD page 83h inquiry data = 0
Mismatches of peripheral qualifiers = 0
Page 83h ids not associated with the LUN = 0
Open failures due to no page 83h response = 0
Open failures due to page 83h code mismatches = 0
Open failures due page 83h id mismatches = 0
Open failures due to page 83h length mismatches = 0
Open failures due to page 83h content mismatches = 0
EVPD page 80h inquiries = 11
EVPD page 80h inquiry failures = 0
LUN resets issued = 0
Active/Passive state checks = 11
Active/Passive state check failures = 0
Standby path activations = 0
Standby path activation failures = 0
EVPD page 86h inquiries = 11
EVPD page 86h inquiry failures = 0
Last time cleared = N/A
I/O transfer Statistics:
Bytes read = 4730
Bytes written = 0
Total I/Os processed = 60
I/O failures = 0
Retried I/Os = 1
Retried I/O failures = 0
I/O failures due to invalid IO size = 0
I/Os flushed = 0
Check condition status = 1
Busy status = 0
Queue full status = 0
Reservation conflicts = 0
Invalid Request status = 0
Select Timeout status = 0
Incomplete status = 0
No Resource status = 0
Target Path Offline status = 0
IO Timeout status = 0
IO Aborted status = 0
Reset Occurred status = 0
Unrecognized CDB status = 0
Bad Sense data status = 0
Deferred errors = 0
Recovered errors = 0
NOT READY sense status = 0
Medium errors = 0
Hardware errors = 0
Illegal request sense status = 0
Unit Attentions = 1
Data protect sense status = 0
Blank checks = 0
Vendor specific sense status = 0
Copy aborted sense status = 0
Command aborted sense status = 0
Volume overflow = 0
Asynchronous IO read failures = 0
Asynchronous IO write failures = 0
Asymmetric access state changes = 0
Set target port group command failures = 0
Logical Unit not supported = 0
Last time cleared = N/A
Driver esdisk Statistics :
PR registrations = 0
Activations = 0
Disable requests = 0
Enable requests = 0
Last time cleared = N/A
STATISTICS FOR LUN path : lunpath26
Generic Statistics:
Attempted class driver opens = 1
Successfull class driver opens = 1
Class driver closes = 0
Offline events = 0
Online events = 0
SPOC state: Active = 1
SPOC state: Standby = 0
SPOC state: Failed = 0
SPOC state: Authentication Failure = 0
SPOC state: Disabled = 0
Open failures due to suspended LUN path = 0
Non open related inquiry commands = 11
Open failures due to inquiry failure = 0
Open failures due to insufficient inquiry data = 0
Open failures due to invalid peripheral qualifier= 0
EVPD page 83h inquiries = 11
EVPD page 83h inquiry failures = 0
Insufficient EVPD page 83h inquiry data = 0
Mismatches of peripheral qualifiers = 0
Page 83h ids not associated with the LUN = 0
Open failures due to no page 83h response = 0
Open failures due to page 83h code mismatches = 0
Open failures due page 83h id mismatches = 0
Open failures due to page 83h length mismatches = 0
Open failures due to page 83h content mismatches = 0
EVPD page 80h inquiries = 11
EVPD page 80h inquiry failures = 0
LUN resets issued = 0
Active/Passive state checks = 11
Active/Passive state check failures = 0
Standby path activations = 0
Standby path activation failures = 0
EVPD page 86h inquiries = 11
EVPD page 86h inquiry failures = 0
Last time cleared = N/A
I/O transfer Statistics:
Bytes read = 254433614340
Bytes written = 1981329313792
Total I/Os processed = 52904406
I/O failures = 0
Retried I/Os = 1
Retried I/O failures = 0
I/O failures due to invalid IO size = 0
I/Os flushed = 0
Check condition status = 58464
Busy status = 0
Queue full status = 0
Reservation conflicts = 0
Invalid Request status = 0
Select Timeout status = 0
Incomplete status = 0
No Resource status = 0
Target Path Offline status = 0
IO Timeout status = 0
IO Aborted status = 0
Reset Occurred status = 0
Unrecognized CDB status = 0
Bad Sense data status = 0
Deferred errors = 0
Recovered errors = 0
NOT READY sense status = 0
Medium errors = 0
Hardware errors = 0
Illegal request sense status = 58463
Unit Attentions = 1
Data protect sense status = 0
Blank checks = 0
Vendor specific sense status = 0
Copy aborted sense status = 0
Command aborted sense status = 0
Volume overflow = 0
Asynchronous IO read failures = 0
Asynchronous IO write failures = 0
Asymmetric access state changes = 0
Set target port group command failures = 0
Logical Unit not supported = 0
Last time cleared = N/A
Driver esdisk Statistics :
PR registrations = 0
Activations = 0
Disable requests = 0
Enable requests = 0
Last time cleared = N/A
STATISTICS FOR LUN path : lunpath35
Generic Statistics:
Attempted class driver opens = 1
Successfull class driver opens = 1
Class driver closes = 0
Offline events = 0
Online events = 0
SPOC state: Active = 1
SPOC state: Standby = 0
SPOC state: Failed = 0
SPOC state: Authentication Failure = 0
SPOC state: Disabled = 0
Open failures due to suspended LUN path = 0
Non open related inquiry commands = 11
Open failures due to inquiry failure = 0
Open failures due to insufficient inquiry data = 0
Open failures due to invalid peripheral qualifier= 0
EVPD page 83h inquiries = 11
EVPD page 83h inquiry failures = 0
Insufficient EVPD page 83h inquiry data = 0
Mismatches of peripheral qualifiers = 0
Page 83h ids not associated with the LUN = 0
Open failures due to no page 83h response = 0
Open failures due to page 83h code mismatches = 0
Open failures due page 83h id mismatches = 0
Open failures due to page 83h length mismatches = 0
Open failures due to page 83h content mismatches = 0
EVPD page 80h inquiries = 11
EVPD page 80h inquiry failures = 0
LUN resets issued = 0
Active/Passive state checks = 11
Active/Passive state check failures = 0
Standby path activations = 0
Standby path activation failures = 0
EVPD page 86h inquiries = 11
EVPD page 86h inquiry failures = 0
Last time cleared = N/A
I/O transfer Statistics:
Bytes read = 254333071124
Bytes written = 1981565922304
Total I/Os processed = 52904404
I/O failures = 0
Retried I/Os = 1
Retried I/O failures = 0
I/O failures due to invalid IO size = 0
I/Os flushed = 0
Check condition status = 59072
Busy status = 0
Queue full status = 0
Reservation conflicts = 0
Invalid Request status = 0
Select Timeout status = 0
Incomplete status = 0
No Resource status = 0
Target Path Offline status = 0
IO Timeout status = 0
IO Aborted status = 0
Reset Occurred status = 0
Unrecognized CDB status = 0
Bad Sense data status = 0
Deferred errors = 0
Recovered errors = 0
NOT READY sense status = 0
Medium errors = 0
Hardware errors = 0
Illegal request sense status = 59071
Unit Attentions = 1
Data protect sense status = 0
Blank checks = 0
Vendor specific sense status = 0
Copy aborted sense status = 0
Command aborted sense status = 0
Volume overflow = 0
Asynchronous IO read failures = 0
Asynchronous IO write failures = 0
Asymmetric access state changes = 0
Set target port group command failures = 0
Logical Unit not supported = 0
Last time cleared = N/A
Driver esdisk Statistics :
PR registrations = 0
Activations = 0
Disable requests = 0
Enable requests = 0
Last time cleared = N/A
STATISTICS FOR LUN path : lunpath17
Generic Statistics:
Attempted class driver opens = 1
Successfull class driver opens = 0
Class driver closes = 0
Offline events = 0
Online events = 0
SPOC state: Active = 0
SPOC state: Standby = 1
SPOC state: Failed = 0
SPOC state: Authentication Failure = 0
SPOC state: Disabled = 0
Open failures due to suspended LUN path = 0
Non open related inquiry commands = 11
Open failures due to inquiry failure = 0
Open failures due to insufficient inquiry data = 0
Open failures due to invalid peripheral qualifier= 0
EVPD page 83h inquiries = 11
EVPD page 83h inquiry failures = 0
Insufficient EVPD page 83h inquiry data = 0
Mismatches of peripheral qualifiers = 0
Page 83h ids not associated with the LUN = 0
Open failures due to no page 83h response = 0
Open failures due to page 83h code mismatches = 0
Open failures due page 83h id mismatches = 0
Open failures due to page 83h length mismatches = 0
Open failures due to page 83h content mismatches = 0
EVPD page 80h inquiries = 11
EVPD page 80h inquiry failures = 0
LUN resets issued = 0
Active/Passive state checks = 11
Active/Passive state check failures = 0
Standby path activations = 0
Standby path activation failures = 0
EVPD page 86h inquiries = 11
EVPD page 86h inquiry failures = 0
Last time cleared = N/A
I/O transfer Statistics:
Bytes read = 4858
Bytes written = 0
Total I/Os processed = 61
I/O failures = 0
Retried I/Os = 1
Retried I/O failures = 0
I/O failures due to invalid IO size = 0
I/Os flushed = 0
Check condition status = 1
Busy status = 0
Queue full status = 0
Reservation conflicts = 0
Invalid Request status = 0
Select Timeout status = 0
Incomplete status = 0
No Resource status = 0
Target Path Offline status = 0
IO Timeout status = 0
IO Aborted status = 0
Reset Occurred status = 0
Unrecognized CDB status = 0
Bad Sense data status = 0
Deferred errors = 0
Recovered errors = 0
NOT READY sense status = 0
Medium errors = 0
Hardware errors = 0
Illegal request sense status = 0
Unit Attentions = 1
Data protect sense status = 0
Blank checks = 0
Vendor specific sense status = 0
Copy aborted sense status = 0
Command aborted sense status = 0
Volume overflow = 0
Asynchronous IO read failures = 0
Asynchronous IO write failures = 0
Asymmetric access state changes = 0
Set target port group command failures = 0
Logical Unit not supported = 0
Last time cleared = N/A
Driver esdisk Statistics :
PR registrations = 0
Activations = 0
Disable requests = 0
Enable requests = 0
Last time cleared = N/A
pkgdb[/]
阅读(6895) | 评论(0) | 转发(0) |