-
dd is VERY slow for Knoppix - HELP !!!!!
Hello,
I am trying to use Knoopix dd to backup a partition to an image file (simulate GHOST.exe to backup my partition). It takes about 2 hours and also exceeds 2GB limit even I use gzip and unix pipe line | . Please see my command as follows :
1) dd if=/dev/hda1 bs=10M | gzip -9 | dd of=/mnt/hda5/drivec.zip bs=10M
{ hda1 is FAT; hda5 is linux ext2 partition }
2) I cannot use mknod (tried to use unix piped line) :
mknod drivec.imp p (it gives an error : Applet NOT found)
Questions : Can anyone help !!!! :
1) How can I improve the method (I used ghost.exe under DOS - it takes only 10min) ?
2) How can I solve the problem for mknod ?
3) /mnt/hda1 is 5GB, but the system occupies 3.5GB ony - how can I use dd or other commands to skip unused data to speed up the backup process ?
Regards,
Bruce
-
Hi,
guessing in the wild:
* 10M surely isn't an optimal block size for running gzip; try feeding smaller blocks (try 1M or even smaller)
* gzip -9 compresses good but is slow; try running without parameter
* you should also adjust the block size of the output command - your HD surely doesn't use blocks of 10M
On the mknod command: from the error message it doesn't seem to be produced from any mknod program
I know of
- what does type mknod say?
On your third remark: you are trying to back up a whole partition including all unused (and ever used) blocks;
you can't expect dd to distinguish between used and unused blocks. And there's also no guarantee that
the unused block contain no data (and thus are compressable to next to nothing). My advice would be to use
a "real" backup program - for the start even "tar" might be appropriate.
Last remark: your output data extension is ".zip"; not that it's important, but more appropriate would be ".gz" -
don't expect any ZIP program to be able to open your backup data file.
Ciao,
Thomas
-
Senior Member
registered user
Re: dd is VERY slow for Knoppix - HELP !!!!!
' man partimage ' ![Wink](images/smilies/icon_wink.gif)
--Also: try this corrected commandline:
' hdparm -c1 -d1 /dev/hda ' == Turn on DMA and 32-bit
' time dd if=/dev/hda1 bs=10M |gzip -9 > /mnt/hda5/drivec-backup-20050314.gz '
--I dunno what you're trying to do with mknod; that's only for making device(s) manually.
![Quote](images/misc/quote_icon.png)
Originally Posted by
bruceleung
Hello,
I am trying to use Knoopix dd to backup a partition to an image file (simulate GHOST.exe to backup my partition). It takes about 2 hours and also exceeds 2GB limit even I use gzip and unix pipe line | . Please see my command as follows :
1) dd if=/dev/hda1 bs=10M | gzip -9 | dd of=/mnt/hda5/drivec.zip bs=10M
{ hda1 is FAT; hda5 is linux ext2 partition }
2) I cannot use mknod (tried to use unix piped line) :
mknod drivec.imp p (it gives an error : Applet NOT found)
Questions : Can anyone help !!!! :
1) How can I improve the method (I used ghost.exe under DOS - it takes only 10min) ?
2) How can I solve the problem for mknod ?
3) /mnt/hda1 is 5GB, but the system occupies 3.5GB ony - how can I use dd or other commands to skip unused data to speed up the backup process ?
Regards,
Bruce
Similar Threads
-
By LiLdEmOnDoG in forum General Support
Replies: 3
Last Post: 12-19-2005, 06:32 AM
-
By ismxray in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-19-2005, 10:03 PM
-
By Gringorious in forum General Support
Replies: 2
Last Post: 08-03-2005, 01:16 AM
-
By RickyJaff in forum Knoppix DVD
Replies: 2
Last Post: 11-19-2003, 01:24 PM
-
By ool in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 03-28-2003, 07:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Samsung 16GB 1Rx8 DDR5 5600MHz EC8 RDIMM PC5-44800 Memory RAM (M321R2GA3PB0-CWM) picture](/store/img/g/hTkAAOSwFb5mIuVF/s-l225/Samsung-16GB-1Rx8-DDR5-5600MHz-EC8-RDIMM-PC5-44800.jpg)
Samsung 16GB 1Rx8 DDR5 5600MHz EC8 RDIMM PC5-44800 Memory RAM (M321R2GA3PB0-CWM)
$99.99
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture](/store/img/g/tmAAAOSwxu1mDNSQ/s-l225/8GB-PC3L-12800S-1600MHz-SODIMM-DDR3-RAM-Grade-A.jpg)
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
![Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture](/store/img/g/uPEAAOSw0-1mBgnN/s-l225/Team-T-FORCE-VULCAN-Z-16GB-2-x-8GB-288-Pin-PC-RAM-.jpg)
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$33.99
![HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture](/store/img/g/XNYAAOSwg81kv6CG/s-l225/HyperX-FURY-DDR3-8GB-16GB-32GB-1600-MHz-PC3-12800-.jpg)
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$15.90
![Samsung 8GB (2 x 4GB) DDR3L 1600 MHz PC3L-12800 SODIMM RAM picture](/store/img/g/bXkAAOSwOWtmhAob/s-l225/Samsung-8GB-2-x-4GB-DDR3L-1600-MHz-PC3L-12800-SODI.jpg)
Samsung 8GB (2 x 4GB) DDR3L 1600 MHz PC3L-12800 SODIMM RAM
$8.46
![LOT OF 50.MIXED BRAND LOT OF 4GB-PC3-1600 PC RAM - SORTED BY BRAND - GOOD CHIP picture](/store/img/g/eC8AAOSwLFRlFz2i/s-l225/LOT-OF-50-MIXED-BRAND-LOT-OF-4GB-PC3-1600-PC-RAM-S.jpg)
LOT OF 50.MIXED BRAND LOT OF 4GB-PC3-1600 PC RAM - SORTED BY BRAND - GOOD CHIP
$65.53
![CORSAIR Vengeance LPX 16GB Desktop RAM DDR4 3600 (PC4 28800) 288-Pin (High-end) picture](/store/img/g/0oUAAOSwZxNmg56K/s-l225/CORSAIR-Vengeance-LPX-16GB-Desktop-RAM-DDR4-3600-P.jpg)
CORSAIR Vengeance LPX 16GB Desktop RAM DDR4 3600 (PC4 28800) 288-Pin (High-end)
$61.00