期刊文献+

一种基于机械硬盘的坏扇区映射方法研究

Research on Bad Sector Mapping Method Based on Mechanical Hard Disk
下载PDF
导出
摘要 该文提出了一种基于机械硬盘的坏扇区映射方法,包括如下步骤:系统启动后,坏扇区管理模块开始初始化;当硬盘上线完成后,系统先将IO请求的逻辑地址发送给坏扇区管理模块,由坏扇区管理模块转换为物理地址后进行是否命中坏扇区映射表、预测坏扇区映射表的检测;然后由坏扇区管理模块依据检测结果决定是将映射后的物理地址还是真实的物理地址返给系统;系统按坏扇区管理模块返回的物理地址进行硬盘读写,如果读写成功,则IO结束;如果读写失败,则触发坏扇区管理模块执行坏扇区映射操作。该方法可有效避免系统因连续扇区损坏所导致的IO频繁报错和逻辑上连续但实际物理扇区却离散的问题,可极大提高系统的稳定性和性能。 This paper presents a bad sector mapping method based on mechanical hard disk,which includes the following steps:After the system starts,the bad sector management module starts to initialize;after the hard disk goes online,the system first sends the logical address of the IO request to the bad sector management module.After the bad sector management module converts it into a physical address,it detects whether it hits the bad sector mapping table and predicts the bad sector mapping table;then,the bad sector management module decides whether to return the mapped physical address or the real physical address to the system according to the detection result;the system reads and writes the hard disk according to the physical address returned by the bad sector management module.If the reading and writing is successful,the IO ends;if the read/write fails,trigger the bad sector management module to perform the bad sector mapping operation.This method can effectively avoid the problems of frequent IO error reporting and logically continuous but discrete physical sectors caused by the damage of continuous sectors,and can greatly improve the stability and performance of the system.
作者 李攀 张蕊 LI Pan;ZHANG Rui(Shanghai Technician School,Shanghai,200437 China)
出处 《科技资讯》 2022年第7期1-3,共3页 Science & Technology Information
关键词 机械硬盘 坏扇区 系统 映射 IO报错 离线 性能 Mechanical hard disk Bad sector System Mapping IO error Off-line Performance
  • 相关文献

参考文献3

二级参考文献18

共引文献41

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部