Re: is "replaceable" in 3.2 considered stable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 Nov 2012 09:11:54 +0100 (CET) Mikael Abrahamsson <swmike@xxxxxxxxx>
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: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux