Hi Michael,

Looks a lot like your LVM is not blacklisting /dev/sda devices. You have to
edit /etc/lvm/lvm.conf and instruct LVM to not bind to /dev/sd*.

More info on
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/multiBcs/liaaimpbsclvm.htm


Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Tue, Mar 29, 2011 at 12:53 PM, Michael Simms
<simmsmichael1...@yahoo.com>wrote:

> Help! If anyone has the type of environment described below and has it
> working,
> please share with us, if you can, how you configured things. If anyone has
> any
> advice, any advice, we welcome it!
>
> Our environment is:
>
> -SAN - EMC CLARiiON CX4-960
> -Mainframe z10
> -HBA - 2 zFCP
> -Switches - 2 Brocade, between z10 and SAN
> -Operating Systems - zVM 6.1 with zLinux SLES 11 SP1
> -Contents of /etc/multipath.conf
> hma-mf-lin12:/ # cat /etc/multipath.conf
> *****StartOfFile*****
> devices {
> >        # Device attributed for EMC CLARiiON
> >        device {
> >                vendor "DGC"
> >                product "*"
> >                prio_callout "/sbin/mpath_prio_alua /dev/%n"
> >                getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"
> >                features "1 queue_if_no_path"
> >                path_checker directio
> >                failback immediate
> >                hardware_handler "1 alua"
> >        }
> >}
> >multipaths{
> >}
> *****EndOfFile*****
> -Partial /etc/sysconfig/kernel
> ## Path:        System/Kernel
> >## Description:
> >## Type:        string
> >## Command:     /sbin/mkinitrd
> >#
> ># This variable contains the list of modules to be added to the initial
> ># ramdisk by calling the script "mkinitrd"
> ># (like drivers for scsi-controllers, for lvm or reiserfs)
> >#
> >INITRD_MODULES="jbd ext3 zfcp dm-multipath"
> -For simplicity's sake, I am including 1 lun as an example. Below are
> selected
> entries from the startup log.
> (Underlines are mine):
>
> Booting default (SLES11_SP1V1)...
> >...
> >io scheduler noop registered
> >io scheduler anticipatory registered
> >io scheduler deadline registered (default)
> >io scheduler cfq registered
> >...
> >Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> >...
> >doing fast boot
> >SCSI subsystem initialized
> >device-mapper: uevent: version 1.0.3
> >device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised:
> dm-de...@redhat.com
> >device-mapper: multipath: version 1.1.0 loaded
> >Creating device nodes with udev
> >udevd version 128 started
> >udevd-event[154]: device node '/dev/mapper/control' already exists, link
> to
> >'/dev/device-mapper' will not overwrite it
> >--------------------  7  line(s) not displayed --------------------
> >device-mapper: multipath round-robin: version 1.0.0 loaded
> >emc: device handler registered
> >hp_sw: device handler registered
> >rdac: device handler registered
> >alua: device handler registered
> >--------------------  3  line(s) not displayed --------------------
> >Setup multipath devices: ok.
> >--------------------  12  line(s) not displayed --------------------
> >Copying static /dev content
> >..done"
> >--------------------  2  line(s) not displayed --------------------
> Starting udevd:
> >udevd version 128 started
> >..done""
> >Loading drivers, configuring devices:
> >scsi0 : zfcp
> >qdio: 0.0.4500 ZFCP on SC 0 using AI:1 QEBSM:1 PCI:1 TDD:1 SIGA: W AO
> >scsi 0:0:3:0: Direct-Access     DGC      RAID 10          0430 PQ: 0 ANSI:
> 4
> >scsi 0:0:3:0: emc: detected Clariion CX4-960, flags 0
> >scsi 0:0:3:0: emc: ALUA failover mode detected
> >scsi 0:0:3:0: emc: connected to SP A Port 4 (owned, default SP A)
> >zfcp.747e7d: 0.0.4500: LUN 0x6000000000000 on port 0x500601643b202b41 is
> already
> >in use by CSS0, MIF Image ID 1
> >--------------------  3  line(s) not displayed --------------------
> >scsi1 : zfcp
> >--------------------  2  line(s) not displayed --------------------
> >qdio: 0.0.4600 ZFCP on SC 1 using AI:1 QEBSM:1 PCI:1 TDD:1 SIGA: W AO
> >--------------------  1  line(s) not displayed --------------------
> >scsi 1:0:3:0: Direct-Access     DGC      RAID 10          0430 PQ: 0 ANSI:
> 4
> >scsi 1:0:3:0: emc: detected Clariion CX4-960, flags 0
> >scsi 1:0:3:0: emc: ALUA failover mode detected
> >scsi 1:0:3:0: emc: connected to SP A Port 6 (owned, default SP A)
> >sd 0:0:3:0: [sda] 1048576000 512-byte logical blocks: (536 GB/500 GiB)
> >sd 0:0:3:0: [sda] Write Protect is off
> >sd 0:0:3:0: [sda] Write cache: disabled, read cache: enabled, doesn't
> support
> >DPO or FUA
> > sda: sda1
> >sd 1:0:3:0: [sdb] 1048576000 512-byte logical blocks: (536 GB/500 GiB)
> >sd 1:0:3:0: [sdb] Write Protect is off
> >sd 1:0:3:0: [sdb] Write cache: disabled, read cache: enabled, doesn't
> support
> >DPO or FUA
> >sd 0:0:3:0: [sda] Attached SCSI disk
> > sdb: sdb1
> >sd 1:0:3:0: [sdb] Attached SCSI disk
> >--------------------  2  line(s) not displayed --------------------
> >sd 0:0:3:0: Attached scsi generic sg0 type 0
> >sd 1:0:3:0: Attached scsi generic sg1 type 0
> >--------------------  29  line(s) not displayed --------------------
> >..doneSetting up the System ClockThu Mar 24 18:23:50 EDT 2011""
> >..done""
> >..done""
> >Activating device mapper...""
> >..done""
> >Loading required kernel modules""
> >..doneCreating multipath targets:Mar 24 18:23:51 |sdb: emc prio: path not
> >correctly configured for failover""
> >Mar 24 18:23:51 | sdb: emc prio: path not correctly configured for
> failover""
> >Mar 24 18:23:51 | DM message failed [queue_if_no_path""
> >]""
> > (waiting for udev)..done""
> >Waiting for udev to settle...""
> >Scanning for LVM volume groups...""
> >  Reading all physical volumes.  This may take a while...""
> >  Found duplicate PV nKTbzlk3XKmCNSegm50mK5LqnJgfo1sv: using /dev/sdb1 not
> >/dev/sda1""
> >  Found volume group "VGClinDoc" using metadata type lvm2""
> >Activating LVM volume groups...""
> >  Found duplicate PV nKTbzlk3XKmCNSegm50mK5LqnJgfo1sv: using /dev/sdb1 not
> >/dev/sda1""
>
>
> So, I am unable to get a clean startup using SuSE SLES 11 SP1. We did work
> through and get SuSE SLES 10 SP3+ working, after months of
> work/testing/questions. In this startup instance, the system reversed the
> 'available' disk to "sdb1". Odd, should have been "sda1".
>
> I don't know what to try next.
>
> Your help is greatly appreciated.
>
> Regards and Thanks,
> Michael
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to