I'm trying to create an image backup of a drive that contains an lvm partition, is there anything I should know before I do this? I've read that it fails a lot when attempting to clone a disk with an lvm partition.

Do I just have to do a file backup of it and completely re-build it from scratch if I want to do a restore?

  • 1
    If the target drive is at least as big as the source drive and the physical sector sizes are the same on source and target, it should work. It is straightforward, if there is an MSDOS partition table, but if there is a GUID partition table (GPT), you must also repair the backup partition table at the tail end of the drive (unless the drives have exactly the same size, not one single byte difference). You can repair the backup partition table with gdisk – sudodus Mar 11 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.