• Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

slize's Achievements


Newbie (1/14)



  1. @Squid would it be possible to add a option which prevents a script from running twice (when it already gets executed)? I think flock could help here:
  2. I am using an ASRock Rack X470 with the latest bios. Well thats sad when you pay 300€ for a board just to get such errors. I will get a cheap 50€ SATA HBA - that should be enough for this system. Thank you very much!
  3. The issue: One of the two disks in the array are randomly going to "error state" which results in a crash of all VMs on the server. It happens ~once per month. I checked the disks and they are totally fine. They are about 10 months old and i replaced one of them last month (just to make sure that the issue is not caused by a broken disk). I also swapped the SATA cables and the location in the server backplane. The last time the error occurred was at the 01.06.2021, 14 hours and 2 minutes after a parity check started. And the "failed" disk was the new/replaced disk. I added some screenshots from the GUI after the crash and the diagnostics. To get the system back up running i have to: #1 Reboot the system #2 Remove the "error state" disk #3 Start the array #4 Stop the array #5 Add the disk #6 Start a parity rebuild/resync depending on the disk that got corrupted (parity disk/data disk) How can i stop this from happening? srvunr1-smart-20210607-1814 (1).zip
  4. I just found the issue. Very strange but it seems like that a WireGuard VPN Connection "Remote Access To Server" is not enough. You need "Server to Server Access" to get Syncthing/rsync deamon to work.
  5. Thats confusing: The restored drive is neither the broken nor the intact one (as far as i can tell until now).
  6. First of all thank you again for your time and answers! Now the ironic part: Yes, you can copy the header - kind of. The important values are marked here. I am comparing two valid drives. So unless unraid stores a backup of the highlighted values or the rebuild succeeds i'm definitely out of options. By getting myself locked out of the disk. I bet the data on the disk is still fine. The part i don't understand is why the header got destroyed. Edit: @JorgeB do you know how the drive gets rebuilded from parity? Is it sequential from offset 0 up or random? In case its sequential i can already stop the rebuid because the header does not contain any valid luks section. root@nas:~# sudo hexdump -C /dev/sdo -n 100000 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001c0 02 00 ee ff ff ff 01 00 00 00 ff ff ff ff 00 00 |................| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 |EFI PART....\...| 00000210 1a 05 4d cf 00 00 00 00 01 00 00 00 00 00 00 00 |..M.............| 00000220 ff ff 3f 8c 04 00 00 00 22 00 00 00 00 00 00 00 |..?.....".......| 00000230 de ff 3f 8c 04 00 00 00 3f 80 c7 a7 bb 4f da 4a |..?.....?....O.J| 00000240 95 e0 23 75 8c ef 29 e1 02 00 00 00 00 00 00 00 |..#u..).........| 00000250 80 00 00 00 80 00 00 00 1d af a0 8f 00 00 00 00 |................| 00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 |.=....rG.y=i.G}.| 00000410 66 22 62 c1 7d 95 3b 40 a5 4b 11 28 01 2e 8a 8f |f"b.}.;@.K.(....| 00000420 40 00 00 00 00 00 00 00 de ff 3f 8c 04 00 00 00 |@.........?.....| 00000430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * Thats the current header of the disk that is getting rebuilded at 20%.
  7. Yes, i am trying to find the luks header. But as far as i can tell: Unraid is using LUKS2, the header is between from offset 0x0 to offset 0x00010000. Does unraid store backups of the luks header? Because it seems like the header is gone and without the header i am unable to access the data on the disk. I got my infos from here:
  8. I will do it as soon as the rebuild is done. I tried to mount it via an external USB dock, but the button was just greyed out. As for my understanding: Unraid uses BTRFS as filesystem and than uses LUKS1 or LUKS2 to encrypt the whole disk?
  9. The broken dies was not empty. It contained all the data from the other disks. UD cant mount it, the key is the same. Okay, so i should try to mount it and than post the diags? Can i mount it on any other linux system because the rebuild of the array is running and i dont have a free bay to put the old disk in. I dumped the first 10MB of the raw disk. I dont know if the header is correct - it has a lot of 0's until block 0x00010000. I compared the headers of the "broken" disk and one of the running disks in the array - they are totally different... BrokenDisk.bin WorkingDisk.bin
  10. Yes, they were empty. Yesterday i moved all the data to the missing disk (which was the newest one and running BTRFS encrypted) because i wanted to switch the other disks from XFS to BTRFS encrypted. That worked just fine. Today i the data disk reported that its unmountable - after a stop/start of the array. Edit: I just attached the "failed" disk to an other system and i think it's physically still fine. (I can read the SMART values and there are no errors) But i cant mount it because the filesystem seems to be invalid. I know that it was running BTRFS and the key that was used for the encryption. Is there a way i can recover the filesystem?
  11. The rebuild is now running. How can i repair an encrypted BTRFS filesystem? Yes, i am aware about the fact that parity is not a backup. I know, shame on me. I added the report.
  12. Awesome, finger crossed - thank you.
  13. Thanks for the fast reply. Okay the data is very important for me - im just going to get a new 10TB drive and i hope that it does lower the risk of losing anything by simplifying the process. (My backup is on year old because the rsync to an offsite server seems to have failed since a long time - my bad, my issue but lets hope i can recover the drive) So i just put the new drive in and start the array?
  14. Hallo, i got one failed drive in my array and need to rebuild the data on it. Can i rebuild it without a new drive? I got enough free space, the failed drive was a 10TB. Also what is the propper way to recover the drive? Shouldn't the disk be emulated and the data immediately accessible? Edit: Does unraid backup the LUKS headers of the encrypted disks?
  15. @jbat66 Is the sync between your unraid servers still working fine? I tried it and it seems like as long as i create the files that should be synced its working fine. But as soon as i copy a file in the SMB share that syncthing is watching, the whole sync process get stuck at 0%.