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
  •  


Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E picture

Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E

$55.99



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



Cisco 24-Port Managed Gigabit Switch WS-C3750G-24TS-S picture

Cisco 24-Port Managed Gigabit Switch WS-C3750G-24TS-S

$49.99



Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty picture

Cisco IE-3000-8TC Industrial Ethernet 8 Ports Managed Switch 1 Year Warranty

$114.00



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



NETGEAR GS308 8 Gigabit Port Unmanaged Ethernet Switch with Power Cord picture

NETGEAR GS308 8 Gigabit Port Unmanaged Ethernet Switch with Power Cord

$12.95



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch picture

Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch

$100.95



Netgear Prosafe Plus JGS524PE 24 Port Gigabit Switch 12 Port PoE JGS524PE-100NAS picture

Netgear Prosafe Plus JGS524PE 24 Port Gigabit Switch 12 Port PoE JGS524PE-100NAS

$129.98