Jump to content

[SOLVED] Dying cache drive?


Recommended Posts

Hi guys,

I ran pm-suspend on my unraid server to try to fix the header type 127 VM bug. I woke the server up and it hadn't worked. So I rebooted it.

 

Now I get the following errors on the console when the cache drive ties to mount:

 

Apr 24 19:47:17 Krieger emhttpd: shcmd (73): mount -t btrfs -o noatime,nodiratime -U 654c77cd-a2b1-470a-bebe-55a1287689f0 /mnt/cache
Apr 24 19:47:17 Krieger kernel: BTRFS info (device dm-2): disk space caching is enabled
Apr 24 19:47:17 Krieger kernel: BTRFS info (device dm-2): has skinny extents
Apr 24 19:47:17 Krieger kernel: BTRFS error (device dm-2): bad tree block start, want 483444981760 have 8354356187505211028
Apr 24 19:47:17 Krieger kernel: BTRFS error (device dm-2): failed to read block groups: -5
Apr 24 19:47:17 Krieger kernel: BTRFS error (device dm-2): open_ctree failed
Apr 24 19:47:17 Krieger root: mount: /mnt/cache: wrong fs type, bad option, bad superblock on /dev/mapper/nvme0n1p1, missing codepage or helper program, or other error.
Apr 24 19:47:17 Krieger emhttpd: shcmd (73): exit status: 32
Apr 24 19:47:17 Krieger emhttpd: /mnt/cache mount error: No file system
Apr 24 19:47:17 Krieger emhttpd: shcmd (74): umount /mnt/cache
Apr 24 19:47:17 Krieger root: umount: /mnt/cache: not mounted.

I have tried to mount the drive as here:

 

But no matter what I try I get "mount: /x: wrong fs type, bad option, bad superblock on /dev/mapper/nvme0n1p1, missing codepage or helper program, or other error."

^the cache is encrypted thats why the device is in /mapper

 

Any other options or is my cache dead? Thanks =\

 

Diagnostics attached.

krieger-diagnostics-20200424-2016.zip

Edited by MystX
Link to comment

OK it seems like I've got things mostly sorted.

 

For internet prosperity what I did was follow the guide linked above to restore the cache drive to another drive. Formatted the cache drive, copied everything back over.

Unfortunately my libvirt and docker images were still broken. I restored both from a backup.

Libvirt was ok after the backup restore but docker was not. Had to delete my docker image, recreate it, then re-install all the dockers from community applications 'previous apps' menu.

 

Thank Johnnie

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