On Wed, 24 Aug 2011 10:21:32 +0200 (CEST) Mikael Abrahamsson <swmike@xxxxxxxxx> wrote: > On Wed, 24 Aug 2011, Gordon Henderson wrote: > > > This isn't as "glamorous" as Neils method involving lots of mdadm > > commands, shrinks and grows, but sometimes it's good to keep things at a > > simpler level? > > Another way would be to add the new raid1 with missing drive to the lv, > and pvmove all extents off of the existing raid5 md pv, then vgreduce away > from it, stop the raid5, zero-superblock, and add one drive to add > redundancy for the raid1. > > But that has little to do with linux raid, and all to do with LVM. It also > means you can do everything online since pvmove doesn't require to offline > anything. > There are certainly lots of approaches. :-) But every approach will require either coping or shrinking the filesystem and as extX doesn't support online shrinking the filesystem will have to be effectively off-line while that shrink happens. (if you shrink by coping, then it could be technically on-line but it had better not be written to). NeilBrown -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html