Occasionally I get these errors in dmesg (below). How do I find out which drive is ata3? I suspect it's /dev/sdb, a 0.5 TB M.2 drive, but I'm not sure. fsck says the filesystem's OK.

2026-05-12T03:53:18,160853-04:00 ata3.00: failed command: WRITE FPDMA QUEUED
2026-05-12T03:53:18,160859-04:00 ata3.00: cmd 61/10:38:68:42:ef/00:00:1c:00:00/40 tag 7 ncq dma 8192 out res 40/00:4c:08:44:ef/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
2026-05-12T03:53:18,160884-04:00 ata3.00: status: { DRDY }
2026-05-12T03:53:18,160892-04:00 ata3.00: failed command: WRITE FPDMA QUEUED
2026-05-12T03:53:18,160898-04:00 ata3.00: cmd 61/10:48:08:44:ef/00:00:1c:00:00/40 tag 9 ncq dma 8192 out res 40/00:4c:08:44:ef/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
2026-05-12T03:53:18,160920-04:00 ata3.00: status: { DRDY }
2026-05-12T03:53:18,160929-04:00 ata3.00: failed command: WRITE FPDMA QUEUED
2026-05-12T03:53:18,160934-04:00 ata3.00: cmd 61/10:50:68:46:ef/00:00:1c:00:00/40 tag 10 ncq dma 8192 out res 40/00:4c:08:44:ef/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
2026-05-12T03:53:18,160957-04:00 ata3.00: status: { DRDY }
2026-05-12T03:53:18,160965-04:00 ata3.00: failed command: WRITE FPDMA QUEUED
2026-05-12T03:53:18,160970-04:00 ata3.00: cmd 61/10:58:f0:47:ef/00:00:1c:00:00/40 tag 11 ncq dma 8192 out res 40/00:4c:08:44:ef/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
2026-05-12T03:53:18,160992-04:00 ata3.00: status: { DRDY }
2026-05-12T03:53:18,160999-04:00 ata3.00: failed command: WRITE FPDMA QUEUED
2026-05-12T03:53:18,161005-04:00 ata3.00: cmd 61/10:60:70:49:ef/00:00:1c:00:00/40 tag 12 ncq dma 8192 out res 40/00:4c:08:44:ef/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
2026-05-12T03:53:18,161026-04:00 ata3.00: status: { DRDY }
2026-05-12T03:53:18,161034-04:00 ata3.00: failed command: WRITE FPDMA QUEUED
2026-05-12T03:53:18,161039-04:00 ata3.00: cmd 61/10:68:e0:4a:ef/00:00:1c:00:00/40 tag 13 ncq dma 8192 out res 40/00:4c:08:44:ef/00:00:1c:00:00/40 Emask 0x10 (ATA bus error)
2026-05-12T03:53:18,161061-04:00 ata3.00: status: { DRDY }

eben@cerberus:~$ sudo fdisk -l /dev/sdb
[sudo] password for eben:
Disk /dev/sdb: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: TOSHIBA KSG60ZMV
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 659E48CE-5D29-492C-85A7-7100B5B533EF

Device     Start       End   Sectors   Size Type
/dev/sdb2   2048 500117503 500115456 238.5G Linux filesystem


eben@cerberus:~$ sudo umount /dev/sdb2
eben@cerberus:~$ sudo fsck -f /dev/sdb2
fsck from util-linux 2.38.1
e2fsck 1.47.0 (5-Feb-2023)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
iso: 108/15630336 files (1.9% non-contiguous), 57943517/62514432 blocks

eben@cerberus:~$ cat /etc/debian_version
12.13

Reply via email to