Menu

Problems cloning RHEL 8.4

Help
2022-03-15
2022-09-29
  • Markus Kinzler

    Markus Kinzler - 2022-03-15

    Dear Steven,

    thanks for bringing us a great tool like clonezilla. I am using it for quite a while and was pretty successful with linux and windows clones so far.

    But now I have a issue I could not solve on my own:
    Cloning an installation of RHEL 8.4 on a 1 TB Disk. I do have two of them, one on a SATA drive and one on an NVME drive. First I used an old version of clonezilla, and today I updated to a newer one. Always with the same result: the last partition (arround 800GB) is repeatetly cloned in a loop, it does not stop. Also the disk is not bootable / usable afterwards. I tested various hardware configurations (i7 10k, i7 6700, i3), also from NVME to SATA, from SATA to SATA, From NVME to NVME) always with the same result.

    But I stayed in beginner mode, is there a hint how i could solve that in expert mode?

    thank you very much in advance
    Markus

     
  • Steven Shiau

    Steven Shiau - 2022-03-16

    Which version of Clonezilla live did you mean by the newer one you have mentioned? Please show the exact version number so that it's easier to judge.
    In addition, we need more info, so please boot Clonezilla live, enter command line prompt,t hen:
    1. sudo -i
    2. cat /proc/partitions
    3. blkid
    4. parted -s /dev/sda print
    5. parted -s /dev/nvme0n1 print
    Please post the results of 2-5.
    In addition, please also try the testing Clonezilla live, e.g., 3.0.0-7 amd64 release. It would be easier for us to fix if this issue is reproducible.
    Thanks.

    Steven

     
  • Markus Kinzler

    Markus Kinzler - 2022-03-16

    Dear Steven,

    i was using version 2.8.1-12-amd64.

    with 3.0.0.7 I get the same result.

    the output of the cmd line is attached as photos, sorry I was not able to copy and past that from the linux live system to my laptop.
    The situation here are two sata drives with 960 GB (source) and 1000 GB (destination).

    if you need more details please let me know. Also if you know a way to save sth on the USB drive running Clonezilla please let me know the link.

    thanks again
    Markus

     
  • Markus Kinzler

    Markus Kinzler - 2022-03-21

    Dear Steven,

    the green line is as follows:

    /usr/sbin/ocs-onthefly -g auto -e1 auto -e2 -r -j2 -sfsck -p choose -f sda -d sdb

    one more thing to mention: the source SSD (960GB) is part of an HPE Server, maybe there are addional copy protections applied? ( HPE DL20GEN10).

    Thanks again for your time!
    best regards
    Markus

     
  • Steven Shiau

    Steven Shiau - 2022-03-21

    OK. For LVM, disk to disk should go with dd mode, not the smart way.
    I will check why it has such an issue.
    However, it's recommended to save the image from source disk first. Remove the source disk, put the destination disk, then restore the image.
    This is due to same LV can not co-exist on a machine.

    Steven

     
  • Steven Shiau

    Steven Shiau - 2022-03-22

    BTW, do you use thin-provisioning in your LVM? If so, it's not supported by Clonezilla. We still can not find the solution yet.

    Steven

     
  • Markus Kinzler

    Markus Kinzler - 2022-09-28

    issue is still not solved, sorry for the long delay.

    lvs -a gives as a result: -wi-ao----
    so thin provisioning is not active here?

     
  • Steven Shiau

    Steven Shiau - 2022-09-29

    Thin provisioning is not supported by Clonezilla, and LVM cloning for disks in the same machine is an issue, too. Maybe you can try to use dd for this purpose.

    Steven

     
  • Markus Kinzler

    Markus Kinzler - 2022-09-29

    quick feedback: it finally worked!
    using disk to image and image to disk with some patience and careful reading the instructions.
    thank you very much for your support and your great tool :-) clonezilla rocks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.