[Bug 215542] Re: mdadm --create with typo overwrites device file
Dmitrijs Ledkovs
215542 at bugs.launchpad.net
Fri Jun 15 14:20:54 UTC 2012
3.1.4-1+8efb9d1ubuntu4 landed in natty and now in quantal we are up on
3.2.3-2ubuntu2. Can this bug be closed?
--
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