Public bug reported:

I forgot to specify the new MD device to mdadm when creating a new
array, resulting in an error message:

# mdadm --create --level=raid1 --chunk=64  --raid-devices=2 /dev/hdb /dev/hdc
mdadm: You haven't given enough devices (real or missing) to create this array

but also resulting in the device file for "/dev/hdb" going AWOL:

[EMAIL PROTECTED]:~# ls -la /dev/hd*
brw-rw---- 1 root cdrom  3,   0 2008-04-10 18:52 /dev/hda
brw-rw---- 1 root disk   9, 127 2008-04-11 09:43 /dev/hdb
brw-rw---- 1 root disk  22,   0 2008-04-10 18:52 /dev/hdc
brw-rw---- 1 root cdrom 22,  64 2008-04-10 18:52 /dev/hdd

Please check arguments before doing anything to files or devices :-/
2.6.2-1ubuntu2, ubuntu gutsy.

cheers,
Andras

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

-- 
mdadm --create with typo overwrites device file
https://bugs.launchpad.net/bugs/215542
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to