Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding MPIO on VIO

Status
Not open for further replies.

seacros

Technical User
Jan 23, 2008
31
US
Hello-
I have built a V I/O server on a p520 and I am in the process of connecting it to a SUN Storage Tek SAN. I am only able to add the drives from one channel of my SAN. I get a MPIO error when I attempt to add drives from the other channel.
All my P1-C5-T1 drives get added with no issues. When I try my drives on my P1-C1-T1 I get the errors and I can not add them.

Error reads:
Method error (/usr/lib/methods/cfg_vt_scdisk):
0514-070 Only disks that support multi-path I/O (MPIO) or which
have a physical volume identifier (PVID) or an IEEE volume name may be
used as a virtual target device.


Thanks

SDC
 
Make sure that your disks have PVID assigned to them!

Use this command:

chdev -l XXXXX -a pv=yes

XXXXX = disk name

Regards,
Khalid
 
I tried it but it did not work. Here is what I used:

$ chdev -l disk13 -a pv=yes
Option flag is not valid.

Usage: chdev -dev Name [-perm] -attr Attribute=Value ... [-restoreroute]


Thanks

SDC
 
Are you sure those are other LUNs? Perhaps these are just other paths to the same LUNs and VIOS is preventing you from making a *BIG* mistake?


HTH,

p5wizard
 
Khalidaaa, in VIOS environment, you can't use AIX, LVM ... commands as you know them. Most commands exist, but syntax is different. This is because padmin user uses ioscli command line interpreter and commands are installed as aliases for ioscli command lines.

e.g.

[tt]
lsvg => lsvg
lsvg -l vgnm => lsvg -lv vgnm
chgdev -a attr=value -l devnm => chgdev -attr attr=value -dev devnm
[/tt]

This is from memory, so don't quote me on this.


HTH,

p5wizard
 
oh yeah p5wizard! i guess i missed that one! But you can always use:

oem_setup_env

thought it is not recommended :)

Thanks for bringing this to my attention.

Regards,
Khalid
 
Have you set reserve off?

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
seacros said:
All my P1-C5-T1 drives get added with no issues. When I try my drives on my P1-C1-T1 I get the errors and I can not add them.

If P1-C5-T1 is via one VIOS and P1-C1-T1 is via a second VIOS, then Mike's comment is correct and you can forget about my warning.

For multipathing to work via 2 VIOSs, you have to configure the disks on both VIOSs to not use device reservation.

as padmin:
chdev -dev hdiskXXX -attr reserve_policy=no_reserve

as root (after oem_setup_env)
chdev -a reserve_policy=no_reserve -l hdiskXXX

But on the VIOS that is now already serving the disks, you can't do that change with the VIO clients running and the vtscsi devices active.
So shutdown the VIO clients (possible unconfigure - remove - the vtscsi devices on the VIOS) and run the change on the VIOS.



HTH,

p5wizard
 
Any ideas around this error?
I have deleted my drives on my SAN and reinitialized them and now I can not add any additional drives. Even the drives that was I was able to add before P1-C5-T1 drives I could add before.

Thanks

Method error (/usr/lib/methods/cfg_vt_scdisk):
0514-070 Only disks that support multi-path I/O (MPIO) or which
have a physical volume identifier (PVID) or an IEEE volume name may be
used as a virtual target device.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top