Menu

[solved] read image_hdr error=0

larsen255
2021-10-18
2021-10-20
  • larsen255

    larsen255 - 2021-10-18

    I got this error on cloning a physical server to a virtual system (on the target):

    Starting to restore image (-) to device (/dev/vg0/root)read image_hdr error=0
    Partclone fail, please check /var/log/partclone.log !
    Failed to clone remote image to /dev/vg0/root

    I then started another try and used the option for "filesystem check interactively". This didn't find a file system on vda2 (this is a LVM partition).

    After some trial and error, I noticed this in partclone.log on the source server:

    extfsclone.c: bitmap free count err, partclone get free:126451010 but extfs get 126355147.
    Please run fsck to check and repair the file system

    The easy fix was to run "fsck -v /dev/vg0/root".

    Maybe Clonezilla could be improved to be able to check filesystems for LVM partitions, too.

    Best wishes,
    Lars

     

    Last edit: larsen255 2021-10-18
  • Steven Shiau

    Steven Shiau - 2021-10-20

    Sure. Thanks for sharing that.

    Steven

     

Log in to post a comment.