copying to external HDD stuck (too slow)

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
nooblinx
Level 2
Level 2
Posts: 67
Joined: Sat Jul 03, 2021 4:13 am

copying to external HDD stuck (too slow)

Post by nooblinx »

I have an external hdd (ADATA HV620S) I used for backup large files (more than 20GB file size) in windows.
now, I am switching to linux. my problem is that copying these large files not working.
copying speed goes from 30MB to less than 2MB after 1GB transfer. (I have USB2 not USB3)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
still noob in linux :~$ echo "my english is not good"
User avatar
Boca
Level 5
Level 5
Posts: 691
Joined: Sun Feb 15, 2015 5:02 am

Re: copying to external HDD stuck (too slow)

Post by Boca »

How are you copying the files?

Tony

PS please include your system info ( as outlined in viewtopic.php?f=90&t=318644) so other, more knowledgeable, can see if there is a system issue.
User avatar
nooblinx
Level 2
Level 2
Posts: 67
Joined: Sat Jul 03, 2021 4:13 am

Re: copying to external HDD stuck (too slow)

Post by nooblinx »

Boca wrote: Sat Jul 03, 2021 5:08 am How are you copying the files?

Tony

PS please include your system info ( as outlined in viewtopic.php?f=90&t=318644) so other, more knowledgeable, can see if there is a system issue.
I tried Nemo's copy paste, also midnight commander and cp. mc and nemo show me a drop to 1MB per second speed after 1GB transfer of a 20GB file. cp stuck for hours.

Code: Select all

System:    Kernel: 5.4.0-58-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASRock model: H55M-GE serial: <filter> BIOS: American Megatrends 
           v: P1.30 date: 08/10/2010 
CPU:       Topology: Dual Core model: Intel Core i3 530 bits: 64 type: MT MCP arch: Nehalem rev: 2 
           L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23559 
           Speed: 2460 MHz min/max: 1200/2933 MHz Core speeds (MHz): 1: 2298 2: 2891 3: 2132 
           4: 2754 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI driver: nvidia 
           v: 460.73.01 bus ID: 04:00.0 chip ID: 10de:128b 
           Display: x11 server: X.Org 1.20.9 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa resolution: 1440x900~60Hz 
           OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01 direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: ASRock 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:3b56 
           Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Micro-Star MSI driver: snd_hda_intel 
           v: kernel bus ID: 04:00.1 chip ID: 10de:0e0f 
           Sound Server: ALSA v: k5.4.0-58-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock 
           driver: r8169 v: kernel port: d800 bus ID: 01:00.0 chip ID: 10ec:8168 
           IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           IF-ID-1: vboxnet0 state: up speed: 10 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 3.18 TiB used: 1.02 TiB (31.9%) 
           ID-1: /dev/sda vendor: Samsung model: HD502HI size: 465.76 GiB speed: 3.0 Gb/s 
           serial: <filter> 
           ID-2: /dev/sdb vendor: Toshiba model: DT01ACA100 size: 931.51 GiB speed: <unknown> 
           serial: <filter> 
           ID-3: /dev/sdc type: USB vendor: Seagate model: ST31000528AS size: 931.51 GiB 
           serial: <filter> 
           ID-4: /dev/sdd type: USB vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB 
           serial: <filter> 
Partition: ID-1: / size: 140.23 GiB used: 56.16 GiB (40.0%) fs: ext4 dev: /dev/sda7 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
           chip ID: 8087:0020 
           Device-1: 1-1.6:4 info: A-DATA type: Mass Storage driver: uas rev: 2.1 
           chip ID: 125f:a64a 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
           chip ID: 8087:0020 
           Device-2: 2-1.2:3 info: Seagate RSS LLC FreeAgent Desk 1TB type: Mass Storage 
           driver: usb-storage rev: 2.0 chip ID: 0bc2:3008 
           Device-3: 2-1.6:4 info: Microsoft Basic Optical Mouse v2.0 type: Mouse 
           driver: hid-generic,usbhid rev: 1.1 chip ID: 045e:00cb 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A gpu: nvidia temp: 47 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 50% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/anydesk-stable.list 
           1: deb http: //deb.anydesk.com/ all main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https: //brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/ethereum-ethereum-focal.list 
           1: deb http: //ppa.launchpad.net/ethereum/ethereum/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/fengestad-stable-focal.list 
           1: deb http: //ppa.launchpad.net/fengestad/stable/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/gezakovacs/ppa/ubuntu focal main
           No active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
           Active apt repos in: /etc/apt/sources.list.d/iconnor-zoneminder-1_34-focal.list 
           1: deb http: //ppa.launchpad.net/iconnor/zoneminder-1.34/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/maarten-fonville-android-studio-focal.list 
           1: deb http: //ppa.launchpad.net/maarten-fonville/android-studio/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/micahflee-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/micahflee/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //mirrors.evowise.com/linuxmint/packages ulyssa main upstream import backport
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/openshot_developers-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/openshot.developers/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/rock-core-qt4-focal.list 
           1: deb http: //ppa.launchpad.net/rock-core/qt4/ubuntu focal main
           No active apt repos in: /etc/apt/sources.list.d/scootersoftware.list 
           Active apt repos in: /etc/apt/sources.list.d/stebbins-handbrake-releases-focal.list 
           1: deb http: //ppa.launchpad.net/stebbins/handbrake-releases/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
           Active apt repos in: /etc/apt/sources.list.d/zinglau-obfuscated-openssh-focal.list 
           1: deb http: //ppa.launchpad.net/zinglau/obfuscated-openssh/ubuntu focal main
Info:      Processes: 255 Uptime: 3h 58m Memory: 7.76 GiB used: 3.74 GiB (48.1%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 8/9 Client: Unknown python3.8 client 
           inxi: 3.0.38 
still noob in linux :~$ echo "my english is not good"
User avatar
Boca
Level 5
Level 5
Posts: 691
Joined: Sun Feb 15, 2015 5:02 am

Re: copying to external HDD stuck (too slow)

Post by Boca »

Consider using rsync which is usually faster than cp.


I use

Code: Select all

tony@tony-ThinkPad-X250:~$ rsync -ruv SourceLocation/ BackupLocation
NB the trailing slash after the SourceLocation

The switches are:-
-v, -- increase verbosity
-r, -- recurse into directories
-u, -- skip files that are newer on the receiver

There's a tutorial here... https://www.digitalocean.com/community/ ... irectories
User avatar
nooblinx
Level 2
Level 2
Posts: 67
Joined: Sat Jul 03, 2021 4:13 am

Re: copying to external HDD stuck (too slow)

Post by nooblinx »

Boca wrote: Sat Jul 03, 2021 6:09 am Consider using rsync which is usually faster than cp.


I use

Code: Select all

tony@tony-ThinkPad-X250:~$ rsync -ruv SourceLocation/ BackupLocation
NB the trailing slash after the SourceLocation

The switches are:-
-v, -- increase verbosity
-r, -- recurse into directories
-u, -- skip files that are newer on the receiver

There's a tutorial here... https://www.digitalocean.com/community/ ... irectories
still too slow. I copy at 30MB per second on this drive in win but here is too slow.
I tried big_writes in mount options and helped a bit. made it ~3MB per second faster.
any other solution?
still noob in linux :~$ echo "my english is not good"
Locked

Return to “Storage”