BTRFS /home broken how to fix

Yesterday I shut down my notebook and now I am greeted by a filesystem problem, system won’t boot. Only /home on /dev/sda6 is affected

I started a Kubuntu live USB Stick to manage.

Error mounting /dev/sda6 at /media/kubuntu/1TB_HOME: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error


btrfs check —repair returns

kubuntu@kubuntu:~$ sudo btrfs check --repair /dev/sda6
enabling repair mode
Opening filesystem to check...
ERROR: cannot open file system
kubuntu@kubuntu:~$ 


This is the last thing you want to do and only after problem has been seen by developers and it was confirmed that btrfs check can repair this particular problem.

Boot distribution with as recent kernel and btrfs tools as possible (e.g. Tumbleweed Live; Arch is known to have very recent versions). Try to mount filesystem and after it fails upload full dmesg output to https://susepaste.org/.

I can abbreviate to the filesystem messages, right? I am online wih my mobile phone, so I cannot download to much.



   14.573671] Btrfs loaded, crc32c=crc32c-generic
   14.574640] BTRFS: device label 1TB_SUSE423 devid 1 transid 21524 /dev/sda2
   14.575452] BTRFS info (device sda2): disk space caching is enabled
   14.575454] BTRFS info (device sda2): has skinny extents
   15.401023] BTRFS: device label 1TB_HOME devid 1 transid 122662 /dev/sda6
   15.401637] BTRFS info (device sda6): disk space caching is enabled
   15.845551] BTRFS critical (device sda6): corrupt node: root=2 block=185906577408 slot=133, bad key order, current (563004472250368 168 802816) next (54603235328 168 749568)
   15.849066] BTRFS critical (device sda6): corrupt node: root=2 block=185906577408 slot=133, bad key order, current (563004472250368 168 802816) next (54603235328 168 749568)
   15.849089] BTRFS error (device sda6): failed to read block groups: -5
   15.866204] BTRFS error (device sda6): open_ctree failed
 
                                                                                                                                 
   33.126267] ata2.00: status: { DRDY }
   33.126268] ata2.00: failed command: READ FPDMA QUEUED
   33.126271] ata2.00: cmd 60/08:c8:38:50:7e/00:00:05:00:00/40 tag 25 ncq dma 4096 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126272] ata2.00: status: { DRDY }
   33.126275] ata2: hard resetting link
   33.317716] audit: type=1400 audit(1587277770.752:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=1698 comm="apparmor_parser"
   33.317921] audit: type=1400 audit(1587277770.752:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1698 comm="apparmor_parser"
   33.442658] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
   33.444675] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
   33.445712] ata2.00: NCQ Send/Recv Log not supported
   33.446003] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
   33.446719] ata2.00: NCQ Send/Recv Log not supported
   33.446722] ata2.00: configured for UDMA/133

   33.456890] sd 1:0:0:0: [sdb] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456891] sd 1:0:0:0: [sdb] tag#23 Sense Key : Illegal Request [current] 
   33.456892] sd 1:0:0:0: [sdb] tag#23 Add. Sense: Unaligned write command
   33.456894] sd 1:0:0:0: [sdb] tag#23 CDB: Read(10) 28 00 00 00 08 38 00 00 08 00
   33.456895] print_req_error: I/O error, dev sdb, sector 2104 flags 80700
   33.456904] sd 1:0:0:0: [sdb] tag#24 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456905] sd 1:0:0:0: [sdb] tag#24 Sense Key : Illegal Request [current] 
   33.456907] sd 1:0:0:0: [sdb] tag#24 Add. Sense: Unaligned write command
   33.456908] sd 1:0:0:0: [sdb] tag#24 CDB: Read(10) 28 00 08 40 59 00 00 00 08 00
   33.456909] print_req_error: I/O error, dev sdb, sector 138434816 flags 80700
   33.456919] sd 1:0:0:0: [sdb] tag#25 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456920] sd 1:0:0:0: [sdb] tag#25 Sense Key : Illegal Request [current] 
   33.456921] sd 1:0:0:0: [sdb] tag#25 Add. Sense: Unaligned write command
   33.456923] sd 1:0:0:0: [sdb] tag#25 CDB: Read(10) 28 00 05 7e 50 38 00 00 08 00
   33.456924] print_req_error: I/O error, dev sdb, sector 92164152 flags 80700




   32.462171] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input21
   32.484997] intel_powerclamp: No package C-state available
   33.126230] ata2.00: exception Emask 0x10 SAct 0x3f00000 SErr 0x2c0100 action 0x6 frozen                                                                                     
   33.126233] ata2.00: irq_stat 0x08000000, interface fatal error
   33.126236] ata2: SError: { UnrecovData CommWake 10B8B BadCRC }
   33.126238] ata2.00: failed command: READ FPDMA QUEUED
   33.126242] ata2.00: cmd 60/78:a0:88:40:0d/00:00:03:00:00/40 tag 20 ncq dma 61440 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126243] ata2.00: status: { DRDY }
   33.126245] ata2.00: failed command: READ FPDMA QUEUED
   33.126248] ata2.00: cmd 60/f8:a8:08:41:0d/00:00:03:00:00/40 tag 21 ncq dma 126976 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126249] ata2.00: status: { DRDY }
   33.126251] ata2.00: failed command: READ FPDMA QUEUED
   33.126254] ata2.00: cmd 60/08:b0:00:e1:fe/00:00:0a:00:00/40 tag 22 ncq dma 4096 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126255] ata2.00: status: { DRDY }
   33.126257] ata2.00: failed command: READ FPDMA QUEUED
   33.126260] ata2.00: cmd 60/08:b8:38:08:00/00:00:00:00:00/40 tag 23 ncq dma 4096 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126261] ata2.00: status: { DRDY }
   33.126262] ata2.00: failed command: READ FPDMA QUEUED
   33.126265] ata2.00: cmd 60/08:c0:00:59:40/00:00:08:00:00/40 tag 24 ncq dma 4096 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126267] ata2.00: status: { DRDY }
   33.126268] ata2.00: failed command: READ FPDMA QUEUED
   33.126271] ata2.00: cmd 60/08:c8:38:50:7e/00:00:05:00:00/40 tag 25 ncq dma 4096 in
                        res 40/00:c0:00:59:40/00:00:08:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
   33.126272] ata2.00: status: { DRDY }
   33.126275] ata2: hard resetting link
   33.317716] audit: type=1400 audit(1587277770.752:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=1698 comm="apparmor_parser"
   33.317921] audit: type=1400 audit(1587277770.752:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1698 comm="apparmor_parser"
   33.442658] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
   33.444675] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
   33.445712] ata2.00: NCQ Send/Recv Log not supported
   33.446003] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
   33.446719] ata2.00: NCQ Send/Recv Log not supported
   33.446722] ata2.00: configured for UDMA/133
   33.456812] sd 1:0:0:0: [sdb] tag#20 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456815] sd 1:0:0:0: [sdb] tag#20 Sense Key : Illegal Request [current] 
   33.456817] sd 1:0:0:0: [sdb] tag#20 Add. Sense: Unaligned write command
   33.456820] sd 1:0:0:0: [sdb] tag#20 CDB: Read(10) 28 00 03 0d 40 88 00 00 78 00
   33.456821] print_req_error: I/O error, dev sdb, sector 51200136 flags 80700
   33.456850] sd 1:0:0:0: [sdb] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456851] sd 1:0:0:0: [sdb] tag#21 Sense Key : Illegal Request [current] 
   33.456853] sd 1:0:0:0: [sdb] tag#21 Add. Sense: Unaligned write command
   33.456854] sd 1:0:0:0: [sdb] tag#21 CDB: Read(10) 28 00 03 0d 41 08 00 00 f8 00
   33.456855] print_req_error: I/O error, dev sdb, sector 51200264 flags 80700
   33.456865] sd 1:0:0:0: [sdb] tag#22 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456867] sd 1:0:0:0: [sdb] tag#22 Sense Key : Illegal Request [current] 
   33.456868] sd 1:0:0:0: [sdb] tag#22 Add. Sense: Unaligned write command
   33.456869] sd 1:0:0:0: [sdb] tag#22 CDB: Read(10) 28 00 0a fe e1 00 00 00 08 00
   33.456870] print_req_error: I/O error, dev sdb, sector 184475904 flags 80700
   33.456890] sd 1:0:0:0: [sdb] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456891] sd 1:0:0:0: [sdb] tag#23 Sense Key : Illegal Request [current] 
   33.456892] sd 1:0:0:0: [sdb] tag#23 Add. Sense: Unaligned write command
   33.456894] sd 1:0:0:0: [sdb] tag#23 CDB: Read(10) 28 00 00 00 08 38 00 00 08 00
   33.456895] print_req_error: I/O error, dev sdb, sector 2104 flags 80700
   33.456904] sd 1:0:0:0: [sdb] tag#24 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456905] sd 1:0:0:0: [sdb] tag#24 Sense Key : Illegal Request [current] 
   33.456907] sd 1:0:0:0: [sdb] tag#24 Add. Sense: Unaligned write command
   33.456908] sd 1:0:0:0: [sdb] tag#24 CDB: Read(10) 28 00 08 40 59 00 00 00 08 00
   33.456909] print_req_error: I/O error, dev sdb, sector 138434816 flags 80700
   33.456919] sd 1:0:0:0: [sdb] tag#25 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
   33.456920] sd 1:0:0:0: [sdb] tag#25 Sense Key : Illegal Request [current] 
   33.456921] sd 1:0:0:0: [sdb] tag#25 Add. Sense: Unaligned write command
   33.456923] sd 1:0:0:0: [sdb] tag#25 CDB: Read(10) 28 00 05 7e 50 38 00 00 08 00
   33.456924] print_req_error: I/O error, dev sdb, sector 92164152 flags 80700
   33.456932] ata2: EH complete


   34.743782] scsi host8: pata_pcmcia
   34.743859] ata7: PATA max PIO0 cmd 0x2100 ctl 0x210e irq 22
   34.790348] iwlwifi 0000:03:00.0: Radio type=0x0-0x2-0x0
   34.951461] iwlwifi 0000:03:00.0: Radio type=0x0-0x2-0x0
   39.193995] ata2.00: exception Emask 0x10 SAct 0x4000000 SErr 0x2c0100 action 0x6 frozen                                                                                     
   39.193999] ata2.00: irq_stat 0x08000000, interface fatal error
   39.194002] ata2: SError: { UnrecovData CommWake 10B8B BadCRC }
   39.194024] ata2.00: failed command: READ FPDMA QUEUED
   39.194028] ata2.00: cmd 60/00:d0:00:3c:0d/02:00:03:00:00/40 tag 26 ncq dma 262144 in
                        res 40/00:d0:00:3c:0d/00:00:03:00:00/40 Emask 0x10 (ATA bus error)                                                                                      

   39.521057] ata2: EH complete
  202.406005] ata2: limiting SATA link speed to 1.5 Gbps
  202.406009] ata2.00: exception Emask 0x10 SAct 0x3000000 SErr 0x2c0100 action 0x6 frozen                                                                                     
  202.406012] ata2.00: irq_stat 0x08000000, interface fatal error
  202.406014] ata2: SError: { UnrecovData CommWake 10B8B BadCRC }
  202.406017] ata2.00: failed command: READ FPDMA QUEUED
  202.406020] ata2.00: cmd 60/78:c0:88:e0:fe/00:00:0a:00:00/40 tag 24 ncq dma 61440 in
                        res 40/00:c8:08:e1:fe/00:00:0a:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
  202.406022] ata2.00: status: { DRDY }
  202.406023] ata2.00: failed command: READ FPDMA QUEUED
  202.406027] ata2.00: cmd 60/f8:c8:08:e1:fe/00:00:0a:00:00/40 tag 25 ncq dma 126976 in
                        res 40/00:c8:08:e1:fe/00:00:0a:00:00/40 Emask 0x10 (ATA bus error)                                                                                      
  202.406028] ata2.00: status: { DRDY }
  202.406032] ata2: hard resetting link
  202.722318] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  202.724347] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
  202.724680] ata2.00: NCQ Send/Recv Log not supported
  202.724940] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
  202.725270] ata2.00: NCQ Send/Recv Log not supported
  202.725273] ata2.00: configured for UDMA/133

  202.735440] ata2: EH complete


  239.324306] wlp3s0: associated
  239.363308] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
  274.421168] perf: interrupt took too long (2507 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
  334.834449] BTRFS info (device sda6): disk space caching is enabled
  335.279201] BTRFS critical (device sda6): corrupt node: root=2 block=185906577408 slot=133, bad key order, current (563004472250368 168 802816) next (54603235328 168 749568)
  335.282769] BTRFS critical (device sda6): corrupt node: root=2 block=185906577408 slot=133, bad key order, current (563004472250368 168 802816) next (54603235328 168 749568)
  335.282779] BTRFS error (device sda6): failed to read block groups: -5
  335.302283] BTRFS error (device sda6): open_ctree failed
  356.641954] perf: interrupt took too long (3143 > 3133), lowering kernel.perf_event_max_sample_rate to 63500
  526.781609] BTRFS info (device sda6): disk space caching is enabled
  527.208083] BTRFS critical (device sda6): corrupt node: root=2 block=185906577408 slot=133, bad key order, current (563004472250368 168 802816) next (54603235328 168 749568)
  527.211553] BTRFS critical (device sda6): corrupt node: root=2 block=185906577408 slot=133, bad key order, current (563004472250368 168 802816) next (54603235328 168 749568)
  527.211564] BTRFS error (device sda6): failed to read block groups: -5
  527.226678] BTRFS error (device sda6): open_ctree failed
kubuntu@kubuntu:~$ 


















https://susepaste.org/25872176

  1. Your title says 15.1, but label on disk says 42.3. Which version you really have?
  2. You have hardware problem related to another disk, Samsung SSD 840 EVO 120GB. Before trying to repair corrupted filesystem, you must make sure no other hardware errors are present on your system. The errors logged may be disk itself, cable or motherboard. I would unplug this disk until problem with btrfs is resolved and investigate it later.
  3. Your filesystem on sda6 is corrupted. Whether this corruption could be result of other hardware issue I cannot say. Your root filesystem seems to be OK (I am guessing based on disk labels, you did not describe your configuration). Based on internet search this type of corruption is fixable, but I would strongly recommend posting to btrfs list asking for guidance. Usually it is pretty responsive. Btrfs mailing list - btrfs Wiki. You will save time if you provide full dmesg (your output is truncated) with your message. Useful information is also kernel that was used when problem happened.
  4. Assuming sda2 is your root filesystem, you should be able to mount it and pull logs at the time of shutdown. May be there are some errors there that could explain corruption.

There are both 42.3 and 15.1 on the drive.

yes, the controller of notebook has issues with SSDs under linux (sdb) /home however is on the harddrive (sda)

/swap
/
/home
/tmp

What are your issues?

erlangen:~ # journalctl -b 0 _KERNEL_SUBSYSTEM=scsi -o short-monotonic 
-- Logs begin at Fri 2020-04-17 11:25:39 CEST, end at Sun 2020-04-19 12:04:42 CEST. --
    1.122007] erlangen kernel: scsi host0: ahci
    1.122257] erlangen kernel: scsi host1: ahci
    1.122522] erlangen kernel: scsi host2: ahci
    1.122671] erlangen kernel: scsi host3: ahci
    1.122744] erlangen kernel: scsi host4: ahci
    1.122782] erlangen kernel: scsi host5: ahci
    1.438630] erlangen kernel: scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EZRX-22S 0A80 PQ: 0 ANSI: 5
    1.439020] erlangen kernel: sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
    1.439024] erlangen kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
    1.439038] erlangen kernel: sd 0:0:0:0: [sda] Write Protect is off
    1.439041] erlangen kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    1.439061] erlangen kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    1.443953] erlangen kernel: scsi 2:0:0:0: Direct-Access     ATA      Samsung SSD 850  3B6Q PQ: 0 ANSI: 5
    1.444342] erlangen kernel: sd 2:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
    1.444362] erlangen kernel: sd 2:0:0:0: [sdb] Write Protect is off
    1.444367] erlangen kernel: sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    1.444393] erlangen kernel: sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    1.449506] erlangen kernel: sd 2:0:0:0: [sdb] supports TCG Opal
    1.449510] erlangen kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
    1.511121] erlangen kernel: sd 0:0:0:0: [sda] Attached SCSI disk
    1.660844] erlangen kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
    1.660869] erlangen kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
erlangen:~ # 

the broken BTRFS filesystem on sda6

what can be applied to fix?

Always something with BTRFS, never had anything with EXT4 :frowning:

Full journal is not a nice read. Post a properly filtered one by running ‘journalctl -b 0 _KERNEL_SUBSYSTEM=scsi -o short-monotonic’. Errors point to a bad link or bad sectors of the partition holding btrfs.

  • Try a raw read of parttion: dd if=/dev/sda6 of=/dev/null bs=4M status=progress
  • Post output of: smartctl -x /dev/sda
  1. at the stop of boot (enter admin password or CTRL-D) I made a mount /dev/sdc6 /home and used a USB stick to start the system.
sudo journalctl -b 0 _KERNEL_SUBSYSTEM=scsi -o short-monotonic
[sudo] Passwort für root:  
-- Logs begin at Mon 2020-04-20 13:43:47 HKT, end at Mon 2020-04-20 13:55:12 HKT. --
    4.296029] linux-3dl9 kernel: scsi host0: ahci
    4.341384] linux-3dl9 kernel: scsi host1: ahci
    4.356019] linux-3dl9 kernel: scsi host2: ahci
    4.364674] linux-3dl9 kernel: scsi host3: ahci
    4.372575] linux-3dl9 kernel: scsi host4: ahci
    4.385322] linux-3dl9 kernel: scsi host5: ahci
    4.700597] linux-3dl9 kernel: **scsi 0:0:0:0: Direct-Access     ATA      WDC WD10JPVX-22J 1A01 PQ: 0 ANSI: 5**
    4.701035] linux-3dl9 kernel: **sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)**
    4.701037] linux-3dl9 kernel: **sd 0:0:0:0: [sda] 4096-byte physical blocks**
    4.701049] linux-3dl9 kernel: **sd 0:0:0:0: [sda] Write Protect is off**
    4.701050] linux-3dl9 kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    4.701071] linux-3dl9 kernel: **sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DP**>
    4.701317] linux-3dl9 kernel: **sd 0:0:0:0: Attached scsi generic sg0 type 0**
    4.784279] linux-3dl9 kernel: **sd 0:0:0:0: [sda] Attached SCSI disk**
    4.996977] linux-3dl9 kernel: scsi host6: usb-storage 3-2:1.0
    5.018745] linux-3dl9 kernel: **scsi 1:0:0:0: Direct-Access     ATA      Samsung SSD 840  BB0Q PQ: 0 ANSI: 5**
    5.018956] linux-3dl9 kernel: **sd 1:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/112 GiB)**
    5.018969] linux-3dl9 kernel: **sd 1:0:0:0: [sdb] Write Protect is off**
    5.018970] linux-3dl9 kernel: sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    5.018990] linux-3dl9 kernel: **sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DP**>
    5.019224] linux-3dl9 kernel: **sd 1:0:0:0: Attached scsi generic sg1 type 0**
    5.021948] linux-3dl9 kernel: **sd 1:0:0:0: [sdb] Attached SCSI disk**
    5.370398] linux-3dl9 kernel: scsi host7: pata_pcmcia
    5.417726] linux-3dl9 kernel: scsi host8: usb-storage 3-1.4:1.0
    6.069248] linux-3dl9 kernel: **scsi 6:0:0:0: Direct-Access     SanDisk  Ultra USB 3.0    1.00 PQ: 0 ANSI: 6**
    6.069589] linux-3dl9 kernel: **sd 6:0:0:0: Attached scsi generic sg2 type 0**
    6.075703] linux-3dl9 kernel: **sd 6:0:0:0: [sdc] 240254976 512-byte logical blocks: (123 GB/115 GiB)**
    6.086450] linux-3dl9 kernel: **sd 6:0:0:0: [sdc] Write Protect is off**
    6.086452] linux-3dl9 kernel: sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
    6.091824] linux-3dl9 kernel: **sd 6:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support D**>
    6.135203] linux-3dl9 kernel: **sd 6:0:0:0: [sdc] Attached SCSI removable disk**
    6.432588] linux-3dl9 kernel: **scsi 8:0:0:0: Direct-Access     SanDisk  Ultra USB 3.0    1.00 PQ: 0 ANSI: 6**
    6.432751] linux-3dl9 kernel: **sd 8:0:0:0: Attached scsi generic sg3 type 0**
    6.433951] linux-3dl9 kernel: **sd 8:0:0:0: [sdd] 492503040 512-byte logical blocks: (252 GB/235 GiB)**
    6.434952] linux-3dl9 kernel: **sd 8:0:0:0: [sdd] Write Protect is off**
    6.434954] linux-3dl9 kernel: sd 8:0:0:0: [sdd] Mode Sense: 43 00 00 00
    6.435950] linux-3dl9 kernel: **sd 8:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support D**>
    6.458842] linux-3dl9 kernel: **sd 8:0:0:0: [sdd] Attached SCSI removable disk**


sudo dd if=/dev/sda6 of=/dev/null bs=4M status=progress
[sudo] Passwort für root:  
697927991296 bytes (698 GB, 650 GiB) copied, 8221 s, 84,9 MB/s
166399+1 Datensätze ein
166399+1 Datensätze aus


sudo smartctl -x /dev/sda
[sudo] Passwort für root:  
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.12.14-lp151.28.44-default] (SUSE RPM)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Blue Mobile
Device Model:     WDC WD10JPVX-22JC3T0
Serial Number:    WD-WX71A253X37A
LU WWN Device Id: 5 0014ee 2611b098c
Firmware Version: 01.01A01
User Capacity:    1.000.204.886.016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Apr 20 16:45:25 2020 HKT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever  
                                        been run.
Total time to complete Offline  
data collection:                (17940) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine  
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 201) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x7035) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   182   178   021    -    1866
  4 Start_Stop_Count        -O--CK   078   078   000    -    22615
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   100   253   000    -    0
  9 Power_On_Hours          -O--CK   098   098   000    -    1560
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    785
191 G-Sense_Error_Rate      -O--CK   001   001   000    -    185501
192 Power-Off_Retract_Count -O--CK   200   200   000    -    166
193 Load_Cycle_Count        -O--CK   171   171   000    -    87041
194 Temperature_Celsius     -O---K   110   096   000    -    37
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb6  GPL,SL  VS       1  Device vendor specific log
0xb7       GPL,SL  VS      38  Device vendor specific log
0xbd       GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      1559         -
# 2  Short offline       Completed without error       00%      1534         -
# 3  Extended offline    Interrupted (host reset)      60%      1455         -
# 4  Short offline       Completed without error       00%      1446         -

cut for length restrictions

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    37 Celsius
Power Cycle Min/Max Temperature:     32/40 Celsius
Lifetime    Min/Max Temperature:     14/51 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    128 (19)

Index    Estimated Time   Temperature Celsius
  20    2020-04-20 14:38    39  ********************
 ...    ..( 25 skipped).    ..  ********************
  46    2020-04-20 15:04    39  ********************
  47    2020-04-20 15:05    40  *********************
 ...    ..( 75 skipped).    ..  *********************
 123    2020-04-20 16:21    40  *********************
 124    2020-04-20 16:22    39  ********************
 ...    ..(  2 skipped).    ..  ********************
 127    2020-04-20 16:25    39  ********************
   0    2020-04-20 16:26    38  *******************
 ...    ..(  5 skipped).    ..  *******************
   6    2020-04-20 16:32    38  *******************
   7    2020-04-20 16:33    37  ******************
 ...    ..( 11 skipped).    ..  ******************
  19    2020-04-20 16:45    37  ******************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

Pending Defects log (GP Log 0x0c) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2         1281  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2            6  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x8000  4        11135  Vendor specific


It it not a hardware issue on this drive.
Last thing I did tried to change the resolution for my monitor to 4K

You may check the file system:

erlangen:~ # btrfsck --force /dev/sdb5
Opening filesystem to check...
WARNING: filesystem mounted, continuing because of --force
Checking filesystem on /dev/sdb5
UUID: 204f7d0f-979a-41e1-a483-a597d0357e0b
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups
found 17842282496 bytes used, no error found
total csum bytes: 14779840
total tree bytes: 874119168
total fs tree bytes: 822083584
total extent tree bytes: 31358976
btree space waste bytes: 166475186
file data blocks allocated: 167272669184
 referenced 54503305216
erlangen:~ # 

started YaST partitioner returns

command '/bin/mount --read-only '/dev/sda6' '/tmp/libstorage-f2Zjqv/tmp-mount-kqG1E7' -o subvol=/' failed:

stderr:
mount: /tmp/libstorage-f2Zjqv/tmp-mount-kqG1E7: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error.


exit code:
32

btrfscheck returns:

inux-3dl9:~> sudo btrfsck --force /dev/sda6
[sudo] Passwort für root:  
Opening filesystem to check...
ERROR: cannot open file system

To identify btrfs run as root: ‘lsblk -f’.

sudo lsblk -f
[sudo] Passwort für root:  
NAME   FSTYPE LABEL         UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                              
├─sda1 ntfs   1TB_Win7      UUID                                     
├─sda2 btrfs  1TB_SUSE423   UUID                 
├─sda3                                                                           
├─sda5 ntfs   HDD_USERS7    UUID                                     
├─sda6 btrfs  1TB_HOME      UUID                 
├─sda7 ext4   TEMP          UUID    9,2G     0% /tmp
├─sda8 ext4                 UUID                 
└─sda9 swap                 UUID                [SWAP]


https://en.opensuse.org/SDB:BTRFS#How_to_repair_a_broken.2Funmountable_btrfs_filesystem

:frowning:

 sudo btrfs scrub start /dev/sda6
[sudo] Passwort für root:  
ERROR: '/dev/sda6' is not a mounted btrfs device
@linux-3dl9:~> sudo btrfs scrub status /dev/sda6
ERROR: '/dev/sda6' is not a mounted btrfs device
@linux-3dl9:~> mount -o usebackuproot /dev/sda6 /mnt
mount: nur „root“ kann die Option „--options“ verwenden
@linux-3dl9:~> sudo mount -o usebackuproot /dev/sda6 /mnt
mount: /mnt: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sda6 ist beschädigt, fehlende Kodierungsseite oder ein andere
r Fehler.

sudo btrfs rescue zero-log /dev/sda6
[sudo] Passwort für root:  
ERROR: could not open ctree
@linux-3dl9:~> sudo mount /dev/sda6 /mnt
mount: /mnt: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sda6 ist beschädigt, fehlende Kodierungsseite oder ein andere
r Fehler.
@linux-3dl9:~> sudo btrfs rescue super-recover -v /dev/sda6
All Devices:
        Device: id = 1, name = /dev/sda6

Before Recovering:
        [All good supers]:
                device name = /dev/sda6
                superblock bytenr = 65536

                device name = /dev/sda6
                superblock bytenr = 67108864

                device name = /dev/sda6
                superblock bytenr = 274877906944

        [All bad supers]:

All supers are valid, no need to recover


I am unsure about the outcome. Does the filesystem work now?

Still not working

Anyone some more ideas?