Jump to content

BTRFS Disk unmountable after unclean shutdowns


Recommended Posts

Hello Community,

after some unclean shutdowns of my server I have now issues with one disk. It is displayed as unmountable. I tried the steps from the wiki to recover the filesystem, but I cant click on the check filesystem button. It says See Disk Settings, but under Disk Settings I cant find something to recover the filesystem. I hope someone can help me. Thank you:)

obelix-diagnostics-20210712-2327.zip

Link to comment

Constant ATA errors on disk1:

 

Jul 12 23:10:56 Obelix kernel: ata1: COMRESET failed (errno=-16)
Jul 12 23:10:56 Obelix kernel: ata1: hard resetting link
Jul 12 23:11:02 Obelix kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Jul 12 23:11:02 Obelix kernel: ata1.00: configured for UDMA/133
Jul 12 23:11:02 Obelix kernel: ata1: EH complete
Jul 12 23:11:02 Obelix kernel: ata1: limiting SATA link speed to 3.0 Gbps
Jul 12 23:11:02 Obelix kernel: ata1.00: exception Emask 0x50 SAct 0x2000088 SErr 0x4090800 action 0xe frozen
Jul 12 23:11:02 Obelix kernel: ata1.00: irq_stat 0x00400040, connection status changed
Jul 12 23:11:02 Obelix kernel: ata1: SError: { HostInt PHYRdyChg 10B8B DevExch }
Jul 12 23:11:02 Obelix kernel: ata1.00: failed command: READ FPDMA QUEUED
Jul 12 23:11:02 Obelix kernel: ata1.00: cmd 60/00:18:48:04:00/04:00:00:00:00/40 tag 3 ncq dma 524288 in
Jul 12 23:11:02 Obelix kernel:         res 40/00:00:30:3c:00/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
Jul 12 23:11:02 Obelix kernel: ata1.00: status: { DRDY }
Jul 12 23:11:02 Obelix kernel: ata1.00: failed command: READ FPDMA QUEUED
Jul 12 23:11:02 Obelix kernel: ata1.00: cmd 60/20:38:00:09:c5/00:00:ad:04:00/40 tag 7 ncq dma 16384 in
Jul 12 23:11:02 Obelix kernel:         res 40/00:00:30:3c:00/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
Jul 12 23:11:02 Obelix kernel: ata1.00: status: { DRDY }
Jul 12 23:11:02 Obelix kernel: ata1.00: failed command: READ FPDMA QUEUED
Jul 12 23:11:02 Obelix kernel: ata1.00: cmd 60/08:c8:40:00:00/04:00:00:00:00/40 tag 25 ncq dma 528384 in
Jul 12 23:11:02 Obelix kernel:         res 40/00:00:30:3c:00/00:00:00:00:00/40 Emask 0x50 (ATA bus error)

 

Replace cables and post new diags, though filesystem is likely already damaged.

Link to comment

I figured out that one of my SFF cables is damaged. Every Disk I put on it has errors. I'll need to wait a few days for a replacement. I switched the unmountable disk directly to my mainboard header but it's still unmountable. When the replacement cable arrives I'll post the diagnostics again.

Link to comment
2 hours ago, nutellabr0t said:

I switched the unmountable disk directly to my mainboard header but it's still unmountable

Yes, that's not surprising, the error reported happens when writes to the disk are lost, possibly because of the ATA errors that would keep resetting the connection, when you get the new cable see here for some recovery options, btrfs restore is the more likely to work for this.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...