Thank you, jools, for the info that the raid can be used right away, I did not 
know that.
It's not mentioned on any of the many guides I've been through..

Anyway, the bug was about mdadm creating "md_d0" and similar devices
when I delete the original raid, even if I clear the disk.

It seems like mdadm has trouble forgetting the raid on a disk, and when trying 
to clear the superblocks (after deleting the raid), I get no error.
But it still seem to be some kind of info stored either in the OS, or on the 
disks.

I just bought a couple of large disks that is synchronizing just now,
but when they are done, I'll try again with my 500GB test disks, and try
to describe more step-by-step whats going on.

Basically what I did was this:

Create a raid:

mdadm --create --verbose /dev/md0 --level=1 /dev/sda1 /dev/sdb1

That failed with "no raid devices found" or something like that (don't
remember the exact words), so I ran this instead:

mdadm -Cv /dev/md0 -l1 -n2 /dev/sd[ab]1

And that worked, and started synchronizing.

Then, after a reboot, the device /dev/md_d0 appeared instead of
/dev/md0.

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

Title:
  Create new RAID1 array without resync

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to