Jump to content

Umountable cache drive recovery


Go to solution Solved by JorgeB,

Recommended Posts

Posted (edited)

Hello,

I am having issues with my cache drive since last night. When I woke up this morning, Docker containers were down and after a reboot my cache is now flagged as Unmountable

 

image.thumb.png.47882d5a0153ad9c00868aea93452ccf.png

 

I was directed to this comment by Fix commons problem and have tried the three proposed solutions including btrfs check --repair

 

And all I am getting are in the like of :

 

Starting repair.
Opening filesystem to check...
No valid Btrfs found on /dev/nvme1n1
ERROR: cannot open file system

 

 

I'm pretty sure I already know I'm dead and the only solution would be to format (or even replace long term), but I'm also a sad tired clown with not so great habits on the backup side of things in the past few months, and I would very much love to be able to get my appdata back.

 

 

george-diagnostics-20240522-1210.zip

 

Edit : English is not my first language, sorry if I wasn't explaining myself correctly

Edited by 01max
Link to comment

NVMe device failed:

 

SMART overall-health self-assessment test result: FAILED!
- available spare has fallen below threshold
- media has been placed in read only mode

 

You may still be able to mount the pool read only following the FAQ instruction and copy the data, but don't forget to specify the partition in the end, it must be /dev/nvme1n1p1

 

 

Link to comment

Thank you so much for your answer !

 

> SMART overall-health self-assessment test result: FAILED!

Replacement it is then. Thanks

 

To mount, as indicated in the FAQ thread, I tried :

 

~# mount -o rescue=all,ro /dev/nvme1n1p1 /temp
mount: /temp: unknown filesystem type 'crypto_LUKS'.
       dmesg(1) may have more information after failed mount system call.

 

So I guess I'm stuck there, or is there a way to do that even with the encryption ? I don't find anything solid online and I definitely don't want to do anything stupid that would worsen my chances of getting my data back, so sorry if it's a stupid question.

Link to comment

That did it ! I was able to get my appdata back thanks to you @JorgeB you saved me hours / days of painful (re)config. I sent you some beer money for your trouble !

 

Here are the exact command I had to use to mount the drive if some poor souls get into the same situation as me :
 

cryptsetup luksOpen /dev/nvme1n1p1 temp_cache
mkdir /mnt/temp_cache
mount -o rescue=all,ro /dev/mapper/temp_cache /mnt/temp_cache/

 

 

Thanks again !

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