Originally posted by: SystemAdmin
> {quote:title=shargus wrote:}
> For some reason, you cannot do a "lspath" to retrieve the priority setting...
You can use lspath to retrieve the priority setting in a couple of different ways.
Method 1
# lspath -l hdisk3 -F
"connection parent" 500507630600872d,4000407300000000 fscsi0 50050763060b872d,4000407300000000 fscsi0 500507630610872d,4000407300000000 fscsi0 50050763061b872d,4000407300000000 fscsi0 500507630600872d,4000407300000000 fscsi1 50050763060b872d,4000407300000000 fscsi1 500507630610872d,4000407300000000 fscsi1 50050763061b872d,4000407300000000 fscsi1 500507630600872d,4000407300000000 fscsi2 50050763060b872d,4000407300000000 fscsi2 500507630610872d,4000407300000000 fscsi2 50050763061b872d,4000407300000000 fscsi2 500507630600872d,4000407300000000 fscsi3 50050763060b872d,4000407300000000 fscsi3 500507630610872d,4000407300000000 fscsi3 50050763061b872d,4000407300000000 fscsi3 # lspath -E -l hdisk3 -p fscsi0 -w 500507630600872d,4000407300000000 -a priority priority 1 Priority True #
Method 2
# lspath -l hdisk3 -t Enabled hdisk3 fscsi0 0 Enabled hdisk3 fscsi0 1 Enabled hdisk3 fscsi0 2 Enabled hdisk3 fscsi0 3 Enabled hdisk3 fscsi1 4 Enabled hdisk3 fscsi1 5 Enabled hdisk3 fscsi1 6 Enabled hdisk3 fscsi1 7 Enabled hdisk3 fscsi2 8 Enabled hdisk3 fscsi2 9 Enabled hdisk3 fscsi2 10 Enabled hdisk3 fscsi2 11 Enabled hdisk3 fscsi3 12 Enabled hdisk3 fscsi3 13 Enabled hdisk3 fscsi3 14 Enabled hdisk3 fscsi3 15 # lspath -E -l hdisk3 -i 0 -a priority priority 1 Priority True #
The priority is per path, so you have to uniquely identify the path, either by specifying the disk, parent, and connection location (as in method 1), or by specifying the disk and the path ID (as in method 2).
I know this is an old thread, but I stumbled across it when doing a web search, so I figured someone else in the future may do the same and may benefit from this information. Hope it helps!