On 19/03/18 14:29, Jens John wrote:
On Mon, 19 Mar 2018, at 14:46, Carsten Mattner via arch-general wrote:
On 3/19/18, Paul Gideon Dann via arch-general <arch-general@archlinux.org> wrote:
I've moved or cloned my general-use Arch system between disks more times than I can count. This is what LVM is for. If you're not using LVM (or BTRFS), I recommend you start Which aspect is easier/improved with LVM? Generally speaking, it decouples the sizes of your file systems from disk geometry (partitions). So you can resize whichever logical volume up or down without having to care about if there's space in front or after it.
What 's not so neat about OPs dd solution when compared to rsync is that if you have a 100G file system 50% full , you'll copy ~100G of data instead of ~50G. Depending on transfer speeds, that can be a lot of extra time. Also, you'll get free defragmentation when starting with fresh file systems. If you want to change file system block sizes, you also need to start fresh.
To add to this, with LVM you can move your PV's between devices (for example, to a new bigger hard disk) really simply with the pvmove command. It literally is as simple (to a point, still have to deal with the bootloader) as install new hard disk, move pv, remove old hard disk. --dan