[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for bad sectors in a ReiserFS partition



> Shlomo,
> If the noises you here are "click-click-click" ones, it's possible that
> there's mismatch between the actual disk geometry and the way Linux sees it.
> Make sure you configured the disk properly in the BIOS and that the values
> fdisk reports are correct ones for your disk. Also, the exact messages you
> see on the console are important. I think that 6-month IBM disk developing
> bad sectors is highly improbable. Also, if you played with hdparm maybe you
> enabled something that either your IDE controller or the disk itself cannot
> handle.
> 
> Sorry I don't know how you can check for bad sectors, but I do think that
> your problem is elsewhere.
> 


badblocks?

[16:17:28 /tmp]$ zcat /usr/share/man/man8/badblocks.8.gz | groff -t -e -mandoc 
-Tascii | col -bx | head -20



BADBLOCKS(8)                                         BADBLOCKS(8)


NAME
       badblocks - search a device for bad blocks

SYNOPSIS
       badblocks [ -svwnf ] [ -b block-size ] [ -c blocks_at_once
       ] [ -i input_file ] [ -o output_file ] [ -p  num_passes  ]
       device [ blocks-count ] [ start-block ]

DESCRIPTION
       badblocks  is  used  to  search for bad blocks on a device
       (usually a disk partition).  device is  the  special  file
       corresponding to the device (e.g /dev/hdc1).  blocks-count
       is the number of blocks on the device; if it is not speci-
       fied, the size of the device is used as a default.  start-
[16:17:37 /tmp]$ 





> Haim.
> 
> > -----Original Message-----
> > From: linux-il-bounce@cs.huji.ac.il
> > [mailto:linux-il-bounce@cs.huji.ac.il]On Behalf Of Shlomi Fish
> > Sent: Sunday, February 18, 2001 8:51 AM
> > To: linux-il@linux.org.il
> > Subject: Checking for bad sectors in a ReiserFS partition
> >
> >
> >
> > Hi!
> >
> > It seems one of my ReiserFS partitions got corrupted, and I am able to
> > reproduce a problem where I constantly hear strange noises out of my
> > hard-disk and I get some error messages (from the kernel or something like
> > that) on the virtual consoles.
> >
> > I'd like to check and mark the bad sectors, but I don't know how to do
> > that. The reiserfsck program does not seem to do such a thing, so I'm
> > asking you what does.
> >
> > The funny thing is that it's a 6 monthes old hard-disk from IBM, so it's
> > not likely it will get corrupted so soon.
> >
> > Regards,
> >
> > 	Shlomi Fish
> >
> >
> > ----------------------------------------------------------------------
> > Shlomi Fish        shlomif@t2.technion.ac.il
> > Home Page:         http://t2.technion.ac.il/~shlomif/
> > Home E-mail:       shlomif@techie.com
> >
> > The prefix "God Said" has the extraordinary logical property of
> > converting any statement that follows it into a true one.
> >
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
> >
> >
> >
> 
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
> 

-- 
	
	Shaul Karl <shaulka@bezeqint.net>



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il