[Bug 2031879] [NEW] Fail to remove a device via "mdadm -r" on ubuntu server 22.04.3

shangsong 2031879 at bugs.launchpad.net
Fri Aug 18 07:39:20 UTC 2023


Public bug reported:

1. Fresh install Ubuntu server 22.04.3 
2. Create a container via below command:
# mdadm -C /dev/md0 /dev/nvme0n1 /dev/nvme1n1 -n 2 -e imsm
3. It will fail during removing a device from container /dev/md0
 # mdadm -r /dev/md0 /dev/nvme0n1
  mdadm: /dev/nvme0n1 does not appear to be an md device 
 # mdadm /dev/md0 -r /dev/nvme0n1
  ==> No output

It can pass via "mdadm --remove /dev/md0 /dev/nvme0n1"


It is a mdadm issue begin commit 546047688e1c64638f462147c755b58119cabdc8, the following commit has fixed it, please help backport it, thanks.
https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=190dc029b141c423e724566cbed5d5afbb10b05a

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/2031879

Title:
  Fail to remove a device via "mdadm -r" on ubuntu server 22.04.3

Status in mdadm package in Ubuntu:
  New

Bug description:
  1. Fresh install Ubuntu server 22.04.3 
  2. Create a container via below command:
  # mdadm -C /dev/md0 /dev/nvme0n1 /dev/nvme1n1 -n 2 -e imsm
  3. It will fail during removing a device from container /dev/md0
   # mdadm -r /dev/md0 /dev/nvme0n1
    mdadm: /dev/nvme0n1 does not appear to be an md device 
   # mdadm /dev/md0 -r /dev/nvme0n1
    ==> No output

  It can pass via "mdadm --remove /dev/md0 /dev/nvme0n1"

  
  It is a mdadm issue begin commit 546047688e1c64638f462147c755b58119cabdc8, the following commit has fixed it, please help backport it, thanks.
  https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=190dc029b141c423e724566cbed5d5afbb10b05a

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




More information about the foundations-bugs mailing list