SD 卡安装问题

SD 卡安装问题

我正在尝试安装一张 SD 卡,它通常(~80%)可以正常工作几秒钟,足够让我看到文件夹结构,然后它会自动卸载。

我需要让它挂起足够长的时间才能从卡中删除数据。dmesg 的输出

[ 1564.205285] end_request: I/O error, dev sdb, sector 16600
[ 1564.207403] sd 11:0:0:0: [sdb] Device not ready
[ 1564.207415] sd 11:0:0:0: [sdb]  
[ 1564.207422] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1564.207434] sd 11:0:0:0: [sdb]  
[ 1564.207438] Sense Key : Not Ready [current] 
[ 1564.207445] sd 11:0:0:0: [sdb]  
[ 1564.207451] Add. Sense: Medium not present
[ 1564.207457] sd 11:0:0:0: [sdb] CDB: 
[ 1564.207460] Read(10): 28 00 00 00 41 c8 00 00 10 00
[ 1564.207478] end_request: I/O error, dev sdb, sector 16840
[ 1564.209517] sd 11:0:0:0: [sdb] Device not ready
[ 1564.209529] sd 11:0:0:0: [sdb]  
[ 1564.209537] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1564.209546] sd 11:0:0:0: [sdb]  
[ 1564.209555] Sense Key : Not Ready [current] 
[ 1564.209567] sd 11:0:0:0: [sdb]  
[ 1564.209577] Add. Sense: Medium not present
[ 1564.209586] sd 11:0:0:0: [sdb] CDB: 
[ 1564.209591] Read(10): 28 00 00 00 3f d8 00 00 08 00
[ 1564.209618] end_request: I/O error, dev sdb, sector 16344
[ 1564.223579] sdb: detected capacity change from 3980394496 to 0

我尝试运行 fsck.vfat,但它不能保持足够长的时间来正常启动。

卡目前处于只读模式,并尝试使用 dd 删除数据,但出现同样的问题,它的数据在我能得到任何有意义的东西之前就消失了

从该驱动器中删除数据的最佳方法是什么?

答案1

使用 GNU DDRescue 复制磁盘(您可以重新启动它并从上次中断的地方继续,还有其他技巧) - 然后从磁盘副本中读取数据。

相关内容