Recently, in the process of copying a large number of files (more than 100g) from the Ubuntu system to the mobile hard disk, there is a situation of stuck. At the beginning, it used the direct folder copy and paste method. When it got stuck, it was replaced by the “SCP – R” method, but it didn’t work.
The main reason for this problem is that the write cache of kernel in Ubuntu system is too large, so that there is a congestion bottleneck when writing from high-speed storage to low-speed devices.
The solution is to avoid using file manager and SCP. When copying large files, the following instructions can be used:
rsync -avP source/ target/
Rsync is a remote data synchronization tool, which can quickly synchronize the files between multiple hosts through LAN/WAN, and view the file transfer process and rate, which is very convenient.
In addition, when the copy to the mobile hard disk is stuck, the file index directory is damaged due to forcibly pulling out the mobile hard disk, which makes the Ubuntu system unable to mount the mobile hard disk, and the following error prompt appears:
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
According to the above tips, it can be solved in Windows system
1. Enter CMD in “run” under windows to enter DOS command line window
2. Find the volume name of the mobile hard disk (such as G:)
3. On the command line, enter:
chkdsk G:/f
CHKDSK command is used to scan disk, automatically check and fix index error. There are three stages after the instruction input in step 3 above. If there are a large number of files, it will take a long time, and you need to wait patiently for the repair to be completed. After that, it can be mounted normally in the Ubuntu system.
Read More:
- U disk installation Linux system could not boot, / dev / root does not exist and the identified hard disk space is not available
- Disk read error solution for new hard disk installation
- VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
- Windows 10 upgrade 1803 failed because of dual hard disk!!
- Solutions to the problem of using sudo caused by Ubuntu’s wrong modification of sudoers
- Solve the problem of non system disk or disk error, replace and strike any key when ready
- QT — get hard disk margin
- Error messages of copying files to Linux system by PSCP in Windows operating system
- Solutions to the problem of vulnerable missing firmware in Ubuntu
- Ubuntu (16.04) creates a Windows boot U disk, using woeusb instead of DD
- Mount error (22): invalid argument refer to the mount.cifs (8) manual page (
- Ubuntu reads the shared folder under windows Unable to mount location Failed to retrieve share list from server
- Non system disk or disk error
- Server (for example: HTTP) has a large number of time_ Solutions to wait
- Record the location and cleaning of chrome junk files under appdata of Disk C
- Mount error (112): host is down
- Ubuntu “a user name is not in the sudoer folder. It will be reported. ” Solutions for
- How to search files or folders in Ubuntu
- The apple mobile device service failed to start. Error 1053 is resolved
- The solution to the problem is different from other solutions