October 30, 20241 yr Hello guys, I need help to recover my disk. Hopefully my data are not lost. I had 4 disks in my Unraid PC with no parity: 2 x spin disks on the array called Disk 1 and 3 (btrfs). 1 x SSD Pool device called Home (zfs before) 1 x SSD Pool device called Temp-cache (btrfs) I wanted to add 3 more devices: 1 x spin as Disk 2 1 x SSD as another temp disk for parity device for one of the SSD Pool (for later on for Unraid 7) 1 x SSD as a normal disk. I have put all the disks in and assigned them without New Config. Probably a mistake here. But I have added one of the disk in my Home Pool (mistake here as well), one as Disk 2 and another as Temp-cache. I then clicked on start and found out the 1st Home disk was in the list of disks to reformat (so 4 disks to reformat instead of the 3 new ones). So I have stopped the operation imediatly and restarted the PC. Unfortunately it wouldn't start as the WebGUI wouldn't come up. So I have remove all the disk except Disk 1 and 2. I was then able to get back to the WebGUI and went to New Config to try to fix it. Afterward, I couldn't see any data in the user's home in that Home device after. I must say that there is a smart error in that Home disk which I was hoping to sort out a bit later on. Is it a problem which can be fixed? Would I be able to recover the shares in my Home disk? I have forgotten to download the diagnostic file before rebooting. But I have done so after rebooting with the present errors. kingfisher20-diagnostics-20241030-2257.zip Edited October 31, 20241 yr by Yannoviche More info
October 31, 20241 yr Author Hi @JorgeB, The diagnostic was already attached, but at the wrong place in my post. I have put it at the end. The output of zpool import gives me 'no pools available to import' even after running it in root / and usr/sbin. I am new to linux so if you give me a bit more info on how to run it, I will run it in the right location.
October 31, 20241 yr Community Expert 28 minutes ago, Yannoviche said: The output of zpool import gives me 'no pools available to import' And if I understood correctly the unmountable pool was zfs? Also post the output from: blkid /dev/sdd
October 31, 20241 yr Author I get : /dev/sdd: PTUUID="f4646496-fdbb-4630-a5a5-535477385f67" PTTYPE="gpt" Yeah I believe it is zfs. I have set it up a while ago and didn't think about it would failed. So I didn't memorized the settings. But I think it is zfs. Edited October 31, 20241 yr by Yannoviche
October 31, 20241 yr Author This one gives: /dev/sdd1: UUID="2b75dc15-747b-44f9-a1e7-d92135696059" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="061de452-0e11-49e3-aabd-c5e6713e5fed"
October 31, 20241 yr Community Expert Apparently it's XFS, post the output from: xfs_repair -v /dev/nvme0n1p1
October 31, 20241 yr Author The faulty drive is not a nvme drive it is a samsung evo ssd. Should I still run the command? The nvme is btrfs.
November 2, 20241 yr Author After tinkering around I have been able to resolve it. After reading the Unraid Docs, I thought the data were not lost. But I just couldn't remember if the drive system was xfs or zfs. I plugged it in my Windows PC and used DiskInternals Linux Reader to check (and try to recover the files) on the drive and I was able to find out that the file system is xfs and that the shares are still in the drive. So I have decided to use the Nerdtools ddrescue because I had a free version of DiskInternals Linux Reader which didn't allow me to use the software the way I wanted to. But upon plugging in the drive back in my Unraid server, the drive appeared as unmounted. So I mounted it back to its original position. And the problem was resolved.
November 3, 20241 yr Community Expert Solution I'm sorry, I replied a couple of days ago, but for some reason looks like it failed. On 10/31/2024 at 7:38 PM, Yannoviche said: Should I still run the command? No, my mistake, the issue was that the pool was xfs but set to two slots, you just needed to set the pool slots back to 1 and it should work.
November 6, 20241 yr Author Ah OK. It was that simple? I should have know better. Thank you for the solution @JorgeB.
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.