Jump to content

BTRFS ERROR ON NVME CACHE DRIVE


Go to solution Solved by JorgeB,

Recommended Posts

Nov 13 19:07:09 DIYNEZ kernel: nvme0n1: p1
Nov 13 19:07:09 DIYNEZ kernel: BTRFS: device fsid 46915c09-09f9-4fcb-a2f4-c0cc79b4ea7d devid 1 transid 1563387 /dev/nvme0n1p1 scanned by udevd (756)
Nov 13 19:07:29 DIYNEZ  emhttpd: WDS100T3X0C-00SJG0_20485T800016 (nvme0n1) 512 1953525168
Nov 13 19:07:29 DIYNEZ  emhttpd: import 30 cache device: (nvme0n1) WDS100T3X0C-00SJG0_20485T800016
Nov 13 19:07:29 DIYNEZ  emhttpd: read SMART /dev/nvme0n1
Nov 13 19:07:41 DIYNEZ  emhttpd: shcmd (56): mount -t btrfs -o noatime,space_cache=v2 /dev/nvme0n1p1 /mnt/cache
Nov 13 19:07:41 DIYNEZ kernel: BTRFS info (device nvme0n1p1): using free space tree
Nov 13 19:07:41 DIYNEZ kernel: BTRFS info (device nvme0n1p1): has skinny extents
Nov 13 19:07:41 DIYNEZ kernel: BTRFS info (device nvme0n1p1): bdev /dev/nvme0n1p1 errs: wr 0, rd 0, flush 0, corrupt 3, gen 0
Nov 13 19:07:41 DIYNEZ kernel: BTRFS info (device nvme0n1p1): enabling ssd optimizations
Nov 13 19:07:41 DIYNEZ kernel: BTRFS info (device nvme0n1p1): start tree-log replay
Nov 13 19:07:41 DIYNEZ kernel: BTRFS critical (device nvme0n1p1): unable to find logical 18413109377621987328 length 4096
Nov 13 19:07:41 DIYNEZ kernel: BTRFS critical (device nvme0n1p1): unable to find logical 18413109377621987328 length 16384
Nov 13 19:07:41 DIYNEZ kernel: BTRFS: error (device nvme0n1p1) in btrfs_replay_log:2500: errno=-5 IO failure (Failed to recover log tree)
Nov 13 19:07:41 DIYNEZ root: mount: /mnt/cache: can't read superblock on /dev/nvme0n1p1.
Nov 13 19:07:41 DIYNEZ kernel: BTRFS error (device nvme0n1p1: state E): open_ctree failed

** Press ANY KEY to close this window ** 

 

diynez-diagnostics-20221113-1929.zip

Edited by neunghaha28
Link to comment
  • Solution

If the current issue is limited to the log tree like that log snipped appears to indicate it might be solved by zeroing it, but first, and if backups are not up to date, recommend first using option #1  here to backup anything important, then try:

 

btrfs rescue zero-log /dev/nvme0n1p1

 

If it works and since btrfs was detecting some corruption

5 minutes ago, neunghaha28 said:
corrupt 3

you should run a scrub after mount.

  • Like 1
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...