当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 复制文件时报错:Error splicing file. Input/output error.
帖子发表于 : 2016-11-07 21:42 
头像

注册: 2014-02-07 17:31
帖子: 456
系统: Xubuntu 14.04.5 64位
送出感谢: 40
接收感谢: 33
系统:Xubuntu 14.04.5 LTS 64-bit

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

附件:
copy_error.png
copy_error.png [ 33.22 KiB | 被浏览 1371 次 ]



这是什么情况?


代码:
是不是硬盘有问题……
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/UCGSPXZ7DbSc8QDuDYX8L6Qg


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 复制文件时报错:Error splicing file. Input/output error.
帖子发表于 : 2016-11-07 22:01 

注册: 2013-05-26 6:58
帖子: 2207
系统: Debian 9
送出感谢: 909
接收感谢: 32
kashu 写道:
系统:Xubuntu 14.04.5 LTS 64-bit

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

附件:
copy_error.png


这是什么情况?

试试用dd和ddrescue命令各复制一份,然后用MD5校验一下三者(原文件,dd的输出,ddrescue的输出)是否相同?
还有注意一下可用空间什么的
直觉上感觉好像是文件系统损坏了之类的问题


_________________
Linux桌面优化综合贴[2017.09.18](欢迎各位补充或指正误区)
[2016.03.10]会C语言但看不懂英文文档的点这里,一个用C语言编写的简陋学习工具
单硬盘通过iso文件实机安装Debian的方法
重启或操作fcitx时失去响应的一个解决方法,不妨试试看


最后由 科学之子 编辑于 2016-11-07 22:22,总共编辑了 1 次

页首
 用户资料  
 
3 楼 
 文章标题 : Re: 复制文件时报错:Error splicing file. Input/output error.
帖子发表于 : 2016-11-07 22:13 

注册: 2013-05-26 6:58
帖子: 2207
系统: Debian 9
送出感谢: 909
接收感谢: 32
根据我的常识
理论上能读取就应该可以复制(读取和复制出来的数据是否已经损坏是另一回事)
是不是复制的目标设备的问题?
试试看更换一下复制的目标设备看问题是否继续存在?


_________________
Linux桌面优化综合贴[2017.09.18](欢迎各位补充或指正误区)
[2016.03.10]会C语言但看不懂英文文档的点这里,一个用C语言编写的简陋学习工具
单硬盘通过iso文件实机安装Debian的方法
重启或操作fcitx时失去响应的一个解决方法,不妨试试看


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 复制文件时报错:Error splicing file. Input/output error.
帖子发表于 : 2016-11-07 22:25 
头像

注册: 2014-02-07 17:31
帖子: 456
系统: Xubuntu 14.04.5 64位
送出感谢: 40
接收感谢: 33
用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/UCGSPXZ7DbSc8QDuDYX8L6Qg


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译