Cannot boot: BTRFS error ... help please everything is down!


Ystebad

Recommended Posts

server went down. Was unable to stream over WAN.

came home to find it nonresponsive over the lan via IP login.  wouldn't respond to ping

rebooted and it will get to login but shortly (within a few seconds) then locks up saying:

 

"login: BTRFS: error (device nvme0n1p1) in btrfs_replay_log:2279: errno=-22 unknown (Failed to recover log tree).

 

I can boot to safe mode.

 

please help I need to get server back up and running.

Edited by Ystebad
Link to comment
1 hour ago, Ystebad said:

"login: BTRFS: error (device nvme0n1p1) in btrfs_replay_log:2279: errno=-22 unknown (Failed to recover log tree).

 

When you see this next, press enter then login normally at the command prompt, followed by

diagnostics

The diagnostics file will get saved onto the flash drive (logs folder)

powerdown

then pull the flash and upload the entire applicable zip file here

Link to comment
11 hours ago, Squid said:

When you see this next, press enter then login normally at the command prompt, followed by

diagnostics

The diagnostics file will get saved onto the flash drive (logs folder)

powerdown

then pull the flash and upload the entire applicable zip file here

 

@Squid @JorgeB- ran diagnostics from safe boot.  Attached.  Appreciate any help as machine will still not boot in normal (non-gui) mode

 

monster-diagnostics-20211118-0831.zip

Edited by Ystebad
Link to comment
3 hours ago, JorgeB said:

Diags after array start please.

 

I didn't realize the IP server login would work in safe mode .. duh.

 

This time after booting in safe mode I logged into server over IP to get access to GUI and start array.  It did note an error with one of my 3 cache disks and mentioned I would have to format it.  I hope not. 

 

New diagnostics attached.

 

monster-diagnostics-20211119-0657.zip

Link to comment
26 minutes ago, JorgeB said:

If don't have an appdata backup you'll lose the settings.

Well @$%^ me.  Here I thought have 2 parity drives would keep this kind of thing from happening.  So disappointing.  I've ordered 2 new drives and will be installing into mirror for cache going forward.  Is there a best practice for auto-backup of app data?

 

 

Link to comment
19 minutes ago, Ystebad said:

I thought have 2 parity drives would keep this kind of thing from happening.

20 minutes ago, Ystebad said:

mirror for cache going forward

And in general, 2 parity drives are not a substitute for backup, and neither is mirrored cache. Lots of ways to lose data that neither of those will help with, including user error.

 

 

Link to comment
2 hours ago, JorgeB said:

There's fs corruption on that device, you can see here some recovery options.

 

trying to follow that - the dead drive is called "Cache_nvme" under device and SPCC_M.2_PCIe_SSD_CD8E07080A9E04566172 (nvme0n1) under identification.

 

I don't see either of these under /dev

 

not sure therefore what to use for the "mount -o usebackuproot,ro /dev/sdX1 /x" argument for /sdX1

 

thank you so much for the help.

 

Edited by Ystebad
Link to comment
22 minutes ago, JorgeB said:

For NVMe devices is /dev/nvmeXn1p1

 

Replace X with correct number.

 

Got this:

root@Monster:/dev# mount -o usebackuproot,ro /dev/nvme0n1p1 /x
mount: /x: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error.

 

same result if I use the degraded option as well.

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.