复制文件时报错:Error splicing file. Input/output error.

XFCE和LXDE桌面环境
回复
头像
kashu
帖子: 451
注册时间: 2014-02-07 17:31
系统: Xubuntu 14.04.5 64位
送出感谢: 37 次
接收感谢: 25 次

复制文件时报错:Error splicing file. Input/output error.

#1

帖子 kashu » 2016-11-07 21:42

系统:Xubuntu 14.04.5 LTS 64-bit

问题:
我有一个文件,可正常打开和使用,但复制粘贴别的地方时,就报错,无法完整地复制过去。
复制文件时报错:Error splicing file. Input/output error.
copy_error.png
这是什么情况?

代码: 全选

是不是硬盘有问题……
kashu:/tmp$ smudo sartctl -a /dev/sdb
...
SMART Error Log Version: 1
ATA Error Count: 30 (device log contains only the most recent five errors)
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 30 occurred at disk power-on lifetime: 13633 hours (568 days + 1 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      10:54:47.652  READ FPDMA QUEUED
  b0 d0 01 00 4f c2 00 00      10:53:58.429  SMART READ DATA
  b0 d8 00 00 4f c2 00 00      10:53:58.429  SMART ENABLE OPERATIONS
  e5 00 00 00 00 00 00 00      10:53:58.428  CHECK POWER MODE
  b0 d0 01 00 4f c2 00 00      10:52:53.427  SMART READ DATA

Error 29 occurred at disk power-on lifetime: 13632 hours (568 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      10:39:38.653  READ FPDMA QUEUED
  b0 d0 01 00 4f c2 00 00      10:39:31.442  SMART READ DATA
  b0 d8 00 00 4f c2 00 00      10:39:31.441  SMART ENABLE OPERATIONS
  e5 00 00 00 00 00 00 00      10:39:31.441  CHECK POWER MODE
  27 00 00 00 00 00 e0 00      10:38:44.830  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 28 occurred at disk power-on lifetime: 13632 hours (568 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      10:38:42.420  READ FPDMA QUEUED
  27 00 00 00 00 00 e0 00      10:38:42.419  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      10:38:42.418  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      10:38:42.417  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 e0 00      10:38:42.417  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 27 occurred at disk power-on lifetime: 13632 hours (568 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      10:38:40.057  READ FPDMA QUEUED
  b0 d0 01 00 4f c2 00 00      10:38:29.441  SMART READ DATA
  b0 d8 00 00 4f c2 00 00      10:38:29.440  SMART ENABLE OPERATIONS
  e5 00 00 00 00 00 00 00      10:38:29.440  CHECK POWER MODE
  60 00 00 ff ff ff 4f 00      10:38:08.166  READ FPDMA QUEUED

Error 26 occurred at disk power-on lifetime: 13632 hours (568 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      10:37:32.202  READ FPDMA QUEUED
  b0 d0 01 00 4f c2 00 00      10:37:27.448  SMART READ DATA
  b0 d8 00 00 4f c2 00 00      10:37:27.448  SMART ENABLE OPERATIONS
  e5 00 00 00 00 00 00 00      10:37:27.447  CHECK POWER MODE
  27 00 00 00 00 00 e0 00      10:37:12.514  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.


OS: Xubuntu 14.04.5 LTS 64-bit
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
RAM: 12GB DDR3 1333MHz
128GB SSD + 2TB HDD
神舟优雅A480B-I5B 购于 2012.08

YouTube频道:https://www.youtube.com/channel/UCGSPXZ ... DuDYX8L6Qg
科学之子
帖子: 2250
注册时间: 2013-05-26 6:58
系统: Debian 9
送出感谢: 839 次
接收感谢: 30 次

Re: 复制文件时报错:Error splicing file. Input/output error.

#2

帖子 科学之子 » 2016-11-07 22:01

kashu 写了:系统:Xubuntu 14.04.5 LTS 64-bit

问题:
我有一个文件,可正常打开和使用,但复制粘贴别的地方时,就报错,无法完整地复制过去。
复制文件时报错:Error splicing file. Input/output error.
copy_error.png
这是什么情况?
试试用dd和ddrescue命令各复制一份,然后用MD5校验一下三者(原文件,dd的输出,ddrescue的输出)是否相同?
还有注意一下可用空间什么的
直觉上感觉好像是文件系统损坏了之类的问题
上次由 科学之子 在 2016-11-07 22:22,总共编辑 1 次。
科学之子
帖子: 2250
注册时间: 2013-05-26 6:58
系统: Debian 9
送出感谢: 839 次
接收感谢: 30 次

Re: 复制文件时报错:Error splicing file. Input/output error.

#3

帖子 科学之子 » 2016-11-07 22:13

根据我的常识
理论上能读取就应该可以复制(读取和复制出来的数据是否已经损坏是另一回事)
是不是复制的目标设备的问题?
试试看更换一下复制的目标设备看问题是否继续存在?
头像
kashu
帖子: 451
注册时间: 2014-02-07 17:31
系统: Xubuntu 14.04.5 64位
送出感谢: 37 次
接收感谢: 25 次

Re: 复制文件时报错:Error splicing file. Input/output error.

#4

帖子 kashu » 2016-11-07 22:25

用badblocks检查有21个坏道,我的心……好塞啊 :Cry

代码: 全选

kashu:/tmp$ sudo badblocks -sv /dev/sdb
Checking blocks 0 to 488386583
Checking for bad blocks (read-only test): 14199092done, 3:12 elapsed. (0/0/0 errors)
14199093done, 3:15 elapsed. (1/0/0 errors)
14199094done, 3:17 elapsed. (2/0/0 errors)
14199095done, 3:19 elapsed. (3/0/0 errors)
 25.76%  72.34% done, 1:24:23 elapsed. (4/0/0 errors)
400084796one, 1:38:25 elapsed. (4/0/0 errors)
400084797one, 1:38:27 elapsed. (5/0/0 errors)
400084798one, 1:38:29 elapsed. (6/0/0 errors)
400084799one, 1:38:32 elapsed. (7/0/0 errors)
410224648one, 1:44:35 elapsed. (8/0/0 errors)
410224649one, 1:44:38 elapsed. (9/0/0 errors)
410224650one, 1:44:41 elapsed. (10/0/0 errors)
410224651one, 1:44:44 elapsed. (11/0/0 errors)
410225224one, 1:44:46 elapsed. (12/0/0 errors)
410225225one, 1:44:49 elapsed. (13/0/0 errors)
410225226one, 1:44:51 elapsed. (14/0/0 errors)
410225227one, 1:44:54 elapsed. (15/0/0 errors)
410225228one, 1:44:56 elapsed. (16/0/0 errors)
410225229one, 1:44:59 elapsed. (17/0/0 errors)
410225230one, 1:45:01 elapsed. (18/0/0 errors)
410225231one, 1:45:04 elapsed. (19/0/0 errors)
410225876one, 1:45:06 elapsed. (20/0/0 errors)
done                                                 
Pass completed, 21 bad blocks found. (21/0/0 errors)


OS: Xubuntu 14.04.5 LTS 64-bit
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
RAM: 12GB DDR3 1333MHz
128GB SSD + 2TB HDD
神舟优雅A480B-I5B 购于 2012.08

YouTube频道:https://www.youtube.com/channel/UCGSPXZ ... DuDYX8L6Qg
回复

回到 “Xubuntu & Lubuntu”