- 论坛徽章:
- 0
|
如何使用工具badtrk检查磁盘坏道?
系统在正常运行时,屏幕突然显示如下错误信息,并不断重复显示:
Warrning:wd0:Error fixed disk dev
1/42,block=5160,cmd=0x00000020
status=0x00005940,sector=122340,
cylinder/heah=477/0
---- 分析处理:这种现象一般是硬盘中出现坏块而引起系统报警。在超级用户下执行badtrk命令,选择“2、scan disk”选项,再选择“1、Scanentire unix partition”选项中的“1、quickscan”选项,非破坏性扫描整个unix 分区,找出硬盘中坏块的位置。扫描结束后,记下硬盘坏块的位置(Cylinder/Head),选择“3、Add entries to current bad track table by Cylinder/Head number”选项,按照系统提示的格式输入硬盘坏块所在的位置(Cylinder/Head number)。所有坏块都输入完后按Q退出;屏幕显示:
---- Do you want to update this device with the new table(Y/N)?
---- 选择Y;屏幕显示:
---- Do you want to salvage any valid data on the bad tracks(Y/N)?
---- 选择Y;结束后,系统返回到UNIX超级用户下,屏幕上将不再显示硬盘的报警信息。
|
|