[Bug 2070371] Re: [VROC] [Ub 24.04] mdadm: grow for R0 not start - missing patch

Timo Aaltonen 2070371 at bugs.launchpad.net
Fri Sep 13 15:19:40 UTC 2024


Hello Kinga, or anyone else affected,

Accepted mdadm into noble-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/mdadm/4.3-1ubuntu2.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags added: verification-needed verification-needed-noble

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/2070371

Title:
  [VROC] [Ub 24.04] mdadm: grow for R0 not start - missing patch

Status in mdadm package in Ubuntu:
  Fix Released
Status in mdadm source package in Noble:
  Fix Committed

Bug description:
  [ Impact ]

  This bug prevents users from successfully reshaping/growing a RAID array
  Indeed, at the reshaping operation, for external array, mdadm might miss
  the mdmon daemon up and running event because mdadm only runs and check
  if it is running without waiting.

  This fix introduces a timed_wait operation that allows mdadm to wait
  for 5 seconds the mdmon running event and minimizes the risk of
  missing it.

  [ Test Plan ]

  
  Steps to reproduce:
  1. Create RAID volume e.g.:
  # mdadm -C /dev/md/imsm0 -e imsm -n 2 /dev/nvme0n1 /dev/nvme1n1 -R
  # mdadm -C /dev/md/MyVolume -l0 -n 2 /dev/nvme[0-1]n1 -R
  2. Add additional drive(s) to an IMSM array using command e.g.:
  # mdadm --add /dev/md/imsm0 /dev/nvme2n1
  3. Execute grow command on array with additional drives:
  # mdadm --grow /dev/md/imsm0 --raid-devices=N
  4. Wait for reshape start on given volume
  # cat /proc/mdstat

  Expected result:

  Reshape started successfully, no errors reported

  Actual result:

  Reshape didn't start on given volume

  
  [ Where problems could occur ]

  The change only affects the Grow/Reshape operation of mdadm
  and i do not expect problems to occur in other places. 

  [ Other Info ]

  This fix has been already merged upstreamed:

  -
  https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=b0f4e8e30f38d83f7e3f53d01d72d4cb3b4d42d7

  -
  https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=aa1cc5815d2b14a8b47add18cfaa8264e19c10ce

  The fix is in the second commit, the first commit is a dependency of
  the second commit and it is only about a minor change in a function
  signature.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/2070371/+subscriptions




More information about the foundations-bugs mailing list