On 2013-04-26, Roberto Nunnari <roberto.nunnari@xxxxxxxx> wrote: > > I'd like to replace two hd in raid1 with larger ones. > > I could just add the new drives in raid1 and mount it on /opt after a > dump/restore, but I'd prefer to just have to drives instead of four.. > less noise and less power consumption and noise. > > The question is: what whould be the best way to go? I've never tried it, but mdadm supports growing arrays. If you replace each drive in your RAID1 and do a rebuild, when the second rebuild is complete, you can use the --grow -z max option to tell md to resize the array to use the new space. Then you will need to resize the filesystem using FS tools like resize2fs or xfs_growfs. --keith -- kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx -- 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