Re: Howto check the hard disk bad sectors in FreeBSD?

2005-01-07 Thread Curtis Almond
You can do a simple dd command to read the entire disk. If bad sectors
are found during the dd you should see ATA error messages spewing to
the console and written in /var/log/messages.


On Wed, 5 Jan 2005 13:13:18 +0800, Unreal HSHH <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have one harddisk installed in FreeBSD.
> And I want to check if any bad sectors on it.
> How can I do ? It seems the fsck can't do this.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Howto check the hard disk bad sectors in FreeBSD?

2005-01-06 Thread Jay Moore
On Tuesday 04 January 2005 11:13 pm, Unreal HSHH wrote:
>
> I have one harddisk installed in FreeBSD.
> And I want to check if any bad sectors on it.
> How can I do ? It seems the fsck can't do this.

I'm not sure this can be done, but if you're looking for something to monitor 
the health of your drives there are a number of utilities available that use 
the "S.M.A.R.T." feature built into most current hard drives. In general, 
these utilities will help you predict failure of your HDD.

Here's one such tool:
http://smartmontools.sourceforge.net/

HTH,
Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Howto check the hard disk bad sectors in FreeBSD?

2005-01-04 Thread Ted Mittelstaedt
Basically impossible.

Your best bet is to go to the hard drive manufacturers website
and see if they have a software program (often a DOS program)
that you can boot off a floppy and do this to the hard drive.

Or, if it's a SCSI disk you can often run a manufacturers program
under DOS that talks to the SCSI card and will send the commands to the
SCSI disk.

Years ago with the old wd disk driver you could run bad144 and
do this to ESDI and MFM drives.

If you want to stress-test a hard disk then install and run one of the
disk stressing programs in the ports collection.

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Unreal HSHH
> Sent: Tuesday, January 04, 2005 9:13 PM
> To: freebsd-questions@freebsd.org
> Subject: Howto check the hard disk bad sectors in FreeBSD?
> 
> 
> Hi,
> 
> I have one harddisk installed in FreeBSD.
> And I want to check if any bad sectors on it.
> How can I do ? It seems the fsck can't do this.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Howto check the hard disk bad sectors in FreeBSD?

2005-01-04 Thread Unreal HSHH
Hi,

I have one harddisk installed in FreeBSD.
And I want to check if any bad sectors on it.
How can I do ? It seems the fsck can't do this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"