-
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
![Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture](/store/img/g/W38AAOSwtcVjVC0Z/s-l225/Dell-PowerEdge-R730-2x-E5-2699V3-2-3Ghz-36-Core-12.jpg)
Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W
$329.99
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/g/vx0AAOSwvwFlExVY/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
![Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture](/store/img/g/GAcAAOSw9Q1mGSZW/s-l225/Dell-Poweredge-R630-Server-2x-E5-2620-V4-16-Cores-.jpg)
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
![Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture](/store/img/g/CdkAAOSwY0BmYMoF/s-l225/Dell-Poweredge-R730xd-LFF-14-Bay-2U-Server-Choose-.jpg)
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/g/ZD0AAOSwm41mOZYw/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible picture](/store/img/g/JDMAAOSwC91mR849/s-l225/Supermicro-Server-505-2-Intel-2-4GHz-16GB-SYS-5018.jpg)
Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible
$220.48
![1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture](/store/img/g/7KoAAOSwephiKTf4/s-l225/1U-Supermicro-Server-10-Bay-2x-Intel-Xeon-3-3Ghz-8.jpg)
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00
![Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD  picture](/store/img/g/yAwAAOSwdyNlgQ8d/s-l225/Dell-PowerEdge-R720xd-26HDD-300gb-2-5-inch-E5-2697.jpg)
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
![Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM picture](/store/img/g/Je8AAOSwIcdmTgJF/s-l225/Cisco-UCS-C240-M4-2U-Server-w-2x-E5-2680v4-NO-RAM.jpg)
Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM
$49.99
![1U Server ( 4x VM's ) Hosting VPS Short Depth 20](/store/img/g/mY0AAOSwFDNhGq7d/s-l225/1U-Server-4x-VM-s-Hosting-VPS-Short-Depth-20-1U-Xe.jpg)
1U Server ( 4x VM's ) Hosting VPS Short Depth 20" 1U Xeon 3.5Ghz 16GB X10SLM-F
$149.00