https://bugzilla.novell.com/show_bug.cgi?id=397119
User nice@titanic.nyme.hu added comment
https://bugzilla.novell.com/show_bug.cgi?id=397119#c3
--- Comment #3 from Tamás Németh 2008-06-06 08:00:07 MDT ---
Now i use the /etc/init.d/multipath.boot script in its original form, but i
modified the file /etc/udev/rules.d/70-kpartx.rules, to make kpartx create the
maps of partitions with a name with a -part{n} ending.
I've found a way to reveal and handle the hidden parts of the root partition
too. I added the following lines to the stop section of
/etc/init.d/multipathd:
if test -f /var/lib/multipath/bindings && mkdir /tmp/multipathd_rootfs.$$ ;
then
mount --bind / /tmp/multipathd_rootfs.$$
if ! test -d /tmp/multipathd_rootfs.$$/var/lib/multipath ; then
mkdir -p /tmp/multipathd_rootfs.$$/var/lib/multipath
chmod 700 /tmp/multipathd_rootfs.$$/var/lib/multipath
fi
if ! test /var/lib/multipath/bindings -ef \
/tmp/multipathd_rootfs.$$/var/lib/multipath/bindings ; then
cp -a /var/lib/multipath/bindings \
/tmp/multipathd_rootfs.$$/var/lib/multipath/bindings
fi
umount /tmp/multipathd_rootfs.$$
rmdir /tmp/multipathd_rootfs.$$
fi
And everithing seems to be fine now.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.