<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>123380</bug_id>
          
          <creation_ts>2006-02-19 06:49 0000</creation_ts>
          <short_desc>mdadm initscripts fail on md_dX (partitioned md)</short_desc>
          <delta_ts>2007-10-03 11:59:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>1i5t5.duncan@cox.net</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>gentoo@digadd.de</cc>
    
    <cc>kumba@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2006-02-19 06:49:47 0000</bug_when>
            <thetext>mdadm&apos;s initscripts fail on md_dX (partitioned RAID), as there&apos;s a couple seriously invalid assumptions made about the major and minor device numbers.

The problem is in /lib/rcscripts/addons/raid-start.sh .  It hard-codes device-major to 9, which is the kernel&apos;s major device for unpartitioned mds.  Further, it assumes, I believe correctly for unpartitioned mds but definitely incorrectly for partitioned mds, that the minor number will correspond to the md number (mdX or md_dX).

The md manpage states that the major device is listed as mdp in /proc/devices.  Here, it gets major block #254.  The minor numbers for the partitioned md (md_dX) appear to be 64 apart, allowing up to 63 partitions on the  intervening minors.  I believe I read that somewhere in my research before setting up, which backs up what I see in /dev, here, but I can&apos;t recall where and don&apos;t remember whether that was fixed or only the default.

In any case, here, md_d0 is 254,0, md_d1 is 254,64, md_d1p1 is 254,65, md_d2p2 is 254,130, etc.  Obviously, the initscript isn&apos;t going to set these up correctly, the device nodes fail to get created (udev), and the filesystems correspondingly fail to mount.

Current workaround:  When I setup the system, I set it up with an appropriate kernel command line such that all the devices are created by the kernel before control transfers to init.  This will naturally be required for rootfs on kernel-RAID, but it&apos;s not recommended for other than the rootfs, as it limits flexibility in terms of RAID recovery, if/when something ultimately goes bad.  Thus, now that I&apos;m up and stable on RAID, I&apos;m trying to switch to initscript md activation for other than the md containing the rootfs, and having a time of it as they simply aren&apos;t written to accommodate partitioned RAID.

Duncan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-02-19 14:23:43 0000</bug_when>
            <thetext>so post a patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2006-02-20 04:11:02 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; so post a patch

It&apos;s actually on my list to do just that, but I didn&apos;t want to make any promises, and the available timeframe here is several months.  If someone gets to it before me, I just saved myself some trouble. =8^)  

The hard part might be finding documentation suitably nailing down the device numbers for all situations, not just what happens to be the case here, as I had difficulty finding much on partitioned RAID, during my setup research. =8^(
Perhaps I&apos;ll cheat by seeing how Mandriva (or Fedora or SuSE) handles it in their initscripts, since I&apos;m familiar with their style as I used to run it, tho not on RAID.

Duncan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2006-05-14 10:53:24 0000</bug_when>
            <thetext>OK, finally getting some time to look at this.  The biggest sticking point was validating what the official values for major and minor were.  I was able to trace down the original mdp patches to the mainline kernel, which give the info I need.  From the 2.6.4 long-format changelog (reformatted):

&lt;akpm@osdl.org&gt;
    [PATCH] md: Allow partitioning of MD devices.
    From: NeilBrown &lt;neilb@cse.unsw.edu.au&gt;

    With this patch, md used two major numbers for arrays.

    One Major is number 9 with name &apos;md&apos; have unpartitioned
    md arrays, one per minor number.

    The other Major is allocated dynamically with name &apos;mdp&apos;
    and had on array for every 64 minors, allowing for upto
    63 partitions.

    The arrays under one major are completely separate from
    the arrays under the other.

    The preferred name for devices with the new major are of
    the form:

        /dev/md/d1p3  # partion 3 of device 1 - minor 67

That confirms what I see here, so I can proceed.  I&apos;ve hacked up a pseudocode version of raidstart.sh, but it&apos;s nowhere close to being ready for posting yet.  Having it done, tested locally, and posted by the end of the week, is possible if nothing comes up.

Duncan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2006-05-16 07:35:50 0000</bug_when>
            <thetext>Created an attachment (id=86853)
raid-start.sh with partitioned RAID support

OK, here&apos;s the new raid-start.sh script, whole version.  It&apos;s tested and working here -- I&apos;m up and running on it.  I&apos;ll attach a diff/patch too, to show what changed, but there&apos;s enough new and rewritten here that it won&apos;t be so useful.

It&apos;s well commented, to show what it does.  Perhaps removing some of them for script inclusion in the ebuild might be useful?

In particular:

1) The script uses the hint in the original to grab the dynamic mdp (md-partitioned) device number from /proc/devices.  I left the hardcoded major 9 for standard unpartitioned RAID, but commenting that will cause the script to grab that one from /proc/devices too.

2) After the initial mdp device node is created, we must also create the appropriate partition device nodes for that mdp.

3) I decided to scan /etc/fstab for mdp partition entries and use those as the basis for deciding what partition nodes to create.

4) It follows from 2 and 3 that any partitions not listed in fstab will not be created.  This could be an issue where LVM or the like is layered over a RAID partition, as the RAID partition would not normally be in fstab in that case, because LVM would be handling it.  This can be handled with a &quot;dummy&quot; entry in fstab (see point 5).

5) As a result of point 4, I&apos;d suggest an einfo in postinst, something along the lines of:

For partitioned RAID, the initscript scans fstab for the partition entries needed, so it can ensure the device nodes exist.  If you have partitioned RAID and have partitions NOT otherwise listed in fstab, as you might with LVM or the like, consider a dummy entry for each otherwise unlisted partition as follows:

  # Dev/Part    MntPnt  Type    MntOpt            dump fsck
  /dev/md_d1p3  ignore  ignore  dummy4initscript  0    0

Mentioning it in a readme.gentoo file in the docs dir may be useful, as well.

Duncan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2006-05-16 07:59:27 0000</bug_when>
            <thetext>Created an attachment (id=86854)
patch adding partitioned RAID support to raid-start.sh

Here&apos;s the patch.

The same script is used in raid-tools as well?  It should continue to work there as well, as I didn&apos;t touch the mdadm or raid-tools specific portions of the script at all.

FWIW, this will be my first full new feature added project on Linux.  It&apos;s a very good feeling to be able to point to something and say &quot;That wouldn&apos;t be there if it weren&apos;t for me.&quot;  =8^)  &quot;On the shoulders of giants...&quot;

Duncan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@digadd.de</who>
            <bug_when>2006-11-26 11:34:33 0000</bug_when>
            <thetext>Just to refresh the bug... as I hit it as well ;) Many things have changed in linux since the first posting of the bug.

To fix this it would be sufficient to a) allow mdadm to create the device nodes for /dev/md_d[0-9]+ with the &quot;-a yes&quot; switch, b) tell the kernel about the partition tables (fdisk -l $dev), c) wait a bit for udev to care of the device nodes.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@digadd.de</who>
            <bug_when>2006-11-26 13:15:38 0000</bug_when>
            <thetext>Created an attachment (id=102765)
Patch to illustrate my idea for partitioned raid devices on gentoo

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2007-01-02 06:26:45 0000</bug_when>
            <thetext>(In reply to comment #6 #7)
&gt; To fix this it would be sufficient to
&gt; a) allow mdadm to create the device nodes for
&gt; /dev/md_d[0-9]+ with the &quot;-a yes&quot; switch
&gt; b) tell the kernel about the partition tables (fdisk -l $dev)
&gt; c) wait a bit for udev to care of the device nodes.

I&apos;m testing your proposal now (haven&apos;t rebooted =8^).  However, if raidtools supports partitioned raid (does it?), your patch is going to leave it out in the cold.  Does it have something similar to mdadm&apos;s -a switch?

One advantage of the method I proposed, expanding create_devs rather than bypassing it, is that it&apos;s tool-choice agnostic.  Of course, even if raidtools supports partitioned raid, Gentoo could simply state that it only supports it with mdadm.  Still, since the idea is implemented, the patch created, might as well use it.  Of course, if raidtools doesn&apos;t support partitioned raid, we might as well go your route (assuming my reboot goes well =8^).

Duncan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>1i5t5.duncan@cox.net</who>
            <bug_when>2007-01-02 07:31:08 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; I&apos;m testing your proposal now (haven&apos;t rebooted =8^).

Reboot went fine.

A couple additional notes:

1) The -a yes starting mdadm -As isn&apos;t really needed, as it&apos;s the default, at least with newer mdadms, so that line can stay as-is.

2) Unless/until the raidtools version is changed, the raid partitions creation should be moved just before the fi closing the mdadm block (with indention changed accordingly), since raidtools continues to use the create_devs function (creating only non-partitioned traditional md devices) instead.  That&apos;s where I put it, here.

3) Of course, if raidtools has a parallel to mdadm&apos;s -a, create_devs would be unused once the raidtools side was implemented, and create_devs could be removed entirely, thus simplifying the script.  It&apos;d be nice. =8^)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-10-03 11:59:48 0000</bug_when>
            <thetext>in 2.6.3-r2.
You guys might be able to suggest some more cleanups as the raidtools stuff is gone now anyway. Open a new bug for the cleanups.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>86853</attachid>
            <date>2006-05-16 07:35 0000</date>
            <desc>raid-start.sh with partitioned RAID support</desc>
            <filename>raid-start.sh</filename>
            <type>text/plain</type>
            <data encoding="base64">IyAvbGliL3Jjc2NyaXB0cy9hZGRvbnMvcmFpZC1zdGFydC5zaDogIFNldHVwIHJhaWQgdm9sdW1l
cyBhdCBib290CiMgQ29weXJpZ2h0IDE5OTktMjAwNSBHZW50b28gRm91bmRhdGlvbgojIERpc3Ry
aWJ1dGVkIHVuZGVyIHRoZSB0ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExp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DIgfScgL2V0Yy9y
YWlkdGFiKQoJaWYgW1sgLW4gJHtkZXZzfSBdXSA7IHRoZW4KCQljcmVhdGVfZGV2cyAke2RldnN9
CgkJZWJlZ2luICJTdGFydGluZyB1cCBSQUlEIGRldmljZXMgKHJhaWR0b29scykiCgkJb3V0cHV0
PSQocmFpZHN0YXJ0IC1hcSAyPiYxKQoJCXJldD0kPwoJCVtbICR7cmV0fSAtbmUgMCBdXSAmJiBl
Y2hvICIke291dHB1dH0iCgkJZWVuZCAke3JldH0KCWZpCmZpCgojIFN0YXJ0IHNvZnR3YXJlIHJh
aWQgd2l0aCBtZGFkbSAobmV3IHNjaG9vbCkKaWYgW1sgLXggL3NiaW4vbWRhZG0gJiYgLWYgL2V0
Yy9tZGFkbS5jb25mIF1dIDsgdGhlbgoJZGV2cz0kKGF3ayAnL15bWzpzcGFjZTpdXSpBUlJBWS8g
eyBwcmludCAkMiB9JyAvZXRjL21kYWRtLmNvbmYpCglpZiBbWyAtbiAke2RldnN9IF1dIDsgdGhl
bgoJCWNyZWF0ZV9kZXZzICR7ZGV2c30KCQllYmVnaW4gIlN0YXJ0aW5nIHVwIFJBSUQgZGV2aWNl
cyAobWRhZG0pIgoJCW91dHB1dD0kKG1kYWRtIC1BcyAyPiYxKQoJCXJldD0kPwoJCVtbICR7cmV0
fSAtbmUgMCBdXSAmJiBlY2hvICIke291dHB1dH0iCgkJZWVuZCAke3JldH0KCWZpCmZpCgojIHZp
bTp0cz00Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>86854</attachid>
            <date>2006-05-16 07:59 0000</date>
            <desc>patch adding partitioned RAID support to raid-start.sh</desc>
            <filename>mdp-raid-start.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHJhaWQtc3RhcnQub2xkLnNoCTIwMDYtMDQtMjYgMTA6MDc6NTEuMDAwMDAwMDAwIC0wNzAw
CisrKyByYWlkLXN0YXJ0LnNoCTIwMDYt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XQgcGFydG51bT1wYXJ0bnVtK21pbm9yCisKKwkJCQkJIyAuLi4gY3JlYXRlIHRoZSBwYXJ0aXRp
b24gZGV2bm9kZSwgaWYgbmVjZXNzYXJ5LgorCQkJCQlbWyAhIC1lICR7cGFydG5vZGV9IF1dICYm
IG1rbm9kICIke3BhcnRub2RlfSIgYiAke21ham9yfSAke3BhcnRudW19CisJCQkJZmkKKwkJCWRv
bmUKKwkJZmkKIAlkb25lCiB9CiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>102765</attachid>
            <date>2006-11-26 13:15 0000</date>
            <desc>Patch to illustrate my idea for partitioned raid devices on gentoo</desc>
            <filename>raid-start.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9zeXMtZnMvbWRhZG0vZmlsZXMvcmFpZC1zdGFydC5zaAkyMDA2LTEx
LTEwIDAxOjM2OjM1LjAwMDAwMDAwMCArMDEwMAorKysgcmFpZC1zdGFydC5zaAkyMDA2LTExLTI2
IDIwOjI2OjU0LjAwMDAwMDAwMCArMDEwMApAQCAtNDMsMTMgKzQzLDIxIEBACiBpZiBbWyAteCAv
c2Jpbi9tZGFkbSAmJiAtZiAke21kYWRtX2NvbmZ9IF1dIDsgdGhlbgogCWRldnM9JChhd2sgJy9e
W1s6c3BhY2U6XV0qQVJSQVkvIHsgcHJpbnQgJDIgfScgJHttZGFkbV9jb25mfSkKIAlpZiBbWyAt
biAke2RldnN9IF1dIDsgdGhlbgotCQljcmVhdGVfZGV2cyAke2RldnN9CiAJCWViZWdpbiAiU3Rh
cnRpbmcgdXAgUkFJRCBkZXZpY2VzIChtZGFkbSkiCi0JCW91dHB1dD0kKG1kYWRtIC1BcyAyPiYx
KQorCQlvdXRwdXQ9JChtZGFkbSAtQXMgLWEgeWVzIDI+JjEpCiAJCXJldD0kPwogCQlbWyAke3Jl
dH0gLW5lIDAgXV0gJiYgZWNobyAiJHtvdXRwdX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