Menu

#20 Partclone seems to hang for 10 minutes

open-fixed
Thomas
None
5
2014-11-25
2011-11-18
No

I'm attempting to use Clonezilla Live as a means of reimaging a machine with various OSes for software testing. Because I will image often, speed is a priority. I've noticed that whenever restoring any Windows image with Partclone, the progress bar hangs at 100% for about 10 minutes. Saving images does not hang. I also don't have any save/restore problems with Linux images.

I tried the following, but it didn't help:

Applied the image through a USB HDD and a Samba share
I tried with Clonezilla Live 1.2.10-14 and 1.2.6-40 (the latter had a stable release of Partclone)
I tried the AMD64 and i486 builds
I've tried two separate computers, a roughly six year old AMD 64-bit machine and a 1-2 year old quad-core Intel machine

I've noticed that the hard drive indicator stops flickering once the progress bar hangs so I have no idea what it could be doing. Looks like I'm not the only one who's run into this either:
https://sourceforge.net/projects/clonezilla/forums/forum/394751/topic/4697206

Please let me know if any additional information would help. Clonezilla is simple to use and very reliable. If I could speed my Windows imaging, it would be perfect!

Any idea what could be going on? Thanks.

Discussion

  • Steven Shiau

    Steven Shiau - 2011-11-19

    Could you please give Clonezilla live 1.2.11-18 a try?
    It comes with newer partclone, and your problem might have been fixed.

    Steven.

     
  • Steven Shiau

    Steven Shiau - 2011-11-19
    • assigned_to: nobody --> steven_shiau
     
  • Steve Robinson

    Steve Robinson - 2011-11-21

    I tried Clonezilla Live 1.2.11-18 and the same condition exists. As a test, I made a completely empty 10 GB NTFS partition and imaged it. It paused briefly at 100%, but promptly finished. When I made a completely empty 100 GB NTFS partition and imaged it, it paused for several seconds (maybe even a minute) at 100%. Previously, I had been imaging a 1 TB partition (I just let Windows fill the whole partition) and it stayed at 100% for around 10 minutes. It seems that some sort of overhead in the imaging process is not being taken into account in the progress calculation. I no longer think something is necessarily wrong with the imaging, just how progress is represented.

    When I created a 30 GB Windows 7 partition it takes 4:40 to save and 3:48 to restore. That is perfect for my application.

    Thanks for your attention and diligence. I'm going to email the Partclone people so they can consider this feedback, but really it's not a big deal now that I understand it. Both Clonezilla and Partclone are outstanding, I'm very happy with them!

    -Steve

     
  • Steven Shiau

    Steven Shiau - 2011-11-25

    Today we fixed another issue for AMD64 version of partclone. It's released as 1.2.11-23.
    Maybe it's related to this issue. If you have a chance, please test it and let us know the results.

    Steven.

     
  • Steve Robinson

    Steve Robinson - 2011-12-12

    I tried Clonezilla Live 1.2.11-26 (with Partclone 0.2.38) and it applied an Ubuntu 11.04 image in 4:04 and a Win7 image in 13:10. This is compared to 4:05 and 13:13, respectively, with Clonezilla Live 1.2.11-18 (with Partclone 0.2.35). Keep in mind that I was pulling the image from a Windows network share that is limited by a 100 Mbps router so don't pay attention to the overall slowness. Anyway, I don't see a difference between the two versions in terms of performance. It also still pauses briefly at 100% for the Windows imaging.

     
  • Steven Shiau

    Steven Shiau - 2011-12-20
    • assigned_to: steven_shiau --> thomas_tsai
     
  • Steven Shiau

    Steven Shiau - 2011-12-20

    Based on the discussion between Thomas Tsai and me, the 100% is not so accurate. Actually it means the next step is 100%, while for the case you have seen is it's seeking to write the last data in a partition. For NTFS some part of data will be in the last part in the NTFS partition, and partclone has to find that...
    We will improve that by giving more accurate status output.

    Steven.

     
  • Steve Robinson

    Steve Robinson - 2012-01-03

    Good to hear. Thanks and happy new year!

     
  • Steven Shiau

    Steven Shiau - 2012-01-03

    So did you give Clonezilla live 1.2.11-40 a try?
    This issue has been fixed.
    We need you to confirm that.
    Thanks.

    Steven.

     
  • Steve Robinson

    Steve Robinson - 2012-01-03

    I just tried it and the separate Data Block and Total Block progress bars do give good feedback. When it's restoring the data blocks, both bars show consistent progress. When the data blocks have been restored, the data progress bar stays near 100% (I think it was 99%) and the total block bar steadily increased. When it hit 100% so did the data block bar and the process was complete.

    The two progress bars might be providing more information than the user needs and it may cause confusion. Does the program already know how many blocks have data in them before imaging starts? If so, you could weigh progress based on whether it wrote a data block or blank block.

    For example, lets say there are four blocks and two have data in them. Let's say it takes four times longer to write a data block than an empty block. Here's how the progress would be listed:

    After writing data block 1: 40%
    After writing data block 2: 80%
    After writing empty block 1: 90%
    After writing empty block 2: 100%

    If enough information isn't readily available, I recommend keeping the progress bars as-is, since you wouldn't want the imaging process to slow down.

    Anyway, thanks for the great work on this tool!

     
  • Steven Shiau

    Steven Shiau - 2012-01-11

    Thanks for the suggestion. So far we decided to keep what it is now, but we will definitely improve partclone frequently.

    Steven.

     
  • Steven Shiau

    Steven Shiau - 2012-01-11
    • status: open --> open-fixed
     
  • Martin McCabe

    Martin McCabe - 2014-11-19

    This is the only place I could find that was addressing this problem so this is a shot in the dark.I have a question related to same query above but wondering whether this is right place to ask as most of the threads here presume professional/proficiencies in unix, etc.

    Using Clonezilla live 2.2.4-12, I am copying one 3Tb hard drive to 3Tb another as it was failing and crashed in my Synology. It is inaccessible in the Synology as it was one drive of a RAID 0 2 drive setup. So I have put the disc and the target in JBOD enclosure for the purpose. Because I am Mac user and the crashed disc is formatted ext4 I reckon this was my only option.

    Partclone v0.2.73 has been running for 26+ hours with good progress but the Data Block Process is apparently stuck at 99.9% on the bar and has been like that for 7 hours + with literally 6 - 9 seconds left on the countdown (it keeps changing). Yet by all figures, the Total Block Process (now at 50% even though the DBP stuck around 33%), the Current Block, the rate, etc has been progressing/active.

    I read in another thread about the 'file system integrity' might be an issue in the hanging but again, I have little or no expertise in this and it seems to apply to Windows. I am essentially trying to rescue a crashed disc so anything is retrievable, I would be very happy.

    So I am asking should I just 'sit tight' and allow it to complete and see where I am then.

    It doesn't seem to be failing to do what its supposed to, drives are spinning, stats, progress, etc. just the hanging of the DBP

    Any suggestions gratefully accepted,

    M

     
  • Steven Shiau

    Steven Shiau - 2014-11-25

    "Using Clonezilla live 2.2.4-12," -> AMD64 version? Or?

    Steven.

     
  • Martin McCabe

    Martin McCabe - 2014-11-25

    Steve, that might explain the issue.

    I am a Mac user but got a Win laptop to do this (the failing and target disk were in an enclosure) and my choice of release might not have matched up with the hardware I was using. It was an intel processor I recall. Eitherway after 52 hours, it completed without a hitch so that was a success so many thanks for your work and effort.

    So next time, I should check the release before making the live disk to match the hardware I am using to it.

    thanks again

    Martin

     

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.