On Mon, 5 Nov 2012 09:46:47 +0100 (CET) Mikael Abrahamsson <swmike@xxxxxxxxx> wrote: > On Mon, 5 Nov 2012, NeilBrown wrote: > > > You want > > echo want_replacement > ..../state > > > > I changed that from replaceable at some point, so I guess you are looking at > > old code :-( > > I was looking at the LWN article... > > Still no go though: > > root:~# echo want_replacement > /sys/block/md0/md/dev-sdh/state > -bash: echo: write error: Invalid argument > root:~# cat /sys/block/md0/md/dev-sdh/state > in_sync > 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> > The code actually appears in 3.3, not 3.2. Sorry. The email in the lwn.net article does say: > I hope to submit this together with support for RAID10 (and maybe some > minimal support for RAID1) for Linux-3.3. It also says: > The following series - on top of my for-linus branch which should appear in > 3.2-rc1 eventually - implements hot-replace for RAID4/5/6. which is probably what made you think it was in 3.2. However is was the "for-linus branch; that would appear in 3.2-rc1, not the series of patches :-( So: you need 3.3 or later. NeilBrown
Attachment:
signature.asc
Description: PGP signature