|
Title: Howto getmultipath working on SuSe SLES 10 on Power Post by: Raoul on October 15, 2008, 10:13:09 AM I have a VIO client with SuSe SLES10 SP2 running (standard installation)
I started multipath (/etc/init.d/boot.multipath and /etc/init.d/multipathd But it seems that i does not work as i expect it to be (see the follwing commands with output) Can someone tell me wat i am missing/forgetting? nl015lmnp5171:~ # multipath -l nl015lmnp5171:~ # multipath -ll nl015lmnp5171:~ # multipath -d create: mpatha (36005076303ffc61800000000000011ad) n/a AIX,VDASD [size=40G][features=0][hwhandler=0] \_ round-robin 0 [prio=1][undef] \_ 3:0:1:0 sdb 8:16 [undef][ready] \_ round-robin 0 [prio=1][undef] \_ 2:0:1:0 sda 8:0 [undef][ready] nl015lmnp5171:~ # cat /var/lib/multipath/bindings # Multipath bindings, Version : 1.0 # NOTE: this file is automatically maintained by the multipath program. # You should not need to edit this file in normal circumstances. # # Format: # alias wwid # mpatha 36005076303ffc61800000000000011ad nl015lmnp5171:~ # dmsetup table No devices found nl015lmnp5171:~ # lsmod Module Size Used by nfs 353464 0 lockd 128584 1 nfs nfs_acl 21800 1 nfs sunrpc 246504 3 nfs,lockd,nfs_acl ipv6 471672 140 apparmor 79112 0 loop 41784 0 dm_round_robin 21976 0 dm_multipath 56312 1 dm_round_robin dm_mod 119184 1 dm_multipath ibmveth 42856 0 sg 69968 0 ibmvscsic 48280 7 sr_mod 42884 0 cdrom 64912 1 sr_mod pata_pdc2027x 32628 0 libata 197028 1 pata_pdc2027x sd_mod 45936 8 scsi_mod 231056 5 sg,ibmvscsic,sr_mod,libata,sd_mod nl015lmnp5171:~ # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 1969424 738784 1130596 40% / udev 2051076 144 2050932 1% /dev /dev/sda8 985704 17760 917872 2% /home /dev/sda9 3937820 73440 3664344 2% /local /dev/sda7 484882 10547 449299 3% /tmp /dev/sda5 1969408 1468088 401276 79% /usr /dev/sda6 1969408 115692 1753672 7% /var Title: Re: Howto getmultipath working on SuSe SLES 10 on Power Post by: Michael on October 27, 2008, 11:13:15 AM For MPIO supporting AIX virtual scsi client partitions we generally have two VIO servers setup, each VIO Server provides one path, so the client partition has two vscsi adapters, one for each VIO server.
The VIO servers both see the same LUNS. One vital element is that the "reserved" access to the LUNS needs to be disabled so both VIO Servers have access to the LUNS at all times. Properly setup the command lspath (AIX) shows e.g. hdisk0 vscsi0, hdisk0 vscsi1 as output In summary, I would like to know more about how your VIO server is setup, virtual scsi setups, lsmap output, etc.. Title: Re: Howto getmultipath working on SuSe SLES 10 on Power Post by: Raoul on October 27, 2008, 12:08:24 PM Well this is Linux (Suse)and not AIX
We have the 2 vio servers But I already have found (after 2 weeks searching on the internet) the solution (on the redhat site the solution for SuSe, RH is the best :D). You must mount by device=id and not by-name. Furthermore you have to put dm-multipath at the INITRD_MODULES in the /etc/sysconfig/kernel file. Run mkinitrd and maybe run lilo (don't forget to change the root name in device-id instead og by-name) Well why can't this be standard on linux on Power (maybe it is for RH) Greetz Raoul Title: Re: Howto getmultipath working on SuSe SLES 10 on Power Post by: Michael on October 27, 2008, 09:50:14 PM Thank you for your reply.
I only mentioned AIX as an example I knew, and wanted to be sure you were using two VIO servers. I have seen situations where multipath was expected, but only one path was available. To assume, is to fail in some situations. Glad you got it working - and regarding your suggestion for a default setting - comment on Suse's site. I have generally gotten good responses from Suse support. |