Mark, i set up the filter recommend, add dm-multipath on /etc/sysconfig/kernel INITRD_MODULES section.. made mkinitrd -f mpath and reboote... but now my server dead :)
we are using / on dasd disk any tips? thanks again sdc: Write Protect is off SCSI device sdc: drive cache: write back SCSI device sdc: 83886080 512-byte hdwr sectors (42950 MB) sdc: Write Protect is off SCSI device sdc: drive cache: write back sdc: unknown partition table sd 1:0:0:1080836208: Attached scsi disk sdc No configuration file for adapter 0.0.0f23 Configuring FCP disk 500507630a200485:4071406400000000 Vendor: IBM Model: 2107900 Rev: 5.78 Type: Direct-Access ANSI SCSI revision: 05 1:0:0:1080311921: alua: supports implicit TPGS Waiting for /dev/mapper/control to appear: ok 1:0:0:1080311921: alua: port group 00 rel port 400 1:0:0:1080311921: alua: rtpg failed with 8000002 1:0:0:1080311921: alua: port group 00 state A supports tousnA SCSI device sdd: 83886080 512-byte hdwr sectors (42950 MB) sdd: Write Protect is off SCSI device sdd: drive cache: write back SCSI device sdd: 83886080 512-byte hdwr sectors (42950 MB) sdd: Write Protect is off SCSI device sdd: drive cache: write back sdd: unknown partition table sd 1:0:0:1080311921: Attached scsi disk sdd sd 0:0:0:1080836208: Attached scsi generic sg0 type 0 sd 0:0:0:1080311921: Attached scsi generic sg1 type 0 sd 1:0:0:1080836208: Attached scsi generic sg2 type 0 sd 1:0:0:1080311921: Attached scsi generic sg3 type 0 Loading jbd Loading ext3 Setup multipath devices: ok. Waiting for device /dev/disk/by-path/ccw-0.0.0100-part1 to appear: !.!.!.!.!.!.! .!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.not found -- exiting to /bin/sh $ $ On Thu, Mar 17, 2011 at 3:41 PM, Mark Post <[email protected]> wrote: > >>> On 3/17/2011 at 02:09 PM, Rogério Soares<[email protected]> > wrote: > > here is output with de filter suggest by Deric.. > > From the looks of this, you didn't modify the scan parameter in > /etc/lvm/lvm.conf as he did. Personally, I don't think what he did was > strictly necessary, although it clearly works for him. If you look at > http://www.novell.com/documentation/sles10/stor_admin/?page=/documentation/sles10/stor_admin/data/be5rvii.htmlwhat > we recommend is changing the filter command to this: > filter = [ "a|/dev/disk/by-id/.*|", "r|.*|" ] > > If you're also using LVM to manage non-multipathed devices, then you'll > need to add those back in to the filter. For example, if you're using this > setup: > Filesystem Size Used Avail Use% Mounted on > /dev/dasda1 388M 96M 273M 26% / > devtmpfs 248M 112K 247M 1% /dev > tmpfs 248M 0 248M 0% /dev/shm > /dev/mapper/vg1-home 97M 4.1M 88M 5% /home > /dev/mapper/vg1-opt 74M 4.1M 66M 6% /opt > /dev/mapper/vg1-tmp 291M 48M 229M 18% /tmp > /dev/mapper/vg1-usr 1.3G 1.1G 69M 95% /usr > /dev/mapper/vg1-var 295M 82M 198M 30% /var > > # pvs > PV VG Fmt Attr PSize PFree > /dev/dasda3 vg1 lvm2 a- 5.98G 0 > > Then your filter would also need to include a scan of /dev/dasd*: > filter = [ "a|/dev/disk/by-id/.*|", "a|/dev/dasd.*/.*|", "r|.*|" ] > types = [ "device-mapper", 253 ] > > Since your case seems to only be using LVM for the SCSI devices, then the > first filter I show should be enough: > filter = [ "a|/dev/disk/by-id/.*|", "r|.*|" ] > > > Mark Post > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] 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 [email protected] 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/
