检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李攀 张蕊 LI Pan;ZHANG Rui(Shanghai Technician School,Shanghai,200437 China)
出 处:《科技资讯》2022年第7期1-3,共3页Science & Technology Information
摘 要:该文提出了一种基于机械硬盘的坏扇区映射方法,包括如下步骤:系统启动后,坏扇区管理模块开始初始化;当硬盘上线完成后,系统先将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.
关 键 词:机械硬盘 坏扇区 系统 映射 IO报错 离线 性能
分 类 号:TH122[机械工程—机械设计及理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.44