Results 1 to 3 of 3

Thread: dd is VERY slow for Knoppix - HELP !!!!!

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    1

    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

  2. #2
    Member registered user
    Join Date
    Jan 2005
    Posts
    71
    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

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: dd is VERY slow for Knoppix - HELP !!!!!

    ' man partimage '

    --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 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

  1. Knoppix 4.0 Running Slow.
    By LiLdEmOnDoG in forum General Support
    Replies: 3
    Last Post: 12-19-2005, 06:32 AM
  2. Why Knoppix 3.9 is so slow???
    By ismxray in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 08-19-2005, 10:03 PM
  3. Slow Knoppix
    By Gringorious in forum General Support
    Replies: 2
    Last Post: 08-03-2005, 01:16 AM
  4. Knoppix dvd and slow computer
    By RickyJaff in forum Knoppix DVD
    Replies: 2
    Last Post: 11-19-2003, 01:24 PM
  5. Knoppix 3.2 - KDE very slow on startup
    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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



2 -IBM  16GB 2GX72 00VK248  CDIMM Server Memory DDR4 LOT OF 2 32GB TOTAL picture

2 -IBM 16GB 2GX72 00VK248 CDIMM Server Memory DDR4 LOT OF 2 32GB TOTAL

$79.95



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM System x3755 M3 2U Rackmount Server – No Drives or Trays picture

IBM System x3755 M3 2U Rackmount Server – No Drives or Trays

$150.00