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
  •  


Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W

$3180.00



Dell XC630 Server 3.00Ghz 8-Core 128GB 2x 800GB SAS SSD 12G 8x NEW 2TB SSD H730P picture

Dell XC630 Server 3.00Ghz 8-Core 128GB 2x 800GB SAS SSD 12G 8x NEW 2TB SSD H730P

$2598.15



Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1732.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1 picture

Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1

$300.00



ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce picture

ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce

$687.99