文件名称:linux-HDDTest
-
所属分类:
- 标签属性:
- 上传时间:2016-03-10
-
文件大小:2.37kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
linux下查看硬盘坏道信息代码
对于硬盘的坏道的确没有什么好的办法,ata协议中的smart命令本意上是好的,但是很多的硬盘厂商并没有很好的实现smart的功能;硬盘的相关错误信息会存在相应的扇区里,但是这些扇区相当于一个环形的缓冲区,所以记录的错误信息有限,如果需要完整的硬盘坏道信息,smart就*为力了。通过完整的读一遍硬盘可以找出坏道的完整信息,但是读牵涉到了DMA的数据传输过程所以效率较低;ata的协议里READ VERIFY (EXT)命令大大提高效率,该命令是NO DATA类型的
-See information under linux hard disk damage code for hard disk bad sectors really no good way, ata protocol smart command intention is good, but a lot of hard disk manufacturers do not achieve a good smart functionality hard disk related error messages exist in the corresponding sector, but these sectors is equivalent to a circular buffer, so the limited information recording error, and if necessary complete hard disk damage information, smart on the powerless. Read it through a complete hard disk bad sectors can find complete information, but reading involves the DMA data transfer process is so inefficient ata agreement in READ VERIFY (EXT) greatly improves the efficiency of command, the command is NO DATA type .
对于硬盘的坏道的确没有什么好的办法,ata协议中的smart命令本意上是好的,但是很多的硬盘厂商并没有很好的实现smart的功能;硬盘的相关错误信息会存在相应的扇区里,但是这些扇区相当于一个环形的缓冲区,所以记录的错误信息有限,如果需要完整的硬盘坏道信息,smart就*为力了。通过完整的读一遍硬盘可以找出坏道的完整信息,但是读牵涉到了DMA的数据传输过程所以效率较低;ata的协议里READ VERIFY (EXT)命令大大提高效率,该命令是NO DATA类型的
-See information under linux hard disk damage code for hard disk bad sectors really no good way, ata protocol smart command intention is good, but a lot of hard disk manufacturers do not achieve a good smart functionality hard disk related error messages exist in the corresponding sector, but these sectors is equivalent to a circular buffer, so the limited information recording error, and if necessary complete hard disk damage information, smart on the powerless. Read it through a complete hard disk bad sectors can find complete information, but reading involves the DMA data transfer process is so inefficient ata agreement in READ VERIFY (EXT) greatly improves the efficiency of command, the command is NO DATA type .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
linux-HDDTest.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.