My file server has 6 250GB disks in a RAID5 volume, md2. Living on this volume are a whole bunch of LVM logical volumes (LVs). I want to replace all these drives with 2 1.5TB drives, preserving my data.
Step one was to simply replace one of the 250GB drives with one of the 1.5TB drives. This put the RAID5 volume md2 into degraded mode. I then created a new RAID1 volume with the 1.5TB drive as an active half of the mirror: # mdadm --create /dev/md3 --chunk=64 --level=raid1 --raid-devices=2 /dev/sdd missing # mdadm -D --scan | grep md3 >> /etc/mdadm.conf