RE: Multipath not rebuilding correctly on reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ah nuts...forgot to save the one file before attaching.  Here is the
missing manual_run.txt file

-----Original Message-----
From: dm-devel-bounces@xxxxxxxxxx [mailto:dm-devel-bounces@xxxxxxxxxx]
On Behalf Of Greene, Rick
Sent: Thursday, January 31, 2008 3:20 PM
To: device-mapper development
Subject:  Multipath not rebuilding correctly on reboot

Now that I seem to have multipath and my XP 1024 working together, I've
found a new issue.  Someone recently had a similar thread going, but I
saw no ultimate resolution.

My problem is that when I reboot my server, the multipath configuration
is not coming back the way it was before.  I moved the two external
tools I use to find the UID into /etc (they had bin in /usr/bin and
/sbin), updated the multipath.conf file (and one of the scripts) to
reflect this, but odd things are still happening.

Attached is initial_view.txt, which shows what multipath is coming up
with when I do the commands shown (the bulk of the file is multipath -v3
output, but at the bottom of the file is a multipath -ll output as
well).  It (seems to) correctly shows that I have 4 disks, each visible
via two separate paths.

After I reboot, however, I get different results.  Once it showed 4
paths for mpath0, and 2 paths for mpath1, 2, and 3.  Next time it
correctly showed mpath0, mpath1, and mpath3, but didn't show mpath2 at
all.  On the next attempt I got everything correct, and the very next
one only showed mpath0 and mpath1.

The post_reboot.txt file shows the contents of the /var/log/boot.log
file and the output of the dmesg command, along with the "multipath -ll"
view from the most recent reboot.

I then manually did a "multipath -v2" and the missing two paths then
came back.  The file manual_run.txt shows those results plus the updated
"multipath -ll".

Do I need to just make my own /etc/init.d script to do a "multipath -v2"
at the end of booting to make sure it all gets covered, along with the
requisite LVM & mount commands to get the VG that is on these disks
working right?

Thanks in advance,
Rick



# multipath -v2
create: mpath2 (00040026_05:85)
[size=13 GB][features="0"][hwhandler="0"]
\_ round-robin 0
 \_ 1:0:0:2 sdc 8:32  [ready]
 \_ 2:0:0:2 sdg 8:96  [ready]

create: mpath3 (00040026_05:86)
[size=13 GB][features="0"][hwhandler="0"]
\_ round-robin 0
 \_ 1:0:0:3 sdd 8:48  [ready]
 \_ 2:0:0:3 sdh 8:112 [ready]

[root@corux38 ~]# multipath -ll
mpath2 (00040026_05:85)
[size=13 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 1:0:0:2 sdc 8:32  [active][ready]
 \_ 2:0:0:2 sdg 8:96  [active][ready]

mpath1 (00040026_05:84)
[size=13 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [enabled]
 \_ 2:0:0:1 sdf 8:80  [active][ready]
 \_ 1:0:0:1 sdb 8:16  [active][ready]

mpath0 (00040026_05:83)
[size=13 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [enabled]
 \_ 2:0:0:0 sde 8:64  [active][ready]
 \_ 1:0:0:0 sda 8:0   [active][ready]

mpath3 (00040026_05:86)
[size=13 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 1:0:0:3 sdd 8:48  [active][ready]
 \_ 2:0:0:3 sdh 8:112 [active][ready]
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux