> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:redhat-list-
> [EMAIL PROTECTED] On Behalf Of Nurullah Akkaya
> Sent: Monday, August 25, 2003 1:26 AM
> To: [EMAIL PROTECTED]
> Subject: Re: bad block
> 
> what is the command to activate bad block on a swap partion
> --
> Nurullah Akkaya
> [EMAIL PROTECTED]
> Registered Linux User #301438
> 
> What lies behind us and what lies before us are tiny
> matters compared to what lies within us.
> 
> "If at first an idea is not absurd, there is no hope for it"
> Albert Einstein
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list

You do understand that bad blocks on a disk or ignored by the OS
automatically, but a disk has a whole bunch of spare blocks and that you
need to run a disk utility routine to removes the bad blocks and
replaces them with the spare blocks.  When the spare blocks are used up
then it will not replace the bad blocks but reduce the size of the disk
by the bad blocks.  Reformatting the disk may get rid of the bad blocks,
but in all likely hood if you have blocks that are bad then the disk is
on its way to failure.  The recommendation is to backup the disk try
reformatting and restore the disk, if you can't do that then run a disk
utility that will remove the bad blocks and replace them with spare
blocks.  To answer your question more directly I don't know of any
command from any OS that replaces bad blocks, that requires a low level
disk utility that you can get from the disk manufacturer.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to