Menu

Why does Clonezilla disable swapfile?

Help
2022-02-19
2022-02-28
  • Tupã Negreiros

    Tupã Negreiros - 2022-02-19

    I'm using Clonezilla 3.35.2-3 installed on Ubuntu 21.10. I just want to
    backup/restore some data on some microSD cards while doing something else
    at the same time.

    Before running Clonezilla, I have a swapfile in "/" root. When I select
    restoredisk or savedisk, the swapfile is disabled.

    Why does running Clonezilla on my Ubuntu environment disable its swapfile?
    Is there a way to prevent this behavior?

    Thanks!

     
  • Steven Shiau

    Steven Shiau - 2022-02-20

    Clonezilla is used blocks imaging/restoring tool. It's the so-called cold backup. Hence the file system has to be unmounted. If the swapfile is enabled, the file system can not be unmounted. That's the reason why Clonezilla has to disable the swap and LVM for GNU/Linux.

    Steven

     
  • Tupã Negreiros

    Tupã Negreiros - 2022-02-21

    @steven_shiau Thanks for you reply.
    Please note that: * I'm not using Clonezilla Live, I'm using it installed on a Ubuntu desktop. * I'm not cloning root disk/partition, as it is "busy". * I'm doing backup/restore of some Raspberry Pi cards.

    Also, it's possible to start restore/backup and re-enable swapfile while it's still copying.

     
  • Steven Shiau

    Steven Shiau - 2022-02-28

    Thanks for your feedback.
    OK, got it. Definitely this can be improved by only disabling the related partitions.

    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.