Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BTRFS Errors on my cache drive

Featured Replies

Jan 2 22:10:48 Mk4Alpha kernel: BTRFS critical (device sdh1): corrupt leaf: root=5 block=1941354676224 slot=7 ino=867078, dir item name len too long, have 65535 max 255

 

Hey All,

 

I'm getting the above error on my cache drive. It's a 250GB SSD. Smart status shows everything as good, with no errors. The following is the device log upon boot:

 


Jan 2 22:01:53 Mk4Alpha kernel: ata9: SATA max UDMA/133 abar m2048@0xfbcee000 port 0xfbcee100 irq 27
Jan 2 22:01:53 Mk4Alpha kernel: ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Jan 2 22:01:53 Mk4Alpha kernel: ata9.00: ATA-9: WDC WDS250G1B0A-00H9H0, 164204A00692, X41100WD, max UDMA/133
Jan 2 22:01:53 Mk4Alpha kernel: ata9.00: 488397168 sectors, multi 1: LBA48 NCQ (depth 32), AA
Jan 2 22:01:53 Mk4Alpha kernel: ata9.00: configured for UDMA/133
Jan 2 22:01:54 Mk4Alpha kernel: sd 9:0:0:0: [sdh] 488397168 512-byte logical blocks: (250 GB/233 GiB)
Jan 2 22:01:54 Mk4Alpha kernel: sd 9:0:0:0: [sdh] 4096-byte physical blocks
Jan 2 22:01:54 Mk4Alpha kernel: sd 9:0:0:0: [sdh] Write Protect is off
Jan 2 22:01:54 Mk4Alpha kernel: sd 9:0:0:0: [sdh] Mode Sense: 00 3a 00 00
Jan 2 22:01:54 Mk4Alpha kernel: sd 9:0:0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 2 22:01:54 Mk4Alpha kernel: sdh: sdh1
Jan 2 22:01:54 Mk4Alpha kernel: sd 9:0:0:0: [sdh] Attached SCSI disk
Jan 2 22:01:54 Mk4Alpha kernel: BTRFS: device fsid 5d1d1496-1fbf-4f1a-a777-2bb83907d25d devid 1 transid 1867878 /dev/sdh1
Jan 2 22:02:52 Mk4Alpha emhttpd: WDC_WDS250G1B0A-00H9H0_164204A00692 (sdh) 512 488397168
Jan 2 22:02:52 Mk4Alpha emhttpd: import 30 cache device: (sdh) WDC_WDS250G1B0A-00H9H0_164204A00692
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): disk space caching is enabled
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): has skinny extents
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): bdev /dev/sdh1 errs: wr 0, rd 0, flush 0, corrupt 22, gen 0
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): enabling ssd optimizations
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): checking UUID tree
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): resizing devid 1
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS info (device sdh1): new size for /dev/sdh1 is 250059317248
Jan 2 22:02:58 Mk4Alpha kernel: BTRFS error (device sdh1): balance: invalid convert data profile raid1
Jan 2 22:10:48 Mk4Alpha kernel: BTRFS critical (device sdh1): corrupt leaf: root=5 block=1941354676224 slot=7 ino=867078, dir item name len too long, have 65535 max 255

 

 

root@Mk4Alpha:~# btrfs check --force /dev/sdh1
WARNING: filesystem mounted, continuing because of --force
Checking filesystem on /dev/sdh1
UUID: 5d1d1496-1fbf-4f1a-a777-2bb83907d25d
checking extents
checking free space cache
checking fs roots
ERROR: DIR_ITEM[867078 51821248] name f4H namelen 34 filetype 2 mismatch with its hash, wanted 51821248 have 1962111856
root 5 inode 867078 errors 210, odd dir item, dir isize wrong
        unresolved ref dir 867078 index 0 namelen 34 name f4H filetype 2 errors 106, no dir index, no inode ref, name too long
        unresolved ref dir 867078 index 3011 namelen 2 name f4 filetype 2 errors 1, no dir item
root 5 inode 35211294 errors 2000, link count wrong
        unresolved ref dir 867078 index 17923 namelen 2 name f4 filetype 2 errors 1, no dir item
ERROR: errors found in fs roots
found 150197137408 bytes used, error(s) found
total csum bytes: 144198528
total tree bytes: 838418432
total fs tree bytes: 604864512
total extent tree bytes: 58114048
btree space waste bytes: 210021573
file data blocks allocated: 328467316736
 referenced 148266102784

Thanks for any feedback!!

Edited by Blaze9

  • Community Expert

Next time please post the diagnostics but based on the error best way forward is to backup cache data, re-format and restore data.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.