Stopping RAID and then trying to reassemble Fails

Bug #1766242 reported by Vishwanath Ramalingam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
New
Undecided
Unassigned

Bug Description

1. Open terminal and create RAID using mdadm.
For eg : mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/nvme0n1 /dev/nvme1n1
2. Stop RAID by using below command.
mdadm --manage --stop /dev/md0
3. Reassemble the RAID by using below command.
mdadm --examine --scan >> /etc/mdadm.conf
mdadm --assemble --scan /dev/md0

Observation:
RAID reassembling Fails by below error message.
"/dev/md0 is not specified in config file."

Note:
RAID is created using nvme drive on Ubuntu 17.10

dmesglogs:
[ 788.765804] md0: detected capacity change from 0 to 4450616344576
[ 888.180976] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)

[ 939.509058] md0: detected capacity change from 4450616344576 to 0

[ 939.509067] md: md0 stopped.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.