You are not logged in.

#1 2022-04-25 18:46:35

turbochamp
Member
Registered: 2021-11-05
Posts: 23

Error splicing file: Input/output error when copying file

Not Arch specific but I can't seem to figure this out. I'm copying video files from one external HDD (ext4) to another external HDD (ext4) and all video files copied successfully except for one, and it throws a "Error splicing file: Input/output error".  I've opened the file from the original HDD and it plays through fine, so my thinking is the actual file isn't corrupted.

I ran fsck -a on the original drive, and results are the same. Is the drive just on it's last leg? Anything I can do to repair it/solve this error?

Offline

#2 2022-04-25 18:55:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Error splicing file: Input/output error when copying file

You've told us about checking the original / source drive, but I believe this error is more often due to the destination device.  Please post the output of the following (replacing $DESTINATION with the target drive)

fdisk -l /dev/$DESTINATION
df /dev/$DESTINATION
df -i /dev/$DESTINATION

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-04-25 19:27:28

turbochamp
Member
Registered: 2021-11-05
Posts: 23

Re: Error splicing file: Input/output error when copying file

Trilby wrote:

You've told us about checking the original / source drive, but I believe this error is more often due to the destination device.  Please post the output of the following (replacing $DESTINATION with the target drive)

fdisk -l /dev/$DESTINATION
df /dev/$DESTINATION
df -i /dev/$DESTINATION

Here is the output:

sudo fdisk -l /dev/sdf1                                                                                                                                                                                                   ✔
Disk /dev/sdf1: 4.55 TiB, 5000945205248 bytes, 9767471104 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

df /dev/sdf1
/dev/sdf1      4844144456 3316480996 1283460300  73% /mnt/4TB-Ext2

df -i /dev/sdf1
/dev/sdf1      152616960  3427 152613533    1% /mnt/4TB-Ext

Last edited by turbochamp (2022-04-25 19:34:15)

Offline

#4 2022-04-25 20:28:43

seth
Member
Registered: 2012-09-03
Posts: 58,484

Re: Error splicing file: Input/output error when copying file

/dev/sdf1      4844144456 3316480996 1283460300  73% /mnt/4TB-Ext2
/dev/sdf1      152616960  3427 152613533    1% /mnt/4TB-Ext

Copy-and-fail or is this the actual output?

How big is the failing file? > 4GB?
How sure are you about the ext4 thing?

lsblk -f
sudo file -s /dev/sdf1 

Offline

#5 2022-04-25 21:20:04

turbochamp
Member
Registered: 2021-11-05
Posts: 23

Re: Error splicing file: Input/output error when copying file

seth wrote:

/dev/sdf1      4844144456 3316480996 1283460300  73% /mnt/4TB-Ext2
/dev/sdf1      152616960  3427 152613533    1% /mnt/4TB-Ext

Copy-and-fail or is this the actual output?

How big is the failing file? > 4GB?
How sure are you about the ext4 thing?

lsblk -f
sudo file -s /dev/sdf1 

Whoops yeah I must've deleted the 2. Output is correct on both commands "/mnt/4TB-Ext2". File is 1.2GB and I double checked gparted, both drives are ext4.

Offline

Board footer

Powered by FluxBB