Menu

Image compression and drive size help

Help
2009-06-11
2013-04-05
  • Michael Snihur

    Michael Snihur - 2009-06-11

    Hello, I have a few questions regarding how images are saved and how the compression is used.

    In my particular instance, the target (saved-to) drive has 46GiB free (from 60 GB). The drive I want to save from is 75GiB total with two partitions of 43GiB used and 11.4GiB used. So this adds up to about 55GiB used that I want to save from. With compression, the image should be able to fit onto the target drive. However, I continue to get a disk full error while saving the image.

    I am curious as how clonezilla uses compression (copy full used amount then compress or compress on the fly or something else?). Is there a way I can leverage a temporary storage space to get the compressed image onto the 46GiB free space? I have tried multiple compression settings with the same error.

    Finally, I have read both FAQ's about _NOT_ saving an image from a larger drive to a smaller drive as well as how much space do I need when saving an image. Perhaps you can clarify if I am hitting either one of those problems? Thank you very much,

    mike

     
    • Steven Shiau

      Steven Shiau - 2009-06-11

      Mike,
      "In my particular instance, the target (saved-to) drive has 46GiB free (from 60 GB). The drive I want to save from is 75GiB total with two partitions of 43GiB used and 11.4GiB used. So this adds up to about 55GiB used that I want to save from. With compression, the image should be able to fit onto the target drive. However, I continue to get a disk full error while saving the image." ->
      When you use Clonezilla live, after the Clonezilla image home (/home/partimag) is mounted, could you use "ctrl-alt-F2" to switch to console 2, then run:
      1. sudo -i
      2. df -ah
      Then post the results ?

      BTW, please describe every step you chose to save the image. It's easier for others to judge what the problem is there.
      Clonezilla uses "pipe" to send the image to compress program, the default one is gzip.  Therefore you do not have to use special temp space. The memory is the place.

      Steven.

       
    • Michael Snihur

      Michael Snihur - 2009-06-11

      Steven, Thank you very much for the info.  Here is a rundown of what I attempted.

      >Boot into Clonezilla Live 1.2.2-14 (Start Clonezilla)
      >device-image (local_dev, mount external usb, top directory)
      >/home/partimag/ mounted (executed commands 1&2)
      RESULTS:
      Filesystem        Size    Used    Avail    Use%    Mounted On
      tmpfs            443M    0    443M    0%    /lib/init/rw
      proc            0    0    0    -    /proc
      sysfs            0    0    0    -    /sys
      procbususb        0    0    0    -    /proc/bus/usb
      udev            10M    92K    10M    1%    /dev
      tmpfs            443M    4.0K    443M    1%    /dev/shm
      devpts            0    0    0    -    /dev/pts
      rootfs            443M    6.5M    436M    2%    /
      /dev/hdd        101M    101M    0    100%    /live/image
      tmpfs            443M    6.5M    436M    2%    /live/cow
      tmpfs            443M    0    443M    0%    /live
      fusectl            0    0    0    -    /sys/fs/fuse/connections
      /dev/sda1        56G    10G    46G    18%    /tmp/local-dev
      /tmp/local-dev        56G    10G    46G    18%    /home/partimag

      Beginner mode
      >savedisk (choose local drive, pick name)
      >used command /opt/drbl/sbin/osc-sr -q2 -c -j2 -z1 -i 2000 -p true savedisk "2009-06-11-12-img" "hda"

      Note: I have also tried expert mode using z2 compression and using 0 for block size. Will get back to you after this run is over

       
      • Steven Shiau

        Steven Shiau - 2009-06-12

        What's the file system of /dev/sda1 ?
        You can use command:
        mount
        to show more mounting parameters at the same timing when you run "df -ah". Please post the results when you run the above command.

        Steven.

         
    • Michael Snihur

      Michael Snihur - 2009-06-24

      Sorry for the delayed response... It finally compelted on beginner settings. The file system was ntfs. On the run that completed, there was very little storage left (<1 MB) on the external drive. I haven't tried a restore but I assume the image is good, I just wasn't getting the compression rate that I expected. Thank you for your help

       
    • Steven Shiau

      Steven Shiau - 2009-06-24

      "there was very little storage left (<1 MB) on the external drive" -> Did you see any error messages when you save the image ? You'd better to make sure there is no error messages so that you can sure the image was saved flawlessly.

      Steven.

       
    • Michael Snihur

      Michael Snihur - 2009-06-24

      There were no error messages posted, the process completed 100%. Hopefully in the near future I can try a restore to verify, I will update this when that happens (may not be for a few weeks). Thanks again for looking into this

       
      • Steven Shiau

        Steven Shiau - 2009-06-26

        OK, please keep us posted.

        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.