linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-raid@vger.kernel.org
Subject: Re: is "replaceable" in 3.2 considered stable
Date: Mon, 5 Nov 2012 19:42:10 +1100	[thread overview]
Message-ID: <20121105194210.7f053192@notabene.brown> (raw)
In-Reply-To: <alpine.DEB.2.00.1211050909540.13802@uplift.swm.pp.se>

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

On Mon, 5 Nov 2012 09:11:54 +0100 (CET) Mikael Abrahamsson <swmike@swm.pp.se>
wrote:

> On Mon, 5 Nov 2012, NeilBrown wrote:
> 
> > Try it.  If it works for you, we can be more confident that it is stable 
> > :-)
> 
> root:~# cat /sys/block/md0/md/dev-sdh/state
> in_sync
> root:~# echo replaceable > /sys/block/md0/md/dev-sdh/state
> -bash: echo: write error: Invalid argument
> root:~# cat /proc/mdstat
> Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
> md0 : active raid6 sdi[10](S) sdg[11] sdj[15] sdh[14] sdk[13] sde[12] sdd[9] sdb[6] sdf[7] sdc[2]
>        13674601024 blocks super 1.2 level 6, 64k chunk, algorithm 2 [9/9] [UUUUUUUUU]
>        bitmap: 0/15 pages [0KB], 65536KB chunk
> 
> unused devices: <none>
> 
> Does this mean Ubuntu decided to not support this option in their kernel, 
> or am I misunderstanding something?
> 

You want
   echo want_replacement > ..../state

I changed that from replaceable at some point, so I guess you are looking at
old code :-(

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2012-11-05  8:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-05  4:51 is "replaceable" in 3.2 considered stable Mikael Abrahamsson
2012-11-05  5:22 ` NeilBrown
2012-11-05  8:11   ` Mikael Abrahamsson
2012-11-05  8:42     ` NeilBrown [this message]
2012-11-05  8:46       ` Mikael Abrahamsson
2012-11-05 10:53         ` NeilBrown
2012-11-05 10:56           ` Mikael Abrahamsson
2012-11-07  1:42   ` Brad Campbell
2012-11-07  9:55     ` joystick
2012-11-07 13:44       ` Brad Campbell
2012-11-07 18:08         ` joystick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121105194210.7f053192@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).