2013-10-06 13:08:38 +0000 2013-10-06 13:08:38 +0000
12
12
Advertisement

如何在Windows 7中隔离硬盘上的坏扇区?

Advertisement

如果我知道硬盘有坏扇区,我怎样才能 “标记 "它们,使Windows 7在复制文件之类的东西时不会写入它们?

Advertisement
Advertisement

答案 (2)

11
11
11
2013-10-06 13:29:35 +0000

根据 Microsoft 的说法,在分区上运行常规(或完全)格式化(与 “快速 "格式化相反)将标记分区内的所有坏扇区(重点是我):

当您选择在卷上运行常规格式化时,文件将从您正在格式化的卷中删除,并扫描硬盘上的坏扇区。扫描坏扇区是格式化卷所需时间的主要原因。来源

在Vista和更高版本中,这是通过将零写入整个分区来实现的。

在磁盘上运行完全格式化很简单,只需右键单击磁盘,选择格式化,然后取消选中快速格式化框。

请注意,完全格式化比快速格式化需要更多的时间。时间与磁盘的大小成比例(即大磁盘比小磁盘需要更多的时间来格式化)。

9
9
9
2013-10-06 13:26:55 +0000

这是由操作系统和NTFS自动完成的。现在要检查这个,只需运行CHKDSK。任何坏的扇区都会被标记,并且不会被使用。CHKDSK /R将尝试恢复坏扇区。

一种(几种中的一种!)方法:打开Windows资源管理器;右击驱动器并从上下文菜单中选择属性;选择工具选项卡;选择立即检查。这将在下次重启时运行,因为它不能对正在使用的文件进行更改。

注意:您必须以管理员帐户登录,才能在此级别检查磁盘。您可能还会收到 UAC 提示。

如果你想直接运行CHKDSK。

1.点击Windows开始按钮;在搜索框中输入comma;从列表中选择Command Prompt打开命令提示符窗口(或右键点击;从上下文菜单中选择以管理员身份运行等) 2. 输入CHKDSK /?,得到一个选项列表(大写或小写无所谓)。 3. 输入CHKDSK C: /F /R检查C: 驱动器是否有错误并自动修复它们。 4. 重新启动,使扫描运行。

我假设你指的是NTFS格式的标准旋转硬盘(虽然FAT对于这个答案来说并没有什么不同)。固态硬盘会在内部处理这个问题。

在50 GB、500 GB或2 TB的硬盘上出现几个坏扇区(通常大小为4k,但如果为存储大文件进行了优化,甚至是64k)是不值得担心的(如果硬盘只有几GB,也许是时候更换它了)。

我想,如果你真的想摆弄一下,你可以在包含坏扇区的坏轨道周围进行分区(这样读/写头就不会那么直接地通过它们),但如果你的时间值得超过1美元/天,或者你那么担心,可以考虑买一个新的磁盘。我想我已经看到了一些半自动化的软件,但我很难想出一个我想这样做的方案。(我期待在评论中看到好的故事!)

从命令提示符

chkdsk /?
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B]

  volume Specifies the drive letter (followed by a colon),
                  mount point, or volume name.
  filename FAT/FAT32 only: Specifies the files to check for fragmentation.
  /F Fixes errors on the disk.
  /V On FAT/FAT32: Displays the full path and name of every file
                  on the disk.
                  On NTFS: Displays cleanup messages if any.
  /R Locates bad sectors and recovers readable information
                  (implies /F).
  /L:size NTFS only: Changes the log file size to the specified number
                  of kilobytes. If size is not specified, displays current
                  size.
  /X Forces the volume to dismount first if necessary.
                  All opened handles to the volume would then be invalid
                  (implies /F).
  /I NTFS only: Performs a less vigorous check of index entries.
  /C NTFS only: Skips checking of cycles within the folder
                  structure.
  /B NTFS only: Re-evaluates bad clusters on the volume
                  (implies /R)

The /I or /C switch reduces the amount of time required to run Chkdsk by
skipping certain checks of the volume.
``` 。
Advertisement

相关问题

3
19
28
13
21
Advertisement
Advertisement