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.

xfs_repair to fix a corrupt file on... a btrfs volume?

Featured Replies

So I read this:

Because I was trying to move an UNUSED hass VM. 

When I set it up to move it from my "Cache" pool to my array, this is what I got:

 

Oct 21 00:50:58 sebunraid1 root: mover: started
Oct 21 00:50:58 sebunraid1  move: file: /mnt/cache/downloads/vmstorage/haos_ova-10.0.qcow2
Oct 21 00:51:00 sebunraid1 kernel: BTRFS warning (device sdh1): csum failed root 5 ino 789 off 3631906816 csum 0x7983a069 expected csum 0x7983a061 mirror 1
Oct 21 00:51:00 sebunraid1 kernel: BTRFS error (device sdh1): bdev /dev/sdh1 errs: wr 0, rd 0, flush 0, corrupt 479, gen 0
Oct 21 00:51:00 sebunraid1 kernel: BTRFS warning (device sdh1): csum failed root 5 ino 789 off 3631906816 csum 0x7983a069 expected csum 0x7983a061 mirror 1
Oct 21 00:51:00 sebunraid1 kernel: BTRFS error (device sdh1): bdev /dev/sdh1 errs: wr 0, rd 0, flush 0, corrupt 480, gen 0
Oct 21 00:51:00 sebunraid1 kernel: BTRFS warning (device sdh1): csum failed root 5 ino 789 off 3631906816 csum 0x7983a069 expected csum 0x7983a061 mirror 1
Oct 21 00:51:00 sebunraid1 kernel: BTRFS error (device sdh1): bdev /dev/sdh1 errs: wr 0, rd 0, flush 0, corrupt 481, gen 0
Oct 21 00:51:00 sebunraid1  shfs: copy_file: /mnt/cache/downloads/vmstorage/haos_ova-10.0.qcow2 /mnt/disk7/downloads/vmstorage/haos_ova-10.0.qcow2.partial (5) Input/output error
Oct 21 00:51:00 sebunraid1 kernel: BTRFS warning (device sdh1): csum failed root 5 ino 789 off 3631906816 csum 0x7983a069 expected csum 0x7983a061 mirror 1
Oct 21 00:51:00 sebunraid1 kernel: BTRFS error (device sdh1): bdev /dev/sdh1 errs: wr 0, rd 0, flush 0, corrupt 482, gen 0
Oct 21 00:51:01 sebunraid1  move: move_object: /mnt/cache/downloads/vmstorage/haos_ova-10.0.qcow2 Input/output error
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): Metadata corruption detected at xfs_dinode_verify+0xa0/0x732 [xfs], inode 0x41ba27f dinode
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): Unmount and run xfs_repair
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): First 128 bytes of corrupted metadata buffer:
Oct 21 00:51:01 sebunraid1 kernel: 00000000: 49 4e 41 ff 03 01 00 00 00 00 00 63 00 00 00 64  INA........c...d
Oct 21 00:51:01 sebunraid1 kernel: 00000010: 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000020: 35 27 21 3c 8b c9 b9 db 35 27 21 3c 8b c9 b9 db  5'!<....5'!<....
Oct 21 00:51:01 sebunraid1 kernel: 00000030: 35 27 21 3c 8b c9 b9 db 00 00 00 00 00 00 00 16  5'!<............
Oct 21 00:51:01 sebunraid1 kernel: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000050: 00 00 00 02 00 00 00 00 00 00 00 00 40 f5 24 e0  ............@.$.
Oct 21 00:51:01 sebunraid1 kernel: 00000060: ff ff ff ff 90 cc 1a ae 00 00 00 00 00 00 00 04  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000070: 00 00 00 71 00 01 44 9e 00 00 00 00 00 00 00 08  ...q..D.........
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): Metadata corruption detected at xfs_dinode_verify+0xa0/0x732 [xfs], inode 0x41ba27f dinode
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): Unmount and run xfs_repair
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): First 128 bytes of corrupted metadata buffer:
Oct 21 00:51:01 sebunraid1 kernel: 00000000: 49 4e 41 ff 03 01 00 00 00 00 00 63 00 00 00 64  INA........c...d
Oct 21 00:51:01 sebunraid1 kernel: 00000010: 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000020: 35 27 21 3c 8b c9 b9 db 35 27 21 3c 8b c9 b9 db  5'!<....5'!<....
Oct 21 00:51:01 sebunraid1 kernel: 00000030: 35 27 21 3c 8b c9 b9 db 00 00 00 00 00 00 00 16  5'!<............
Oct 21 00:51:01 sebunraid1 kernel: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000050: 00 00 00 02 00 00 00 00 00 00 00 00 40 f5 24 e0  ............@.$.
Oct 21 00:51:01 sebunraid1 kernel: 00000060: ff ff ff ff 90 cc 1a ae 00 00 00 00 00 00 00 04  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000070: 00 00 00 71 00 01 44 9e 00 00 00 00 00 00 00 08  ...q..D.........
Oct 21 00:51:01 sebunraid1 root: find: '/mnt/docker/appdata/binhex-plex/Plex Media Server/Media/localhost/9/bb2e252632253f6ce86cf38df9c8762e9c23acd.bundle': Structure needs cleaning
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): Metadata corruption detected at xfs_dinode_verify+0xa0/0x732 [xfs], inode 0x41ba27f dinode
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): Unmount and run xfs_repair
Oct 21 00:51:01 sebunraid1 kernel: XFS (sdi1): First 128 bytes of corrupted metadata buffer:
Oct 21 00:51:01 sebunraid1 kernel: 00000000: 49 4e 41 ff 03 01 00 00 00 00 00 63 00 00 00 64  INA........c...d
Oct 21 00:51:01 sebunraid1 kernel: 00000010: 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000020: 35 27 21 3c 8b c9 b9 db 35 27 21 3c 8b c9 b9 db  5'!<....5'!<....
Oct 21 00:51:01 sebunraid1 kernel: 00000030: 35 27 21 3c 8b c9 b9 db 00 00 00 00 00 00 00 16  5'!<............
Oct 21 00:51:01 sebunraid1 kernel: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000050: 00 00 00 02 00 00 00 00 00 00 00 00 40 f5 24 e0  ............@.$.
Oct 21 00:51:01 sebunraid1 kernel: 00000060: ff ff ff ff 90 cc 1a ae 00 00 00 00 00 00 00 04  ................
Oct 21 00:51:01 sebunraid1 kernel: 00000070: 00 00 00 71 00 01 44 9e 00 00 00 00 00 00 00 08  ...q..D.........
Oct 21 00:51:01 sebunraid1  move: error: move, 392: Structure needs cleaning (117): lstat: /mnt/docker/appdata/binhex-plex/Plex Media Server/Media/localhost/9/bb2e252632253f6ce86cf38df9c8762e9c23acd.bundle
Oct 21 00:51:01 sebunraid1 root: mover: finished

Why??  How can I fix this BTRFS error? 
If I remove the drive altogether (which is what I'm trying to do), will this mess up everything?

  • Community Expert

sdh has btrfs issues, sdi has xfs issues, they are two separate devices.

 

btrfs is detecting data corruption, so start by running memtest.

  • Author

Well, I tried, but somehow memtest won't load.

i'm starting to be very afraid of this.

i lost my Docker vDisk last night, no way to find it again, it doesnt seem to exist anymore. 
so yes, corruption is definitely present. But I can't fix it with memtest right now. I may have no choice but to keep generating more for the moment.

 

so in the meantime, how to I wipe this clean? Can't I just remove the btrfs disk and reformat it to xfs, then start fresh?

  • Community Expert
4 hours ago, couzin2000 said:

Well, I tried, but somehow memtest won't load.

The version of memtest supplied with Unraid will only work if you boot in legacy mode.   If you boot in UEFI mode then you should get the latest version from memtest86.com.

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.