Linux Scroll

Just another WordPress.com site

mpathadm

# mpathadm list LU

/dev/rdsk/c2t600A0B80001FCB370000010446D3D0C1d0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c2t600A0B8000216462000000C746D3DA48d0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c2t600A0B8000216462000000CD46D3DC1Cd0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c2t600A0B80001FCB370000010646D3D207d0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c2t600A0B8000216462000000CA46D3DB88d0s2
Total Path Count: 4
Operational Path Count: 4

List available multipathing support:

# mpathadm list mpath-support
mpath-support:  libmpscsi_vhci.so

View properties for supported multipathing facilities:

# mpathadm show mpath-support libmpscsi_vhci.so
mpath-support:  libmpscsi_vhci.so
        Vendor:  Sun Microsystems
        Driver Name:  scsi_vhci
        Default Load Balance:  round-robin
        Supported Load Balance Types:
                round-robin
                logical-block
        Allows To Activate Target Port Group Access:  yes
        Allows Path Override:  no
        Supported Auto Failback Config:  1
        Auto Failback:  on
        Failback Polling Rate (current/max):  0/0
        Supported Auto Probing Config:  0
        Auto Probing:  NA
        Probing Polling Rate (current/max):  NA/NA
        Supported Devices:
                Vendor:  SUN
                Product:  T300
                Revision:
                Supported Load Balance Types:
                        round-robin

List initiator ports:

# mpathadm list initiator-port

Get initiator port properties:

# mpathadm show initiator-port portname

List available logical units:

# mpathadm list lu

Get logical unit properties:

# mpathadm show lu lunname

List logical units associated with a target port:

# mpatadm list lu -t portname

Configure auto-failback

# mpathadm modify mpath-support -a off facilityname

Disable a path:

# mpathadm disable path -i initportname -t tgtportname -l luname
Advertisements

One response to “mpathadm

  1. Mr WordPress September 6, 2011 at 5:10 am

    Hi, this is a comment.
    To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.

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: