FryGuy

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by FryGuy

  1. No I/O errors. Found that Disk 2 has 1 unrecoverable FS error. Just got my new drives, time for recovery.
  2. Disk 2 FS block uncorrectable. I'll have the new disks hopefully next wednesday or thursday to move data over to XFS and get recovery underway.
  3. Disk 2 had 1 FS error block, running a scrub repair now. Disk 3 had no FS errors. I got no reported errors on I/O.
  4. Set the script to run hourly like described above, reset the error count, now running scrub on the two BTRFS disks. I'll keep and eye out for errors, fingers crossed.
  5. Ran two cycles of the latest version of memtest, just to be sure. Nearly 20 hrs testing on the 32GB ram and returned no errors. Any other ideas? I hope you don't say SATA controller, its built on the mobo. 😬
  6. No its not good. I missed that. Shutting down now and doing a memtest.
  7. The other disks are mounting, I just don't know why it's crashing still. I just started it up 1 hour and 40 mins ago to start the scrub if that's fresh enough for the diags. Here is is. unraid-diagnostics-20200803-1449.zip
  8. It's another disk I have in there now. The corrupt drive is out in a USB dock for recovery. I have more disks arriving for future backup. I'm going to use to move the array to xfs disks. The damaged file system disk is only disaster recovery now, worse case I re-rip source material as I find out what has been lost. I may be able to at least use UFS Explorer to find out was has been lost, as it is listing all the file names and sizes. I'm hopeful that it will recover the files too but it don't appear to preserve the dir structure, oh well. Critical stuff I have backups of on disks and cloud. I now think I have errors on my other disks causing the system to freeze during parity check. I run a scrub last night to check the disks and forgot to turn off the scheduled weekly parity check and that froze the system up. Now running scrub again with parity check schedule disabled, by morning i'll know if it worked.
  9. Ok that confirms my worst fears, hard to visually check and confirm every file/dir with such a large pool. That's exactly why I didn't want to start anything up and mess up my cache and database. Looks like it's going to be disaster recovery after all. I tested with UFS Explorer it looks like it will recover everything. Do you know of any other free BTRFS recovery tools (or i'll just web search)? It doesn't preserve dir structure but at least i'll get my files back from that corrupt backup. Thank you, terminology confusion and all.
  10. I don't know what else you would call it when the array is running with the parity "emulating" the missing disk as part of the array. Clear english definition usage of the word to me.
  11. Other than the un-necessary step of clearing (format first then preclear next try) the disk this is what i had did. The array will start with the emulated disk and everything is green. I haven't dared to try VMs or Dockers to see if everything is there to risk the disk writes. Without running some things like Plex i'm not sure if anything missing. The disk isn't showing as disabled, its marked as green. The original issue with the server that was causing the kernel panic problem was solved with updates. I don't think i have the logs of the issue anymore as it was resolved. Ran scrub / repair on disks but by times updates fixed the issue the damage was done. It should have been a trivial fix to just backup rebuild a drive. Turned out to escalate into a situation. Now how do i figure out if my emulate disk is corrupt? I'll get the two more disks (assuming I overwrite the corrupt backup I got of the emulated disk, would rather not but $$$) to pull the whole array data off, i should have a current backup set on the shelf anyway. This is the only way I see to proceed forward with recovery if the emulated disk is good.
  12. If you read my post with my disk layout you wouldn't be debating the semantics of what emulated means. I have one parity disk with three data, all 14 TB. Every other disk is fine just can't rebuild from the parity but it can start array and emulate the missing disk. I don't understand how or why this happened that's why i'm here. Originally i was thinking that i did something horribly wrong in the procedure but now i'm reassured that i didn't. The only thing i don't understand is how my new drive backup became corrupt with cp -r command too? I'm sure i didn't get the drives mixed up with one on a USB bus. I think this is the point of confusion. It was the original disk 1 that had the corrupt BTRFS it was still R/W with 5 unrecoverable errors, it stayed in the same slot the new disk was used to backup its data. I perhaps wrongly thought it was safer if a rebuild went wrong, At the time i didn't know how else to get the original disk to appear as a new disk to rebuild. If a corrupt FS can affect the parity to cause it to not rebuild then i'm *expletive deleted* either way. Nothing I could have done from the start would have solved the problem. I'm an experienced user of linux and seldomly reach out for help, I usually find it so condescending and toxic on forums. This is a sh*t hit the fan moment and i'm not sure what even happened myself.
  13. I really thought it was going to be a straightforward, remove from array, reformat, re-add, start, and allow to rebuild kind of deal. I I backed up data to New Disk from the corrupt BTRFS Disk 1 in the server, Disk 1 remove from confg, shutdown, format Disk 1 in unassigned devices, add to array, start array, it didn't say building disk, immediately shutdown array, maybe i got a panic that something was wrong and nothing was. Then ran a preclear on Disk 1, started array and proceed to build drive, drive rebuild failed with "Unmountable: No file system" repeated twice with the same results. Then there should be no way that what i did corrupted the parity, the parity was valid before with no errors. I used the wording added it back, it was rebuilding the drive. Sorry for the vague description above, i was trying to keep it short it already seemed so long winded. No new config and i didnt use the format the drive check box either, i know that will definitely mess things up if i did that. New config, especially if you get the drive order wrong if i'm not mistaken. It does show all the files but it wont preserve any dir structure. Its my last resort if I must. I guess the is no way to backup just the data that is emulated? It don't show up as /mnt/disk1 as its not a mounted disk is there a location that the virtual disk mounts to for the pool? If not then I need to do a full tar backup of the whole array to external drives to be sure i have everything on the array?
  14. I originally had Disk 1 with BTRFS uncorrectable errors from kernel panics and forced shutdowns. Found and fixed the offending software with updates but the damage was done. (One parity, Three data, 14TB WD DC HC530's) Had got a extra drive to backup the data to (foreshadowing here) first. Backed up the data from command line, error on some temp and couple corrupt files of no value. Confirmed the files on the drive with a ls in a few main dir's, all is good. Removed the drive from the array config, shut down, now my mistake (I know RTFM, I should have read it again), formatted the drive in unassigned devices, added back to the array and hit start, had a oh *explitivitive deleted* moment, shut it down. Precleared the drive, then added again. Think in hindsight the damage was already done. That's why I made a back up, drive won't mount! I'm not sure how but in the copy process (cp -r) to the brand new drive it also corrupted the BTRFS on that drive also. Now the original source drive is gone and the backup is corrupt, nice! It's damaged beyond BTRFS repair tools capability but recovery looks possible as last resort with UFS Explorer but it looks like it will lose all the dir structure. It looks to be still emulating that disk, any way i can pull just the data of that emulated disk? At this point it almost looks like i got to bite the bullet and buy two 14TB hard drives! I do have seven 4TB hard drives with an older backup on it. The new data set has outgrown the disks size, even then I don't feel comfortable overwriting it with everything else that's happened. I got archival and cloud backup of everything really critical. I guess my question is what are my options moving forward for data recovery at this point? Thank you.
  15. I worded that wrong, non-root user as in not root user name, however. I used the "Users" under "Settings" and the user isnt part of the root or adm when I check groups, so thats non-root? config/go file I'll try that out. thnak you. First time poking around under the hood. Is there any detailed system documentaion? (not user documentation)
  16. I added the .bash* files in the /root with the bash_aliases, .bash_exports, .bash_profile, .bash_wrappers, .bashrc files from https://github.com/flipsidecreations/dotfiles with my changes. This is working now on first login with my non-root user. Not the behaviour i expected. I figured that bash would get its config from the logged in users home dir. Not sure if this will surrive a reboot yet.
  17. Looking at customizing bash colors. I'm not sure how to get it to stick. I have a .bashrc with; PS1="\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]" This is from https://github.com/flipsidecreations/dotfiles I just love the look of this. This works if i then type "bash" after login but not at login. Not sure if it will survive a boot being in the home dir. Any guidance will be apreciated.
  18. Using the Ripper docker for the first time in a long time and now getting this error. Deleted the Docker and appdata/settings and recreated and still getting this error. cp: cannot create regular file '/root/.MakeMKV/': Not a directory Any ideas what i screwed up?
  19. Gave it a shot. I must be putting the files in a wrong location or something. /mnt/user/appdata/myVPNserver or cache location and replaced the current easy-rsa folder but unable to generate certs and keys and tells me easy rsa not downloaded. even downloaded the latest easy-rsa from interface and then replaced all the similar named files with the v3.0.4 ones still the same. what the hell am i doing wrong?
  20. Not creating the .p12 file for some reason. Any ideas why? Log output below ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Adding client: USER spawn ./easyrsa build-client-full USER nopass Generating a 2048 bit RSA private key .........+++ ................................................................+++ writing new private key to '/mnt/cache/appdata/myVPNserver/easy-rsa/easyrsa3/pki/private/USER.key.XXXXwylxGo' ----- Using configuration from ./openssl-easyrsa.cnf Enter pass phrase for /mnt/cache/appdata/myVPNserver/easy-rsa/easyrsa3/pki/private/ca.key: Check that the request matches the signature Signature ok The Subject's Distinguished Name is as follows commonName :ASN.1 12:'USER' Certificate is to be certified until Feb 2 01:32:01 2028 GMT (3650 days) Write out database with 1 new entries Data Base Updated spawn ./easyrsa export-p12 USER Usage: pkcs12 [options] where options are -export output PKCS12 file -chain add certificate chain -inkey file private key if not infile -certfile f add all certs in f -CApath arg - PEM format directory of CA's -CAfile arg - PEM format file of CA's -name "name" use name as friendly name -caname "nm" use nm as CA friendly name (can be used more than once). -in infile input filename -out outfile output filename -noout don't output anything, just verify. -nomacver don't verify MAC. -nocerts don't output certificates. -clcerts only output client certificates. -cacerts only output CA certificates. -nokeys don't output private keys. -info give info about PKCS#12 structure. -des encrypt private keys with DES -des3 encrypt private keys with triple DES (default) -seed encrypt private keys with seed -aes128, -aes192, -aes256 encrypt PEM output with cbc aes -camellia128, -camellia192, -camellia256 encrypt PEM output with cbc camellia -nodes don't encrypt private keys -noiter don't use encryption iteration -nomaciter don't use MAC iteration -maciter use MAC iteration -nomac don't generate MAC -twopass separate MAC, encryption passwords -descert encrypt PKCS#12 certificates with triple DES (default RC2-40) -certpbe alg specify certificate PBE algorithm (default RC2-40) -keypbe alg specify private key PBE algorithm (default 3DES) -macalg alg digest algorithm used in MAC (default SHA1) -keyex set MS key exchange type -keysig set MS key signature type -password p set import/export password source -passin p input file pass phrase source -passout p output file pass phrase source -engine e use engine e, possibly a hardware device. -rand file:file:... load the file (or the files in the directory) into the random number generator -CSP name Microsoft CSP name -LMK Add local machine keyset attribute to private key Easy-RSA error: Export of p12 failed: see above for related openssl errors. send: spawn id exp5 not open while executing "send "PASSWORD\r"" cp: cannot stat '/mnt/cache/appdata/myVPNserver/easy-rsa/easyrsa3/pki/private/USER.p12': No such file or directory Update USER.ovpn to be used with IOS Creating a zip file for the client zip warning: name not matched: USER.p12 adding: USER.ovpn (deflated 33%) adding: README.txt (deflated 53%) Client files have been stored in this folder .. /mnt/cache/appdata/myVPNserver/clients/USER