Menu

How would you implement LVM support?

2024-12-18
2024-12-22
  • Gareth Randall

    Gareth Randall - 2024-12-18

    Hi. I would like Clonezilla (and RescueZilla) to be able to support LVM and quickly clone the filesystems within LVM volumes quickly rather than using dd for the entire LVM parition. Otherwise restoring images that include LVM partitions takes over an hour.

    I can see this might be a wide-ranging piece of work but if someone offered a pull request for it would you accept it? Do you have a quick sketch of how you'd like to see it done so that it fitted with your development plans? Thanks!

     
  • Steven Shiau

    Steven Shiau - 2024-12-22

    What did you mean by supporting LVM?
    Clonezilla treats LVM device normally like the partition device /dev/nvme0n1p1. If the file system on the LV is supported by the file system engine, Partclone, dd will not be used.
    Or you meant the thin provisioning of LVM? If so, that's still an issue due to some tools are not available for Clonezilla to do that. For more info, please check:
    https://github.com/jthornber/thin-provisioning-tools/issues/126

    Steven

     

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.