[arch-general] Re-install of Arch on a larger drive

Dan Haworth dan at xigen.co.uk
Mon Mar 19 14:40:19 UTC 2018


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 at 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


More information about the arch-general mailing list