Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partclone quiet option #42

Closed
techathan opened this issue Oct 17, 2013 · 2 comments
Closed

partclone quiet option #42

techathan opened this issue Oct 17, 2013 · 2 comments

Comments

@techathan
Copy link

hi

i experiencing the following issue

i use partclone as backup solution from an lvm snapshot.
when i create an image using partclone like the following

partclone.ext3 -c -s /dev/hda1 -o hda1.img
the remaining time for creating the .img file is about 3 minutes

as soon as i want to use the quiet option

partclone.ext3 -c -q -s /dev/hda1 -o hda1.img

the remaining time becomes over 2hours

when i try to pass the whole through gzip

partclone.ext4 -c -q -s /dev/SERVEUR/system_snap | gzip -5 > /home/system_rescue/system_snap.img.gz

it seems to be a never ending process.

be aware thet without "-q" option partclone with gzip takes about 5 minutes.

also the quiet option makes the partclone logfile too big for beeing readable and freezes the session.

am i doing some thing wrong ? is there a work around.

Kind regards, athan

@Thomas-Tsai
Copy link
Owner

hi,

thank you for this report, i will give a try recently.
what's your version of partclone?

@Thomas-Tsai
Copy link
Owner

Hi,

I can't reproduce this issue
there is my log:

A:clone sdb1 to image without quiet, Total Time: 00:00:42
B:clone sdb1 to image with quiet, Total Time: 00:00:40
C:clone sdb1 to pipe with quiet , Total Time: 00:00:18

A:
thomas@ptldev:~/partclone/tests$ sudo time ../src/partclone.extfs -c -s /dev/sdb1 -o /test/target/sdb1.img
Partclone v0.2.67 http://partclone.org
Starting to clone device (/dev/sdb1) to image (/test/target/sdb1.img)
Reading Super Block
Elapsed: 00:00:18, Remaining: 00:00:00, Completed: 100.00%
Total Time: 00:00:18, 100.00% completed!
done!
File system: EXTFS
Device size: 292.0 GB = 71288576 Blocks
Space in use: 4.7 GB = 1156578 Blocks
Free Space: 287.3 GB = 70131998 Blocks
Block size: 4096 Byte
Elapsed: 00:00:42, Remaining: 00:00:00, Completed: 100.00%, Rate: 6.77GB/min,
current block: 71270914, total block: 71288576, Complete: 100.00%
Total Time: 00:00:42, Ave. Rate: 6.8GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sdb1) to the image (/test/target/sdb1.img)
Cloned successfully.

B:
thomas@ptldev:~/partclone/tests$ sudo time ../src/partclone.extfs -q -c -s /dev/sdb1 -O /test/target/sdb1.img
Partclone v0.2.67 http://partclone.org
Starting to clone device (/dev/sdb1) to image (/test/target/sdb1.img)
Reading Super Block
Elapsed: 00:00:18, Remaining: 00:00:00, Completed: 100.00%
Total Time: 00:00:18, 100.00% completed!
done!
File system: EXTFS
Device size: 292.0 GB = 71288576 Blocks
Space in use: 4.7 GB = 1156578 Blocks
Free Space: 287.3 GB = 70131998 Blocks
Block size: 4096 Byte
Elapsed: 00:00:40, Remaining: 00:00:00, Completed: 100.00%, Rate: 7.11GB/min,
current block: 71270914, total block: 71288576, Complete: 100.00%
Total Time: 00:00:40, Ave. Rate: 7.1GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sdb1) to the image (/test/target/sdb1.img)
Cloned successfully.

C:
thomas@ptldev:~/partclone/tests$ sudo time ../src/partclone.extfs -q -c -s /dev/sdb1 | gzip -5 /test/target/sdb1.img.gz
gzip: /test/target/sdb1.img.gz: No such file or directory
Partclone v0.2.67 http://partclone.org
Starting to clone device (/dev/sdb1) to image (-)
Reading Super Block
Elapsed: 00:00:18, Remaining: 00:00:00, Completed: 100.00%
Total Time: 00:00:18, 100.00% completed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants