Menu

#131 lrzip restore/convert error

closed-fixed
lrzip (1)
5
2020-02-23
2020-01-13
Marek Obara
No

Hi.
My preffered compression method for images compression is lrzip. It sometimes fails during recovery but have no idea what is the reason. Last day during restore i got this error: read image_hdr error=0
So i have tried to manually decompres my 13GB archive
lrzip -d sda2.ntfs-ptcl-img.lrz.aa -o sda2.ntfs-ptcl-img
and decompression was successful so image is ok. Very often the same error occurs during conversion.
I always try to use the last alternative stable clonezilla live version, this problem looks to be general from many years.
I also tried to change default compresssion level and have noticed something suspicious in /usr/sbin/osc-sr:
IMG_CLONE_CMP="lrzip -q - $extra_lrzip_opt" <-- should be an extra "-" ?

BTW. Is there any way to put in distribution iotop? (iotop - simple top-like I/O monitor)

1 Attachments

Related

Support Requests: #131

Discussion

  • Steven Shiau

    Steven Shiau - 2020-01-26

    We have included iotop in Clonezilla live >= 2.6.5-12 or 20200114-*.
    As for lrzip, not sure if it's hardware issue? Did you test the RAM or check the temperature of CPU? Because if it's software issue, it should be always reproducible at some specific scenarios...

    Steven

     
    • Marek Obara

      Marek Obara - 2020-01-27

      Dear Steven

      Than You very much. I have already tested 20200114 :-)

      Today i have made yet another lrzip tests. Check-image-restorable on one
      image stored on samba share but I have not drawn conclusions therefore I
      think we can close this case. I will move to xz.

      ---------------------------- clonezilla-live-20200114-eoan-amd64

      1. Vbox on my laptop, Ubuntu 18.04 (installed!), restorable OK (sda1 2
        3 4) (partclone/bionic,now 0.3.11-1build1 amd64 [installed,automatic],
        clonezilla/bionic,bionic,now 3.27.16-2 all [installed],lrzip/bionic,now
        0.631-1 amd64 [installed] )
      2. Vbox on my laptop, clonezilla 20200114 (live CD), restorable OK
        (sda1 2 3 4)
      3. baremetal live CD/USB on my laptop i5-430M/8GB/hp6540b  sda2 3 4 not
        restorable

      4. baremetal live CD/USB i7-3770/4GB/GA-H77-DSH3 yumi-uefi 0.0.2.0
        (default clonezilla to ram) UEFI, sda2 3 4 not restorable

      5. baremetal live CD/USB i7-3770/4GB/GA-H77-DSH3 win-setup-from usb 1.9
        (default 800x600) BIOS, sda2 3 4 not restorable

      6. baremetal live CD/USB i7-3770/4GB/GA-H77-DSH3 Tuxboot 0.8.2, (default
        800x600) BIOS, sda2 3 4 not restorable

      7. baremetal live CD/USB i5-4570/4GB/GA-Q87M-D2H Tuxboot 0.8.2, (default
        800x600) BIOS, sda2 3 4 not restorable

      ---------------------------- clonezilla-live-2.6.5-12-amd64

      1. baremetal live CD/USB i7-3770/4GB/GA-H77-DSH3 Tuxboot 0.8.2, (default
        800x600) BIOS, sda2 3 4 not restorable (an error appeared a bit later)**

      ---------------------------- clonezilla-live-2.6.4-10-amd64

      1. baremetal live CD/USB i7-3770/4GB/GA-H77-DSH3 Tuxboot 0.8.2, (default
        800x600) BIOS,*sda2 3 4 not restorable


      BTW. Could you tak a look at this files (from 20200114):
      in osc-sr:                                IMG_CLONE_CMP="lrzip -q -
      $extra_lrzip_opt"
      in osc-cvtimg-comp:             -z7)  IMG_CLONE_CMP="lrzip -q -
      $extra_lrzip_opt";; and then  -z7|--lrzip-compress) IMG_CLONE_CMP="lrzip
      -q - $extra_lrzip_opt"; shift;;
      which produces in clonezilla-img:         /dev/sda1 --output - | lrzip
      -q
      - -*L 3 | split -a 2 -b 409600000MB -

      BTW. Is there any way to convert-compression of images stored on samba
      shares?

      Best regards
      Mark.

      W dniu 26.01.2020 o 07:10, Steven Shiau pisze:

      We have included iotop in Clonezilla live >= 2.6.5-12 or 20200114-*.
      As for lrzip, not sure if it's hardware issue? Did you test the RAM or
      check the temperature of CPU? Because if it's software issue, it
      should be always reproducible at some specific scenarios...

      Steven


      [support-requests:#131]
      https://sourceforge.net/p/clonezilla/support-requests/131/ lrzip
      restore/convert error

      Status: open
      Group: clonezilla live stable
      Labels: lrzip
      Created: Mon Jan 13, 2020 11:19 AM UTC by Marek Obara
      Last Updated: Mon Jan 13, 2020 11:19 AM UTC
      Owner: nobody
      Attachments:

      Hi.
      My preffered compression method for images compression is lrzip. It
      sometimes fails during recovery but have no idea what is the reason.
      Last day during restore i got this error: read image_hdr error=0
      So i have tried to manually decompres my 13GB archive
      lrzip -d sda2.ntfs-ptcl-img.lrz.aa -o sda2.ntfs-ptcl-img
      and decompression was successful so image is ok. Very often the same
      error occurs during conversion.
      I always try to use the last alternative stable clonezilla live
      version, this problem looks to be general from many years.
      I also tried to change default compresssion level and have noticed
      something suspicious in /usr/sbin/osc-sr:
      IMG_CLONE_CMP="lrzip -q - $extra_lrzip_opt" <-- should be an extra "-" ?

      BTW. Is there any way to put in distribution iotop? (iotop - simple
      top-like I/O monitor)


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/clonezilla/support-requests/131/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #131

  • Steven Shiau

    Steven Shiau - 2020-01-28

    "Is there any way to convert-compression of images stored on samba shares?" -> After you mount the image repository, if you run "sudo clonezilla", choose "device-image", follow the steps, you should able to see something like this:
    https://clonezilla.org/clonezilla-live/doc/02_Restore_disk_image/images/ocs-08-restoredisk.png
    The "cvt-img-compression" option is what you are looking for.

    Steven

     
    • Marek Obara

      Marek Obara - 2020-01-28

      Thank You, I know, but always got this error:
      "
      File system for /home/partimag does not support software link!
      You have to use a file system supporting software link for /home/partimag.
      Program terminated!!
      This is a broken image, because no file name "disk" or "parts" is found
      in the image dir.
      The directory for this inputted image name does NOT exist:
      /home/partimag/2020-01-28-06-img-xz
      Program terminated!!!!
      "
      As You mention in "create-ocs-tmp-img"

      By default we put the new image in /tmp, since we need a filesystem

      can be symbolic linked. Otherwise it will fail, like CD (readonly) or
      samba server (FAT does not support symbolic link)
      Samba is on Ubuntu16.04 and on Windows Server 2012 share is the same

      Best regards
      Marek

      **
      W dniu 28.01.2020 o 02:57, Steven Shiau pisze:

      "Is there any way to convert-compression of images stored on samba
      shares?" -> After you mount the image repository, if you run "sudo
      clonezilla", choose "device-image", follow the steps, you should able
      to see something like this:
      https://clonezilla.org/clonezilla-live/doc/02_Restore_disk_image/images/ocs-08-restoredisk.png
      The "cvt-img-compression" option is what you are looking for.

      Steven


      [support-requests:#131]
      https://sourceforge.net/p/clonezilla/support-requests/131/ lrzip
      restore/convert error

      Status: open
      Group: clonezilla live stable
      Labels: lrzip
      Created: Mon Jan 13, 2020 11:19 AM UTC by Marek Obara
      Last Updated: Sun Jan 26, 2020 06:10 AM UTC
      Owner: nobody
      Attachments:

      Hi.
      My preffered compression method for images compression is lrzip. It
      sometimes fails during recovery but have no idea what is the reason.
      Last day during restore i got this error: read image_hdr error=0
      So i have tried to manually decompres my 13GB archive
      lrzip -d sda2.ntfs-ptcl-img.lrz.aa -o sda2.ntfs-ptcl-img
      and decompression was successful so image is ok. Very often the same
      error occurs during conversion.
      I always try to use the last alternative stable clonezilla live
      version, this problem looks to be general from many years.
      I also tried to change default compresssion level and have noticed
      something suspicious in /usr/sbin/osc-sr:
      IMG_CLONE_CMP="lrzip -q - $extra_lrzip_opt" <-- should be an extra "-" ?

      BTW. Is there any way to put in distribution iotop? (iotop - simple
      top-like I/O monitor)


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/clonezilla/support-requests/131/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #131

  • Steven Shiau

    Steven Shiau - 2020-01-29

    OK, I finally confirmed this issue. The culprit is lrzip(0.631+git180528-1) from Debian repository. It's buggy.
    I have used the updated lrzip from its git repository (https://github.com/ckolivas/lrzip), and created newer Clonezilla live in the testing release, i.e., 2.6.5-16 and 20200129-*:
    https://clonezilla.org/downloads.php
    Please give it a try and let us know the results.

    Steven

     
    • Marek Obara

      Marek Obara - 2020-01-30

      Looks OK, I will check on more image at home.
      Thank You
      Mark

      W dniu 29.01.2020 o 13:55, Steven Shiau pisze:

      OK, I finally confirmed this issue. The culprit is
      lrzip(0.631+git180528-1) from Debian repository. It's buggy.
      I have used the updated lrzip from its git repository
      (https://github.com/ckolivas/lrzip), and created newer Clonezilla live
      in the testing release, i.e., 2.6.5-16 and 20200129-*:
      https://clonezilla.org/downloads.php
      Please give it a try and let us know the results.

      Steven


      [support-requests:#131]
      https://sourceforge.net/p/clonezilla/support-requests/131/ lrzip
      restore/convert error

      Status: open
      Group: clonezilla live stable
      Labels: lrzip
      Created: Mon Jan 13, 2020 11:19 AM UTC by Marek Obara
      Last Updated: Tue Jan 28, 2020 01:57 AM UTC
      Owner: nobody
      Attachments:

      Hi.
      My preffered compression method for images compression is lrzip. It
      sometimes fails during recovery but have no idea what is the reason.
      Last day during restore i got this error: read image_hdr error=0
      So i have tried to manually decompres my 13GB archive
      lrzip -d sda2.ntfs-ptcl-img.lrz.aa -o sda2.ntfs-ptcl-img
      and decompression was successful so image is ok. Very often the same
      error occurs during conversion.
      I always try to use the last alternative stable clonezilla live
      version, this problem looks to be general from many years.
      I also tried to change default compresssion level and have noticed
      something suspicious in /usr/sbin/osc-sr:
      IMG_CLONE_CMP="lrzip -q - $extra_lrzip_opt" <-- should be an extra "-" ?

      BTW. Is there any way to put in distribution iotop? (iotop - simple
      top-like I/O monitor)


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/clonezilla/support-requests/131/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #131

      • Marek Obara

        Marek Obara - 2020-02-12

        I have checked another "not restorable" lrzip image and with 20200129
        its finally OK
        Thank You
        Marek

        W dniu 30.01.2020 o 12:32, Marek Obara pisze:

        Looks OK, I will check on more image at home.
        Thank You
        Mark

        W dniu 29.01.2020 o 13:55, Steven Shiau pisze:

        OK, I finally confirmed this issue. The culprit is
        lrzip0.631+git180528-1) from Debian repository. It's buggy.
        I have used the updated lrzip from its git repository
        (https://github.com/ckolivas/lrzip), and created newer Clonezilla
        live
        in the testing release, i.e., 2.6.5-16 and 20200129-*:
        https://clonezilla.org/downloads.php
        Please give it a try and let us know the results.
        
        Steven
        
        ------------------------------------------------------------------------
        
        /[support-requests:#131]
        <https://sourceforge.net/p/clonezilla/support-requests/131/>
        https://sourceforge.net/p/clonezilla/support-requests/131/ lrzip
        restore/convert error/
        
        /Status:/ open
        /Group:/ clonezilla live stable
        /Labels:/ lrzip
        /Created:/ Mon Jan 13, 2020 11:19 AM UTC by Marek Obara
        /Last Updated:/ Tue Jan 28, 2020 01:57 AM UTC
        /Owner:/ nobody
        /Attachments:/
        
          * read image_hdr error.jpg
            https://sourceforge.net/p/clonezilla/support-requests/131/attachment/read%20image_hdr%20error.jpg
            (22.9 kB; image/jpeg)
        
        Hi.
        My preffered compression method for images compression is lrzip. It
        sometimes fails during recovery but have no idea what is the reason.
        Last day during restore i got this error: read image_hdr error=0
        So i have tried to manually decompres my 13GB archive
        lrzip -d sda2.ntfs-ptcl-img.lrz.aa -o sda2.ntfs-ptcl-img
        and decompression was successful so image is ok. Very often the same
        error occurs during conversion.
        I always try to use the last alternative stable clonezilla live
        version, this problem looks to be general from many years.
        I also tried to change default compresssion level and have noticed
        something suspicious in /usr/sbin/osc-sr:
        IMG_CLONE_CMP="lrzip -q - $extra_lrzip_opt" <-- should be an extra
        "-" ?
        
        BTW. Is there any way to put in distribution iotop? (iotop - simple
        top-like I/O monitor)
        
        ------------------------------------------------------------------------
        
        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/clonezilla/support-requests/131/
        
        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/
        

        [support-requests:#131]
        https://sourceforge.net/p/clonezilla/support-requests/131/ lrzip
        restore/convert error

        Status: open
        Group: clonezilla live stable
        Labels: lrzip
        Created: Mon Jan 13, 2020 11:19 AM UTC by Marek Obara
        Last Updated: Wed Jan 29, 2020 12:55 PM UTC
        Owner: nobody
        Attachments:

        Hi.
        My preffered compression method for images compression is lrzip. It
        sometimes fails during recovery but have no idea what is the reason.
        Last day during restore i got this error: read image_hdr error=0
        So i have tried to manually decompres my 13GB archive
        lrzip -d sda2.ntfs-ptcl-img.lrz.aa -o sda2.ntfs-ptcl-img
        and decompression was successful so image is ok. Very often the same
        error occurs during conversion.
        I always try to use the last alternative stable clonezilla live
        version, this problem looks to be general from many years.
        I also tried to change default compresssion level and have noticed
        something suspicious in /usr/sbin/osc-sr:
        IMG_CLONE_CMP="lrzip -q - $extra_lrzip_opt" <-- should be an extra "-" ?

        BTW. Is there any way to put in distribution iotop? (iotop - simple
        top-like I/O monitor)


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/clonezilla/support-requests/131/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Support Requests: #131

  • Steven Shiau

    Steven Shiau - 2020-02-23
    • status: open --> closed-fixed
    • assigned_to: Steven Shiau
     

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.