Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] e2fsck -c when bad blocks are in existing file?
Date: Wed, 09 Nov 2022 08:47:21
Message-Id: 5878104.lOV4Wx5bFT@lenovo.localdomain
In Reply to: Re: [gentoo-user] e2fsck -c when bad blocks are in existing file? by Wols Lists
1 On Tuesday, 8 November 2022 18:24:41 GMT Wols Lists wrote:
2
3 > MODERN DRIVES SHOULD NEVER HAVE AN OS-LEVEL BADBLOCKS LIST. If they do,
4 > something is seriously wrong, because the drive should be hiding it from
5 > the OS.
6
7 If you run badblocks or e2fsck you'll find the application asks to write data
8 to the disk, at the end of the run. Yes, the drive's firmware should manage
9 badblocks transparently to the filesystem, but I have observed in hdparm
10 output reallocations of badblocks do not happen in real time. Perhaps the
11 filesystem level badblocks list which is LBA based, acts as an intermediate
12 step until the hardware triggers a reallocation? Not sure. :-/

Attachments

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

Replies

Subject Author
RE: [gentoo-user] e2fsck -c when bad blocks are in existing file? Laurence Perkins <lperkins@×××××××.net>