On Fri, Oct 13, 2000 at 09:31:12AM +0200, Danilo Godec wrote:
> Hi!
>
> I have a situation, where a disk is already in use, but seems to have some
> bad blocks. I searched for bad blocks using 'badblocks' command with an
> output file.
>
> Does badblocks command mark bad blocks in ext2 fs (so they won't be used)
> or can I use some other tool with a list of badblocks?
>
E2FSCK(8)
....
-c This option causes e2fsck to run the badblocks(8)
program to find any blocks which are bad on the
filesystem, and then marks them as bad by adding
them to the bad block inode.
.....
-l filename
Add the blocks listed in the file specified by
filename to the list of bad blocks.
-L filename
Set the bad blocks list to be the list of blocks
specified by filename. (This option is the same as
the -l option, except the bad blocks list is
cleared before the blocks listed in the file are
added to the bad blocks list.)
....
Regards,
L.
--
Luca Berra -- [EMAIL PROTECTED]
Communication Media & Services S.r.l.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]