Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Badblocks on my harddisk
Date: Sat, 26 Jul 2014 12:28:26
Message-Id: 201407261327.44441.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] [OT] Badblocks on my harddisk by meino.cramer@gmx.de
1 On Saturday 26 Jul 2014 11:26:54 meino.cramer@×××.de wrote:
2
3 > got this:
4 >
5 > #> /root>mkswap -L swap -c /dev/sda2
6 > 1 bad page
7
8 OK, so we know for sure now that the bad block was on your swap. :-)
9
10
11 > Sorry for stuutering postings...overlocked this one:
12 > #>dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc
13 > dd: error writing ‘/dev/sda2’: Input/output error
14 >
15 > Hrrrmpfff...
16 >
17 > Why does it nt remap those ones?
18
19
20 As Volker posted since you don't even get a "records in" / "records out" from
21 dd, it seems that it is the first block. You can verify with badblocks -c 1
22 -e 1 -o my_bad_blocks.txt if this is so.
23
24 The mkswap -c command will identify and mark the badblock so that this is not
25 used again for allocating data to it.
26
27 --
28 Regards,
29 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature