Menu

Will partclone restore to a smaller partition?

Help
davidallie
2014-07-18
2014-08-06
  • davidallie

    davidallie - 2014-07-18

    Hello. I'm wondering if partclone will restore to a smaller partition?

    While using partimage (yes, partimage), I got an error that the partition is too small to be restored, with an original partition size of 310,599,745,536 bytes and the destination partition size of 308,882,178,048 bytes. The partition is approximately 287 GB in size, but the amount of data being restored was only 85 GB in size.

    OK, I understand now that development has stalled on partimage, which is why I'm looking at using partclone... but BEFORE I spend hours creating images, I'd like to know if partclone will restore to a smaller partition if the data will fit?

     
  • Steven Shiau

    Steven Shiau - 2014-08-06

    By default, no.
    However, if you are sure the used blocks are within the boundary, you can use the option -C (or --no_check) to force to do that.

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB