On 11/22/20 11:12 PM, Sreyan Chakravarty wrote:
On Mon, Nov 23, 2020 at 2:02 AM Jorge Fábregas <jorge.fabregas@xxxxxxxxx
<mailto:jorge.fabregas@xxxxxxxxx>> wrote:
You really should use a proper tool for the job. Something like
partclone. That way you don't waste time & storage since you'll be
saving *only* the used blocks. I mostly use CloneZilla (that uses
partclone) but you can install partclone [1] in Fedora.
Please note I will not be cloning my partition but just the contents of
the root logical volume.
"partition" is the usual container, but these programs will copy a
filesystem from whatever block device you point them at. There is no
significant difference in this case between a partition and a logical
volume.
The partition will still exist.
The reason I am doing this is because I want to move to thin LVMs,
rather than the old CoW LVM.
Is partclone the write option? Or am I better off with dd ?
Particularly since you want to move the data to a thin LVM, you need to
use something that understands the filesystem. If you use dd, then all
the unused blocks will still be copied and take up space in the new LVM
partition. You can use partclone or e2image (just make sure you use the
option to include data) or clonezilla. I would suggest also doing a
full tar backup of the filesystem before trying anything else, just in case.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx