reassign 547187 lvm2 thanks I think this bug should be assigned to the LVM package.
You did a pvcreate of the /dev/mapper/ multipath device. Right ? This has been fixed in other distributions and I think the correct fix for it is to use the dm events that are generated when multipathed open-iscsi devices are discovered, in a udev rule and then call vgchange there. Ritesh On Thursday 17 Sep 2009 20:17:33 Martin Krpata wrote: > Package: open-iscsi > Version: 2.0.870~rc3-0.4 > > I am using Debian stable / lenny amd64, installed on IBM X3550 with 3 > network cards (connected to: LAN, iScsi1 portal, iScsi2 portal), kernel: > 2.6.26-2-amd64 > > I have problem with automounting lvm volume on system startup created on > --> multipath device --> created from 2 open-iscsi ifaces. After > start-up i have to manualy run vgscan, vgchange -ay, mount -a > > Startup of system is: > load lvm2 --> networking --> open-iscsi --> mountnfs --> multipath-tools > > It should be: lvm2 local system --> networking --> open-iscsi --> > multipath-tools --> lvm2 other than local system --> mountnfs > > iScsi device is iStor Gigastor iS512 > http://www.istor.com/products/is512.cfm > > cat /etc/iscsi/ifaces/iface0 > iface.iscsi_ifacename = iface0 > iface.net_ifacename = default > iface.hwaddress = 00:15:17:9d:da:a6 > iface.transport_name = tcp > > cat /etc/iscsi/ifaces/iface1 > iface.iscsi_ifacename = iface1 > iface.net_ifacename = default > iface.hwaddress = 00:15:17:9d:da:a7 > iface.transport_name = tcp > > iscsiadm -m session > tcp: [1] 10.0.2.20:3260,1 > iqn.2000-03.com.istor:mail:6-001215-020002496-4a49dbb8c9523241 tcp: [2] > 10.0.3.20:3260,1 > iqn.2000-03.com.istor:mail:6-001215-020002496-4a49dbb8c9523241 > > multipath -l > SiStor_GigaStor_60012150200024964A49DBB8C9523241dm-2 iStor ,GigaStor > [size=1.8T][features=0][hwhandler=0] > \_ round-robin 0 [prio=0][active] > \_ 2:0:0:0 sdc 8:32 [active][undef] > \_ 1:0:0:0 sdb 8:16 [active][undef] > > cat /etc/multipath.conf > devnode_blacklist { > wwid SServeRA_disk1_A7B88651 > #devnode ^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" > #devnode ^hd[a-z][[0-9]*]" > #devnode ^cciss!c[0-9]d[0-9]*[p[0-9]*]" > } > devices { > device { > vendor "iStor*" > product "*" > path_grouping_policy multibus > getuid_callout "/lib/udev/scsi_id -p 0x80 -g -u -s /block/%n" > features "0" > path_selector "round-robin 0" > path_checker readsector0 > failback immediate > } > } > > cat /etc/fstab > # /etc/fstab: static file system information. > # > # <file system> <mount point> <type> <options> > <dump> <pass> > proc /proc proc defaults > 0 0 > /dev/mapper/ibmxvol0-system / ext3 errors=remount-ro > 0 > 1 /dev/sda1 /boot ext2 defaults > 0 2 > /dev/mapper/ibmxvol0-swap none swap sw > 0 0 > /dev/hda /media/cdrom0 udf,iso9660 user,noauto > 0 0 > /dev/iscsimail/lvol0 /opt ext3 _netdev > 0 0 > > > ls -g /etc/rcS.d/ > total 4 > -rw-r--r-- 1 root 783 2007-12-23 12:04 README > lrwxrwxrwx 1 root 18 2009-09-17 15:30 S01glibc.sh -> ../init.d/glibc.sh > lrwxrwxrwx 1 root 21 2009-09-17 15:30 S02hostname.sh -> > ../init.d/hostname.sh lrwxrwxrwx 1 root 24 2009-09-17 15:30 > S02mountkernfs.sh -> ../init.d/mountkernfs.sh lrwxrwxrwx 1 root 14 > 2009-09-17 15:30 S03udev -> ../init.d/udev > lrwxrwxrwx 1 root 26 2009-09-17 15:30 S04mountdevsubfs.sh -> > ../init.d/mountdevsubfs.sh lrwxrwxrwx 1 root 18 2009-09-17 15:30 > S05bootlogd -> ../init.d/bootlogd lrwxrwxrwx 1 root 19 2009-09-17 15:30 > S05keymap.sh -> ../init.d/keymap.sh lrwxrwxrwx 1 root 25 2009-09-17 15:30 > S08hwclockfirst.sh -> ../init.d/hwclockfirst.sh lrwxrwxrwx 1 root 22 > 2009-09-17 15:30 S10checkroot.sh -> ../init.d/checkroot.sh lrwxrwxrwx 1 > root 20 2009-09-17 15:30 S11hwclock.sh -> ../init.d/hwclock.sh lrwxrwxrwx > 1 root 17 2009-09-17 15:30 S12mtab.sh -> ../init.d/mtab.sh lrwxrwxrwx 1 > root 24 2009-09-17 15:30 S18ifupdown-clean -> ../init.d/ifupdown-clean > lrwxrwxrwx 1 root 27 2009-09-17 15:30 S20module-init-tools -> > ../init.d/module-init-tools lrwxrwxrwx 1 root 30 2009-09-17 15:30 > S21multipath-tools-boot -> ../init.d/multipath-tools-boot lrwxrwxrwx 1 > root 14 2009-09-17 15:30 S26lvm2 -> ../init.d/lvm2 > lrwxrwxrwx 1 root 20 2009-09-17 15:30 S30checkfs.sh -> > ../init.d/checkfs.sh lrwxrwxrwx 1 root 16 2009-09-17 15:30 S30procps -> > ../init.d/procps lrwxrwxrwx 1 root 21 2009-09-17 15:30 S35mountall.sh -> > ../init.d/mountall.sh lrwxrwxrwx 1 root 31 2009-09-17 15:30 > S36mountall-bootclean.sh -> ../init.d/mountall-bootclean.sh lrwxrwxrwx 1 > root 19 2009-09-17 15:30 S36udev-mtab -> ../init.d/udev-mtab lrwxrwxrwx 1 > root 26 2009-09-17 15:30 S37mountoverflowtmp -> > ../init.d/mountoverflowtmp lrwxrwxrwx 1 root 18 2009-09-17 15:30 > S39ifupdown -> ../init.d/ifupdown lrwxrwxrwx 1 root 20 2009-09-17 15:30 > S40networking -> ../init.d/networking lrwxrwxrwx 1 root 21 2009-09-17 > 15:30 S45mountnfs.sh -> ../init.d/mountnfs.sh lrwxrwxrwx 1 root 20 > 2009-09-17 15:30 S45open-iscsi -> ../init.d/open-iscsi lrwxrwxrwx 1 root > 31 2009-09-17 15:30 S46mountnfs-bootclean.sh -> > ../init.d/mountnfs-bootclean.sh lrwxrwxrwx 1 root 27 2009-09-17 15:30 > S48console-screen.sh -> ../init.d/console-screen.sh lrwxrwxrwx 1 root 21 > 2009-09-17 15:30 S55bootmisc.sh -> ../init.d/bootmisc.sh lrwxrwxrwx 1 root > 17 2009-09-17 15:30 S55urandom -> ../init.d/urandom lrwxrwxrwx 1 root 30 > 2009-09-17 15:30 S99stop-bootlogd-single -> ../init.d/stop-bootlogd-single > > ls -g /etc/rc2.d/ > total 4 > -rw-r--r-- 1 root 556 2008-08-12 16:09 README > lrwxrwxrwx 1 root 17 2009-09-17 15:30 S10rsyslog -> ../init.d/rsyslog > lrwxrwxrwx 1 root 15 2009-09-17 15:30 S12acpid -> ../init.d/acpid > lrwxrwxrwx 1 root 13 2009-09-17 15:30 S16ssh -> ../init.d/ssh > lrwxrwxrwx 1 root 25 2009-09-17 15:30 S20multipath-tools -> > ../init.d/multipath-tools lrwxrwxrwx 1 root 16 2009-09-17 15:30 S30squid3 > -> ../init.d/squid3 lrwxrwxrwx 1 root 14 2009-09-17 15:30 S89cron -> > ../init.d/cron > lrwxrwxrwx 1 root 18 2009-09-17 15:30 S99rc.local -> ../init.d/rc.local > lrwxrwxrwx 1 root 19 2009-09-17 15:30 S99rmnologin -> ../init.d/rmnologin > lrwxrwxrwx 1 root 23 2009-09-17 15:30 S99stop-bootlogd -> > ../init.d/stop-bootlogd > > > Cheers, > Martin > -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: This is a digitally signed message part.

