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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
sorry, 3 more photos.
So you have LVM, and used "disk to disk" cloning? Please take a photo about this and show me the green command like this:
https://clonezilla.org/clonezilla-live/doc/03_Disk_to_disk_clone/images/ocs-09-1-start-clone-1st-confirm.png
Steven
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
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
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
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?
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
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!