Linux Scroll

Just another WordPress.com site

Howto check SAN Disk status

We need to check:
1. HBA connection status
2. LUN connection status

HBA connection status:

# luxadm -e port

LUN connection status:

# cfgadm -al

Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c2 fc-fabric connected configured unknown
c2::50060f8015320c45 disk connected configured unknown
c4 fc-fabric connected configured unknown
c4::50060f8015320c44 disk connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 unknown empty unconfigured ok
usb1/1 unknown empty unconfigured ok
usb1/2 unknown empty unconfigured ok
usb2/1 unknown empty unconfigured ok
usb2/2 usb-storage connected configured ok
usb2/3 unknown empty unconfigured ok
usb2/4 usb-hub connected configured ok
usb2/4.1 unknown empty unconfigured ok
usb2/4.2 unknown empty unconfigured ok
usb2/4.3 unknown empty unconfigured ok
usb2/4.4 unknown empty unconfigured ok
usb2/5 unknown empty unconfigured ok

cfgadm - configuration administration
-a Specifies that the -l option must also list dynamic
attachment points.
-l Lists the state and condition of attachment points
specified.

# cfgadm -al -o show_FCP_dev

# cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c2 fc-fabric connected configured unknown
c2::50020f8015920c69,1 disk connected configured unknown
c4 fc-fabric connected configured unknown
c4::50020f8015920c79,1 disk connected configured unknown

# luxadm probe
# luxadm disp
# luxadm display -v WWN
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: