Disk scan utility?

Art plug-discuss@lists.plug.phoenix.az.us
Thu, 15 May 2003 01:15:57 -0700


I think what you need is "e2fsck -f /dev/hdXn" to force(-f) a complete 
scan of the drive partition.
Art Wagner

AZ Pete wrote:
> Hi all,
> 
> Is there a util in Linux that will perform a surface scan of a hard disk 
> to locate bad sectors and mark them as unusable?
> Something similar to Windows Scandisk util.
> I recall during the Redhat installation routine there was a check box 
> that I could select to perform a surface scan.  What utility does this?
> I have a hard drive I'm trying to get data from but there are a few bad 
> sectors and as a result I'm unable to pull an image of the drive.  I 
> would like to mark those sectors as bad, so I can then pull the image 
> and get most of the data off the drive.
> 
> I tried using fsck, but it only seems to check if the filesystem is 
> contiguous.  It says that the filesystem is clean.
> 
> Any help would be appreciated.
> Peter
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
>