Bug#702964: mdadm: readonly and readwrite not setable

Michael Tokarev mjt at tls.msk.ru
Wed Mar 13 17:39:51 UTC 2013


13.03.2013 21:17, Hardy Flor wrote:
> with the option before the raid-device it is work:
> mdadm --misc -o /dev/md1
> 
> the man-page say:
> mdadm [mode] <raiddevice> [options] <component-devices>

Well.  Actually, just logically, -o/-w is "mode".  And
you don't really need --misc:

  mdadm -o /dev/md1
  mdadm -w /dev/md1

This is a bit confusing because some options means different
things in different contexts (or "modes") and some options
are named the same as some "modes".  But that's what you
pay for, well, easy of use.  The options in each mode are
actually quite well-choosen and are more or less intuitive
to remember.

But it is difficult to get right in docs.

Is it okay to close this bugreport now, how do you think?

Thank you!

/mjt



More information about the pkg-mdadm-devel mailing list