On Saturday 26 Jul 2014 11:26:54 [email protected] wrote:

> got this:
> 
> #> /root>mkswap -L swap -c /dev/sda2
> 1 bad page

OK, so we know for sure now that the bad block was on your swap.  :-)


> Sorry for stuutering postings...overlocked this one:
> #>dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc
> dd: error writing ‘/dev/sda2’: Input/output error
> 
> Hrrrmpfff...
> 
> Why does it nt remap those ones?


As Volker posted since you don't even get a "records in" / "records out" from 
dd, it seems that it is the first block.  You can verify with badblocks -c 1  
-e 1 -o my_bad_blocks.txt if this is so.

The mkswap -c command will identify and mark the badblock so that this is not 
used again for allocating data to it.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to