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 error & I/O error - appdata = read only

Featured Replies

Hello,

 

since a few days i have had several problems with my system:

 

  • I use ioBroker and it crashed twice with a database error and i´am not able to bring it back to life.
  • I tried to delete the appdata/iobroker folder and it´s read only. I´am not able to delete that files
  • I also have some strange errors with one of my shares. after copying some files from windows to the share it´s read only, too.
  • After restarting unraid, i was able to delete one folder from appdata/iobroker and then it´s read only again.
  • After restarting Unraid, some dockers crashes with "Error code 403".

 

The terminal gives me some errors:

Quote

Nov 12 17:40:48 NAS kernel: BTRFS error (device loop2: state EA): bdev /dev/loop2 errs: wr 89, rd 0, flush 0, corrupt 0, gen 0
Nov 12 17:40:48 NAS kernel: I/O error, dev loop2, sector 8043296 op 0x1:(WRITE) flags 0x100000 phys_seg 9 prio class 0
Nov 12 17:40:48 NAS kernel: I/O error, dev loop2, sector 1401600 op 0x1:(WRITE) flags 0x100000 phys_seg 2 prio class 0
Nov 12 17:40:48 NAS kernel: BTRFS error (device loop2: state EA): bdev /dev/loop2 errs: wr 90, rd 0, flush 0, corrupt 0, gen 0
Nov 12 17:40:48 NAS kernel: BTRFS error (device loop2: state EA): bdev /dev/loop2 errs: wr 91, rd 0, flush 0, corrupt 0, gen 0
Nov 12 17:40:48 NAS kernel: I/O error, dev loop2, sector 7214720 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Nov 12 17:40:48 NAS kernel: BTRFS error (device loop2: state EA): bdev /dev/loop2 errs: wr 92, rd 0, flush 0, corrupt 0, gen 0
Nov 12 17:40:48 NAS kernel: I/O error, dev loop2, sector 7940168 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Nov 12 17:40:48 NAS kernel: BTRFS error (device loop2: state EA): bdev /dev/loop2 errs: wr 93, rd 0, flush 0, corrupt 0, gen 0

 

One of my cache disk, where appdata is stored, gives me a BTRFS error:

 

Nov 12 17:36:13 NAS kernel: nvme0n1: p1
Nov 12 17:36:13 NAS kernel: BTRFS: device fsid 09cc234c-ab76-4f48-9de5-664c1202412e devid 1 transid 2261282 /dev/nvme0n1p1 scanned by udevd (775)
Nov 12 17:36:28 NAS  emhttpd: SAMSUNG_MZVKW512HMJP-000H1_S34CNX0J644674 (nvme0n1) 512 1000215216
Nov 12 17:36:28 NAS  emhttpd: import 35 cache device: (nvme0n1) SAMSUNG_MZVKW512HMJP-000H1_S34CNX0J644674
Nov 12 17:36:28 NAS  emhttpd: read SMART /dev/nvme0n1
Nov 12 17:38:03 NAS  emhttpd: shcmd (143): mount -t btrfs -o noatime,space_cache=v2 /dev/nvme0n1p1 /mnt/cache_data
Nov 12 17:38:03 NAS kernel: BTRFS info (device nvme0n1p1): using free space tree
Nov 12 17:38:03 NAS kernel: BTRFS info (device nvme0n1p1): has skinny extents
Nov 12 17:38:03 NAS kernel: BTRFS info (device nvme0n1p1): enabling ssd optimizations
Nov 12 17:38:03 NAS kernel: BTRFS info (device nvme0n1p1): start tree-log replay
Nov 12 17:40:18 NAS kernel: BTRFS info (device nvme0n1p1): leaf 493919158272 gen 2261288 total ptrs 188 free space 1619 owner 2
Nov 12 17:40:18 NAS kernel: BTRFS error (device nvme0n1p1): unable to find ref byte nr 23281922048 parent 0 root 5  owner 9282302 offset 0
Nov 12 17:40:18 NAS kernel: BTRFS: error (device nvme0n1p1: state A) in __btrfs_free_extent:3079: errno=-2 No such entry
Nov 12 17:40:18 NAS kernel: BTRFS info (device nvme0n1p1: state EA): forced readonly
Nov 12 17:40:18 NAS kernel: BTRFS: error (device nvme0n1p1: state EA) in btrfs_run_delayed_refs:2157: errno=-2 No such entry
Nov 12 17:46:16 NAS  emhttpd: spinning down /dev/nvme0n1
Nov 12 17:46:17 NAS  emhttpd: sdspin /dev/nvme0n1 down: 25

 

Really strange errors... I need help for that.

 

THNAKS!!

 

 

nas-diagnostics-20231112-1750.zip

Edited by Master-Rudi

Solved by JorgeB

  • Community Expert
  • Solution

There's filesystem corruption on the pool, and it's going read-only, suggest backup and re-format, probably better to also recreate the docker image.

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...

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.