dkrutz Posted July 30, 2022 Share Posted July 30, 2022 So I have made a few mistakes. originally my cache drive got full due to a wrongful setup with a docker and unraid forced it into read only mode. I tried a few things to get it out of read only mode and to get the mover up and running to move everything off the cache drive. It went painfully slow. like kbps slow. Long story short I tried putting another cache drive in its place to try to help. Not sure what I was expecting to happen but now everythings a mess. I am trying to get everything off the cache drive and start my server back up again and fix it all. to make matters worse I the cache drive I put in as a sub cache drive ironically had the backup of my app data on it. I forogt I had set it to backup to that specific disk that was just sitting in my unraid box. The original cache drive now shows as Unmountable: No pool uuid. I tried coping from the cache drive using the recovery stuff outlined and tried following the btrfs restore info without success. Im lost and pretty sure I should have reached out for help long before I got myself into all this. attached are the diags. darktower-diagnostics-20220730-1229.zip Quote Link to comment
JorgeB Posted July 31, 2022 Share Posted July 31, 2022 No btrfs filesystems are being detected on boot suggesting they are not connected or were wiped, you only have an NVMe device assigned as cache, was that a previous cache device? Any more previous cache devices still connected? Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 Sorry for the multi post i thought I deleted it. The nvme is the one that was the original cache that had all my app data yes. It is currently sitting in unassigned devices as unmountable. Quote Link to comment
JorgeB Posted July 31, 2022 Share Posted July 31, 2022 Type in the console: btrfs-select-super -s 1 /dev/nvme0n1p1 If the command is successful see if it now mounts with UD or after re-assign to a pool, but to a pool without missing devices or it can be wiped (again). Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 using SB copy 1, bytenr 67108864 Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 heres an updated diagnostics as well. I thought the drive failed so I purchased a new cache drive and plugged it in. The nvme is still the old drive that was being used. darktower-diagnostics-20220731-0834.zip Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 it shows mount and I can click it. Says mounting then just goes back to the orange mount button. Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 Jul 31 08:47:26 DarkTower unassigned.devices: Mount drive command: /sbin/mount -t 'btrfs' -o ro,noatime,nodiratime,discard '/dev/nvme0n1p1' '/mnt/disks/S5H9NS0N923314M' Jul 31 08:47:26 DarkTower kernel: BTRFS info (device nvme0n1p1): turning on sync discard Jul 31 08:47:26 DarkTower kernel: BTRFS info (device nvme0n1p1): using free space tree Jul 31 08:47:26 DarkTower kernel: BTRFS info (device nvme0n1p1): has skinny extents Jul 31 08:47:26 DarkTower kernel: BTRFS error (device nvme0n1p1): devid 2 uuid 215b2157-381d-4cdd-b0de-c60c39df6c28 is missing Jul 31 08:47:26 DarkTower kernel: BTRFS error (device nvme0n1p1): failed to read chunk tree: -2 Jul 31 08:47:26 DarkTower kernel: BTRFS error (device nvme0n1p1): open_ctree failed Jul 31 08:47:26 DarkTower unassigned.devices: Mount of 'nvme0n1p1' failed: 'mount: /mnt/disks/S5H9NS0N923314M: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error. ' Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 darktower-diagnostics-20220731-0848.zip Quote Link to comment
JorgeB Posted July 31, 2022 Share Posted July 31, 2022 1 minute ago, dkrutz said: devid 2 uuid 215b2157-381d-4cdd-b0de-c60c39df6c28 is missing That means the pool had another device, which is now missing, do you know/still have that device? Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 I think thats from when i had added a drive to the cache grouping to see if it would work. that drive had nothing on it. It was part of my dumb troubleshooting. it is this drive SanDisk_SDSSDH3_1T02_1946BC800591 (sdc) Quote Link to comment
JorgeB Posted July 31, 2022 Share Posted July 31, 2022 Type: btrfs-select-super -s 1 /dev/sdc1 Then post new diags. Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 darktower-diagnostics-20220731-0853.zip Quote Link to comment
JorgeB Posted July 31, 2022 Share Posted July 31, 2022 Please post the output of: btrfs fi show Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 Label: none uuid: d49d0a55-5dcc-4d92-9501-af971272be59 Total devices 1 FS bytes used 23.45GiB devid 1 size 3.64TiB used 25.02GiB path /dev/sdf1 Label: none uuid: ab8c0c16-6f0a-4dd3-a238-d2fa7db4b6bd Total devices 1 FS bytes used 8.35GiB devid 1 size 70.00GiB used 11.02GiB path /dev/loop2 Label: 'S5H9NS0N923314M' uuid: 50e52176-fd38-4291-b1f8-9fb63d6b581d Total devices 2 FS bytes used 921.42GiB devid 1 size 931.51GiB used 931.51GiB path /dev/nvme0n1p1 *** Some devices missing Label: 'SanDisk_SDSSDH3_1T02_1946BC800591' uuid: 553e5f4a-694b-46d2-abdb-8ce7a39aeac8 Total devices 1 FS bytes used 152.00KiB devid 1 size 953.87GiB used 1.01GiB path /dev/sdc1 Quote Link to comment
Solution JorgeB Posted July 31, 2022 Solution Share Posted July 31, 2022 Sdc is part of a different filesystem, should still be able to recover data from the NVMe device using the recovery options here, use the ones that have 'degraded' in the mount options. Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 Did the temp directory sent this command mount -o degraded,usebackuproot,ro /dev/nvme0n1p1 /temp should I have done that command without the p1 jsut nvme0n1? now shows mounted 0b of 0b used Quote Link to comment
JorgeB Posted July 31, 2022 Share Posted July 31, 2022 Browse /temp with for example midnight commander (mc on the console) and check contents. Quote Link to comment
dkrutz Posted July 31, 2022 Author Share Posted July 31, 2022 I'm dumb I was looking in the tmp folder not the temp folder.... Its all there I'm starting the copy now. Your a lifesaver! ill post back when I get it all back and running! 1 Quote Link to comment
Recommended Posts
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.