ext4 filesystem does not use its badblock list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
1) Ubuntu 4.13.0-
2) Will be attached.
Always, when I have /dev/sdb2 mounted, I get an errors in the system log, such as in the file dmesg.txt (attached)(there are i/o errors and something).
Thus I ran fsck:
{
root@user:~# fsck.ext4 -fck /dev/sdb2
e2fsck 1.43.5 (04-Aug-2017)
Checking for bad blocks (read-only test): 0.24% done, 0:25done
/dev/sdb2: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Programming error? block #230376 claimed for no reason in process_bad_block.
Programming error? block #230385 claimed for no reason in process_bad_block.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb2: ***** FILE SYSTEM WAS MODIFIED *****
}
But the errors did not disappear and I ran "badblocks -so ./bads-sdb2.txt -b 4096 /dev/sdb2"
Then I tried "fsck.ext4 -l ./bads-sdb2.txt /dev/sdb2" and it showed, among other typical things, this:
{
Programming error? block #230376 claimed for no reason in process_bad_block.
Programming error? block #230385 claimed for no reason in process_bad_block.
}
Then I ran "dump2fs -b /dev/sdb2" and found that every block from bads-sdb2.txt is already included in there, but the errors keep appear.
And while I was searching for a solution, I found this:
https:/
I think this situation can be found on Ubuntu 16.04 too.
Thank you.
1) Ubuntu Artful Aardvark (development branch) 17.10
2) 4.13.0.15.16
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-15-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: LXDE
Date: Fri Oct 13 14:43:21 2017
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-10-06 (6 days ago)
InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
IwConfig:
lo no wireless extensions.
enp2s0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. GA-880GM-UD2H
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.169
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/11/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F8
dmi.board.name: GA-880GM-UD2H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: GA-880GM-UD2H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
lspci-vnvn.log