On 2026-09-12 11:00, Andy Smith wrote:
Hi,
On Sat, Sep 12, 2026 at 10:34:20AM -0400, Gary Dale wrote:
# mdadm --manage /dev/md0 --add /dev/sde1 --force
mdadm: add new device failed for /dev/sde1 as 7: Invalid argument
mdadm: Cannot read superblock on /dev/sde1
# mdadm --zero-superblock /dev/sde1
mdadm: Unrecognised md component device - /dev/sde1
# mdadm --manage /dev/md0 --re-add /dev/sde1
mdadm: --re-add for /dev/sde1 to /dev/md0 is not possible
What does:
# wipefs -an /dev/sde1
say?
(The -n is for "no action"l it won't actually wipe anything.)
If there's something unexpected on there, and nothing that needs
keeping, repeating without the -n will erase it and then maybe mdadm
will be happy.
Also, are there any logs about what the kernel objects to with regard to
sde1?
Thanks,
Andy
wipefs seems to do nothing. Nothing is reported and, after removing the
"n", the problem still remains.
The logs show a problem reading the disk, which is strange because
/dev/sde2 seems fine. Also the disk shows healthy after running the
smartctl short test. SMART Monitor did show some urecoverable sector on
/dev/sdc over the past week but nothing on /dev/sde.
# tail -n 40 syslog
2026-09-12T11:47:08.699532-04:00 TheLibrarian kernel: md:
md_import_device returned -22
2026-09-12T11:47:08.919469-04:00 TheLibrarian kernel: ata2.00: exception
Emask 0x0 SAct 0x20 SErr 0x0 action 0x0
2026-09-12T11:47:08.919482-04:00 TheLibrarian kernel: ata2.00: irq_stat
0x40000008
2026-09-12T11:47:08.919485-04:00 TheLibrarian kernel: ata2.00: failed
command: READ FPDMA QUEUED
2026-09-12T11:47:08.919487-04:00 TheLibrarian kernel: ata2.00: cmd
60/08:28:08:08:00/00:00:00:00:00/40 tag 5 ncq dma 4096 in
2026-09-12T11:47:08.919489-04:00 TheLibrarian kernel: res
41/40:00:0a:08:00/00:00:00:00:00/40 Emask 0x409 (media error) <F>
2026-09-12T11:47:08.919491-04:00 TheLibrarian kernel: ata2.00: status: {
DRDY ERR }
2026-09-12T11:47:08.919493-04:00 TheLibrarian kernel: ata2.00: error: {
UNC }
2026-09-12T11:47:08.931930-04:00 TheLibrarian kernel: ata2.00:
configured for UDMA/133
2026-09-12T11:47:08.931945-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
2026-09-12T11:47:08.931948-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#5 Sense Key : Medium Error [current]
2026-09-12T11:47:08.931950-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#5 Add. Sense: Unrecovered read error - auto reallocate failed
2026-09-12T11:47:08.931953-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#5 CDB: Read(16) 88 00 00 00 00 00 00 00 08 08 00 00 00 08 00 00
2026-09-12T11:47:08.931954-04:00 TheLibrarian kernel: I/O error, dev
sde, sector 2058 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
2026-09-12T11:47:08.931956-04:00 TheLibrarian kernel: Buffer I/O error
on dev sde1, logical block 1, async page read
2026-09-12T11:47:08.935441-04:00 TheLibrarian kernel: ata2: EH complete
2026-09-12T11:47:09.156374-04:00 TheLibrarian kernel: ata2.00: exception
Emask 0x0 SAct 0x4000000 SErr 0x0 action 0x0
2026-09-12T11:47:09.156387-04:00 TheLibrarian kernel: ata2.00: irq_stat
0x40000008
2026-09-12T11:47:09.156389-04:00 TheLibrarian kernel: ata2.00: failed
command: READ FPDMA QUEUED
2026-09-12T11:47:09.156392-04:00 TheLibrarian kernel: ata2.00: cmd
60/08:d0:08:08:00/00:00:00:00:00/40 tag 26 ncq dma 4096 in
2026-09-12T11:47:09.156395-04:00 TheLibrarian kernel: res
41/40:00:0a:08:00/00:00:00:00:00/40 Emask 0x409 (media error) <F>
2026-09-12T11:47:09.156397-04:00 TheLibrarian kernel: ata2.00: status: {
DRDY ERR }
2026-09-12T11:47:09.159694-04:00 TheLibrarian kernel: ata2.00: error: {
UNC }
2026-09-12T11:47:09.171702-04:00 TheLibrarian kernel: ata2.00:
configured for UDMA/133
2026-09-12T11:47:09.171714-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#26 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
2026-09-12T11:47:09.171717-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#26 Sense Key : Medium Error [current]
2026-09-12T11:47:09.171720-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#26 Add. Sense: Unrecovered read error - auto reallocate failed
2026-09-12T11:47:09.171722-04:00 TheLibrarian kernel: sd 1:0:0:0: [sde]
tag#26 CDB: Read(16) 88 00 00 00 00 00 00 00 08 08 00 00 00 08 00 00
2026-09-12T11:47:09.171724-04:00 TheLibrarian kernel: I/O error, dev
sde, sector 2058 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
2026-09-12T11:47:09.171726-04:00 TheLibrarian kernel: ata2: EH complete
2026-09-12T11:47:09.327835-04:00 TheLibrarian kernel: ata2.00: exception
Emask 0x0 SAct 0x8000000 SErr 0x0 action 0x0
2026-09-12T11:47:09.327848-04:00 TheLibrarian kernel: ata2.00: irq_stat
0x40000008
2026-09-12T11:47:09.327851-04:00 TheLibrarian kernel: ata2.00: failed
command: READ FPDMA QUEUED
2026-09-12T11:47:09.327854-04:00 TheLibrarian kernel: ata2.00: cmd
60/08:d8:08:08:00/00:00:00:00:00/40 tag 27 ncq dma 4096 in
2026-09-12T11:47:09.327857-04:00 TheLibrarian kernel: res
41/40:00:0a:08:00/00:00:00:00:00/40 Emask 0x409 (media error) <F>
2026-09-12T11:47:09.327860-04:00 TheLibrarian kernel: ata2.00: status: {
DRDY ERR }
2026-09-12T11:47:09.331467-04:00 TheLibrarian kernel: ata2.00: error: {
UNC }
2026-09-12T11:47:09.343451-04:00 TheLibrarian kernel: ata2.00:
configured for UDMA/133
2026-09-12T11:47:09.343457-04:00 TheLibrarian kernel: Buffer I/O error
on dev sde1, logical block 1, async page read
2026-09-12T11:47:09.343459-04:00 TheLibrarian kernel: ata2: EH complete