I backup up a 500GB win8.1 disk (containing one single ntfs partition) with clonezille live in with standard options to a USB drive. Computer is a AMD Phenom II X4 on AsRock 970 Extreme4 mb with 16GB. At backup time drive was "sbd".
When I recover image to disk it works very fast (3 GiB/m) up to 85 %. Then speed gragedualy drops to (200 MiB/m). It took about 30 hours to complete -- but when it does it says something like "pigz: extra garbage content was discarded". Then it is stuck. HDD light stays on.
When I quit the recover with "*" it is stuck as well. Generated recovery command is
ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk 2015-04-08-23-imb sdb
The recovered target drive is not usable. (lots of ntfs errors)
What might be interesting: I have to add an "extra drive" as hardware to make the drive I want to restore to "sdb". If the drive is the only drive clonezilla makes some extra steps (create temporary image) to recover "sdb" to "sda" -- and fails with recovering 0 bytes and saying it has finished.
I really relied on that clonezilla image so I'd be glad if someone could help. Anything I can do at the command line?
Regards,
George
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Retried with a different computer - same result! Speed is okay then gradually drops to 200 MiB. The partimage.log is 1 GiB in size! Looks like 1 entry for every block. Maybe the problem is just caused by excessive logging?
Please advise ...
George
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So why you are still using Partimage instead of the default program partclone?
Partimage is deprecated and it's not developed any more. That's why we have partclone and it's the default imaging engine in Clonzilla. You should use it instead of Partimage, i.e. use the option "-q2" when saving an image, as shown like this: http://clonezilla.org/clonezilla-live/doc/01_Save_disk_image/images/ocs-10-img-save-command-prompt.png
Steven.
Last edit: Steven Shiau 2015-05-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's interesting. Well, I just followed the guided steps (wizard) to back up the hard drive. I do not remember making an explicit choice against partclone. I just took the defaults.
For the next time I will surely follow your advise. However, now I'd be very thankful for any kind of support to get my hard drive recovered. I'll try later without debugging and see if that changes the behaviour. Any other advise?
Regards,
George
Last edit: MrG 2015-05-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey,
I backup up a 500GB win8.1 disk (containing one single ntfs partition) with clonezille live in with standard options to a USB drive. Computer is a AMD Phenom II X4 on AsRock 970 Extreme4 mb with 16GB. At backup time drive was "sbd".
When I recover image to disk it works very fast (3 GiB/m) up to 85 %. Then speed gragedualy drops to (200 MiB/m). It took about 30 hours to complete -- but when it does it says something like "pigz: extra garbage content was discarded". Then it is stuck. HDD light stays on.
When I quit the recover with "*" it is stuck as well. Generated recovery command is
ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk 2015-04-08-23-imb sdb
The recovered target drive is not usable. (lots of ntfs errors)
What might be interesting: I have to add an "extra drive" as hardware to make the drive I want to restore to "sdb". If the drive is the only drive clonezilla makes some extra steps (create temporary image) to recover "sdb" to "sda" -- and fails with recovering 0 bytes and saying it has finished.
I really relied on that clonezilla image so I'd be glad if someone could help. Anything I can do at the command line?
Regards,
George
Retried with a different computer - same result! Speed is okay then gradually drops to 200 MiB. The partimage.log is 1 GiB in size! Looks like 1 entry for every block. Maybe the problem is just caused by excessive logging?
Please advise ...
George
Here is the content of partimage-debug.log. I hope that gives a clue why the restore speed drops and I am unable to recover the partition...
The command in clonezilla was (afaik):
( for img in /home/partimag/2015-04-08-23-img/sdb1.*; do
cat
done
) | pigz -d -c | partimage -M -f3 -b --debug=1 -B gui=no -o -d restore /dev/sdb1 stdin | tee --append /var/log/clonezilla.log
Regards,
George
partimage-debug.log
[Main] main.cpp->main#381: /var/log/partimage/partimage-debug.log: Partition Image version 0.6.8 (DebugLevel 1 used, MainThread=7135)
[Main] main.cpp->main#383: =======================================================================================
[Main] main.cpp->main#386: ==== Partition Image: compilation options used ====
Version is 0.6.8 [4.8.2].
Supported file systems:
Ext2fs support: internal code
Debug options:
DEFAULT_DEBUG_LEVEL=1
Other options:
[Main] main.cpp->main#468: ENDIANESS=ENDIAN_LITTLE
[Main] main.cpp->main#623: action=RESTORE
[Main] imagefile.cpp->openReading#999: begin (stdin)
[Main] imagefile.cpp->openReading#1046: LEVEL [stdin]=0
[Main] image_disk.cpp->openReading#385: ALREADY=0
[Main] image_disk.cpp->openReading#443: stdin opened for reading
[Main] imagefile.cpp->openReading#1086: PTHREAD_CREATE before
[Main] imagefile.cpp->openReading#1088: PTHREAD_CREATE after
[Main] imagefile.cpp->openReading#1097: no comp open
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 14336
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 28672
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 43008
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 57344
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 71680
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 86016
[Main] misc.cpp->showDebugOptions#1252:
============= begin OPTIONS =====================
options.bOverwrite = 1
options.qwSplitSize = 2136746229
options.bEraseWithNull = 0
options.dwCompression = 498216206337
options.bCheckBeforeSaving = 1
options.bFailIfMounted = 1
options.bAskDesc = 0
options.dwFinish = 140265041952771
options.szServerName =
options.dwServerPort = 4025
options.bBatchMode = 1
options.bSplitWait = 0
options.bSync = 1
options.bMustLogin = 1
options.bUseSSL = 1
options.dwDebugLevel = 1
options.bBackupMBR = 0
options.bSimulateMode = 0
options.szAutoMount =
options.szFullyBatchMode = gui
============= end OPTIONS =====================
[Main] fs_base.cpp->CFSBase#37: qwPartSize=500105740288=976769024 * 512
[Main] misc.cpp->restorePartition#1031: begin of virtual saveToImage()
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 100352
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 114688
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 129024
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 143360
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 157696
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 172032
[...]
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 212573605888
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 212573620224
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 212573634560
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 212573648896
[Main] image_disk.cpp->read#254: cid: 14336 ; m_qwTotal = 212573663232
[Main] image_disk.cpp
Last edit: MrG 2015-05-12
So why you are still using Partimage instead of the default program partclone?
Partimage is deprecated and it's not developed any more. That's why we have partclone and it's the default imaging engine in Clonzilla. You should use it instead of Partimage, i.e. use the option "-q2" when saving an image, as shown like this:
http://clonezilla.org/clonezilla-live/doc/01_Save_disk_image/images/ocs-10-img-save-command-prompt.png
Steven.
Last edit: Steven Shiau 2015-05-12
That's interesting. Well, I just followed the guided steps (wizard) to back up the hard drive. I do not remember making an explicit choice against partclone. I just took the defaults.
For the next time I will surely follow your advise. However, now I'd be very thankful for any kind of support to get my hard drive recovered. I'll try later without debugging and see if that changes the behaviour. Any other advise?
Regards,
George
Last edit: MrG 2015-05-12
Can you please tell where the "--debug=1" option is inserted into the generated command:
( for img in /home/partimag/2015-04-08-23-img/sdb1.*; do
cat
done
) | pigz -d -c | partimage -M -f3 -b --debug=1 -B gui=no -o -d restore /dev/sdb1 stdin | tee --append /var/log/clonezilla.log
Or maybe I could just dump the "| tee --append /var/log/clonezilla.log" part altogether? Please help.
Regards,
George
Yes, I believe you can add "--debug=1" by that way.
Good luck.
Steven.