March 11, 20242 yr Here's how I got here: I moved drives to different hardware (pc). I had 2 drives in a pool on the old system. I moved only 1 of the drives from the pool over to the new server and realized my mistake. I added the 2nd drive from the pool to the new rig and would receive this drive will get wiped on array start message. I followed directions in another post to remove the drives from the cache pool and start array without the drives. Stop array and then add them back in restarted array. This seemed to work and the server seemed like it was in it's previous state. Later in the night I rebooted the server and both drives seemed to be wiped with no file system. Both of the drives The drives were in btrfs format. I also did not format drives. Is there any way to salvage the drives info and restore my server? Thank you for your time/help. monolith-diagnostics-20240311-0801.zip
March 11, 20242 yr Author root@Monolith:~# btrfs fi show Label: none uuid: cc168293-0670-41ca-955b-014ba3907a73 Total devices 1 FS bytes used 14.06GiB devid 1 size 30.00GiB used 19.99GiB path /dev/loop2 root@Monolith:~# fdisk -l /dev/nvme0n1 Disk /dev/nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: Samsung SSD 970 EVO Plus 2TB Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
March 11, 20242 yr Community Expert The device doesn't have a partition, I assume the other one is the same since no valid btrfs filesystem is being detected, so something deleted the partitions, if that's all that happened the pool may still be recoverable, type: sfdisk /dev/nvme0n1 then 2048 and hit enter, post the output/screenshot of the results
March 11, 20242 yr Community Expert Solution Type N to keep the btrfs signature, then type write followed by enter. Repeat the same for the other NVMe device (/dev/nvme1n1), a btrfs signature should also be found, if yes when done post the output of btrfs fi show
March 11, 20242 yr Author root@Monolith:~# btrfs fi show Label: none uuid: cc168293-0670-41ca-955b-014ba3907a73 Total devices 1 FS bytes used 14.06GiB devid 1 size 30.00GiB used 19.99GiB path /dev/loop2 Label: none uuid: 183d90e6-6b8f-4e5b-a73e-e0e1766c837d Total devices 2 FS bytes used 208.92GiB devid 1 size 931.51GiB used 0.00B path /dev/nvme1n1p1 devid 2 size 1.82TiB used 218.06GiB path /dev/nvme0n1p1
March 11, 20242 yr Community Expert Now try restarting the array, and post new diags if the pool still doesn't mount.
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.