Results 1 to 7 of 7

Thread: hdd to hdd copy very slow. (udma (+cable) and below 1mb/s!!)

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    4

    hdd to hdd copy very slow. (udma (+cable) and below 1mb/s!!)

    hi,
    i want to, well, i must copy about 50gb form a hardrive to another. i copy with about 2mb/s, but there are often breaks so its mainly BELOW 1mb/s.

    50gb with 1mb/s, calculate yourself how long it would take. and this is not just one single forlder, so i have to comde back every now and then.

    i have udma drives connected with an udma cable. i also used 'hdparm -d1 /dev/hd[a-b]' but copying is still slow.

    also theres xcopy missing on my winbootdisk, so i dont know how else to copy the data.
    please help me!

    greeting,
    Mad

  2. #2
    Junior Member
    Join Date
    Mar 2003
    Posts
    4
    my cd-rom is working like hell, i suppose its because i'm running knoppix from cd. but i cant install it, i cant make new partitions on my drive. oh god, is there no other way? why is knoppix using the cd like crazy when i copy data?

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by -SPM-Mad
    my cd-rom is working like hell, i suppose its because i'm running knoppix from cd. but i cant install it, i cant make new partitions on my drive. oh god, is there no other way? why is knoppix using the cd like crazy when i copy data?
    Hm, are you sure, that you use plain "cp" and not other fancy tools like KDE or mc ?

    Because cp itself is very fast and will not once (if started once) spin up the cd! (At least on my system Cebit-Edition of Knoppix, so around 2003-03-21)

    cu

    Fabian

  4. #4
    Junior Member
    Join Date
    Mar 2003
    Posts
    4
    yeah, i'm using the kde.

    hey, this is my first time using linux. how do i use the cp?

  5. #5
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    -SPM-Mad,

    As far as your ide throughtput, look in dmesg for your current ide settings, from a terminal (konsole, xterm, ...) or console use this command:

    dmesg | grep ide:

    my old systems say this:

    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

    post back if you get this message and tell us what udma support you have, udma66, udma 100, we could tell you how to experiment with your udma settings.

    Also post the output of hdparm /dev/hda (you 'll have to be root)

    as far as copying the files with the linux cp command, open a console window and use " su - " to log in as root, then use the cp command as follows:

    cp -Rp *path-to-source *path-to-destination

    what this does is copy from the source to the destination similar to xcopy in DOS, the -Rp flags which mean: -R - copy recursively (enter sub-directories) and -p - keep permissions (file ownership) intact, you could use -R -p or you can put them together as -Rp.

    HTH

    rock

  6. #6
    Junior Member
    Join Date
    Mar 2003
    Posts
    4
    well, i read in the docs how to tweak the hard drive. but i think thats not the problem. when i tested my drives with hdparm -Tt i got stats like 25mb/s.

    and yeah, he also says
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

    i have a brand new 7200rmp drive and an older 7200er, connected with an ultra ata cable. i think they both support udma100 (cant find the manual atm) but i'm sure the can read/write more then 2mb/s.


    when i copy files in the kde with konqueror it first displays ~10mb/s, and then it gets slower and it often 'freezes' for a few ms.
    it then shows (in my german version) 'verzögern'. in the english version this could be something like 'retard' or whatever. and after a few MBs the speed is somtimes 10kb/s or 2mb/s.

    well, i tried the cp command, but whats the placeholder for everything in linux?
    cp -Rr /mnt/hda6/ /mnt/hdb7/h/ or
    cp -Rr /mnt/hda6/* /mnt/hdb7/h/* dose not work

    oh, btw: sorry for my poor english

  7. #7
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    well, i tried the cp command, but whats the placeholder for everything in linux?
    cp -Rr /mnt/hda6/ /mnt/hdb7/h/ or
    cp -Rr /mnt/hda6/* /mnt/hdb7/h/* does not work
    What filesystem is on your hard drives?

    If you wanted to copy all of the /mnt/hda6 directory to the h directory on /mnt/hda7 if both devices are mounted, running as root you should be able to use:

    cp -Rp /mnt/hda6 /mnt/hdb7/h

    Note: it's -Rp
    not -Rr

    For example if I want to copy my pictures from my linux storage partition /mnt/hda9/pics to /mnt/hda1/temp, my windows partition what I would do is:

    cp -Rp /mnt/hda9/pics /mnt/hda1/temp

    I do get an error doing this copy (error: changing permissions) because /mnt/hda9 is an ext3 linux filesystem, but /mnt/hda1 is fat32, but the files are in fact copied to my windows partition.

    Also regarding your udma drives, it's not the drives, it's your mobo ide controller that will determine what udma mode your system will support.

    why don't you boot to your cd and add this "cheat code" and see what happens, boot up with:

    knoppix idebus=66 [plus any other necessary cheat codes]

    then do a:
    hdparm -t /dev/hda
    and grep dmesg for ide again
    dmesg | grep ide:

    HTH

    rock

Similar Threads

  1. toram copy to ram very slow with 2.6 kernel
    By smorty in forum General Support
    Replies: 1
    Last Post: 10-16-2004, 07:52 PM
  2. Permanently enabling UDMA at boot via startup script
    By briansz in forum Hardware & Booting
    Replies: 3
    Last Post: 06-18-2004, 07:55 PM
  3. Apt-get stalls on cable cable connection
    By vesselinpeev in forum Networking
    Replies: 6
    Last Post: 09-29-2003, 05:32 AM
  4. How to copy the repertory /dev/*, can I copy nodes???
    By gadave in forum Customising & Remastering
    Replies: 2
    Last Post: 07-08-2003, 09:45 AM
  5. cant use cable internet
    By hpy7871 in forum Hardware & Booting
    Replies: 4
    Last Post: 05-03-2003, 08:18 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
  •  


HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD picture

HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD

$339.00



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2612.18



Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730 picture

Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730

$349.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$353.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00