On Mon, 28 Aug 2023, Phillip Susi wrote:

Why would you use dd/partclone instead of just having LVM move
everything to the new drive on the fly?

Partition the new drive, use pvcreate to initialize the partition as a
pv, vgextend to add the pv to the existing vg, pvmove to evacuate the
logical volumes from the old disk, then vgreduce to remove it from the
vg.

1. Unnecessary copying. 2. You lose your free backup of the system on the old drive,
   which should be carefully labeled and kept handy for a year.
   (After that, SSDs start to run the risk of data retention issues.)

Don't forget you'll need to reinstall grub on the new drive for it to
boot.

And that is the most important reason.  "Just reinstall grub" is a
much larger learning curve than "dd" IMO.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to