[Bug 215542] Re: mdadm --create with typo overwrites device file
Dmitrijs Ledkovs
215542 at bugs.launchpad.net
Tue Jun 19 19:09:57 UTC 2012
On 19/06/12 19:08, raas wrote:
> I'd expect the bug to be closed when the problem is fixed, or the mdadm
> package is deprecated. Is either of these the case?
>
Sorry for misunderstanding, let me explain.
There was an indication earlier in the bug report that 3.1 series or
later fix the problem. I have pointed out that newer mdadm is available
in a few releases now, and wanted to check with all affected people if
the problem is still there.
--
Regards,
Dmitrijs.
--
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/215542
Title:
mdadm --create with typo overwrites device file
Status in “mdadm” package in Ubuntu:
Confirmed
Bug description:
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:
root at yggdrasil:~# 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/215542/+subscriptions
More information about the foundations-bugs
mailing list