Operating System - Linux
1748054 Members
4966 Online
108758 Solutions
New Discussion юеВ

Re: how to instruct ext3 to not use bad blocks ?

 
SOLVED
Go to solution
Maaz
Valued Contributor

how to instruct ext3 to not use bad blocks ?

I have a disk with some bad blocks. How can I instruct the ext3(at the time of formating) to mark those bad blocks and do not use the marked area(bad blocks), so that I can use the disk/media without any worry

Regards
Maaz
4 REPLIES 4
Alexander Chuzhoy
Honored Contributor
Solution

Re: how to instruct ext3 to not use bad blocks ?

-c Check the device for bad blocks before creating the file system. If this option is specified twice, then a slower, destructive, read-write test is used instead of a fast read-only test.
Alexander Chuzhoy
Honored Contributor

Re: how to instruct ext3 to not use bad blocks ?

-c is the parameter for the mkfs.ext3 command.
Gokul Chandola
Trusted Contributor

Re: how to instruct ext3 to not use bad blocks ?

Hi,
It will very good if you will replace this disk with new one.
It is observer that, these kind of BAD sector disks are making problem in future.
If your Application is Critical installed in that system, then you have to have replace with new one. If its not ypu can repaire with different tools available.

Regards,
Gokul Chandola
There is always some scope for improvment.
Maaz
Valued Contributor

Re: how to instruct ext3 to not use bad blocks ?

Hi Alexander Chuzhoy and Gokul Chandola, thanks for support and help.

Regards