m0rphl1ng Posted January 28 Share Posted January 28 Hello, My USB Flash Drive died. Putting it into other computers, it had the dreaded write protection error, letting me know that it was unrecoverable. Luckily, I was able to get nearly all of the data off of it. I purchased a new flash drive, ran the Unraid USB Flash Creator on it, then copied over all the files I had (overwriting the files that were put in place), and finally ran the "Make Bootable" batch file. I then spun up my server--and it works! Server is online, I was able to login using my existing information. However, I now have a blank array. Is there any way to find out the order of disks in my previous array? I have 18 total disks, 2 of which are parity. I can try and upload any files as necessary. Thanks! Quote Link to comment
trurl Posted January 28 Share Posted January 28 Your array assignments are in config/super.dat on the flash drive, and pools are in config/pools folder. Were you able to copy these? All settings from the webUI are in config, that is all you need to add to a new install to get all of those settings back. Quote Link to comment
trurl Posted January 28 Share Posted January 28 You must always have a current backup of flash. Quote Link to comment
m0rphl1ng Posted January 28 Author Share Posted January 28 Thanks for the response trurl! I know that I should have automated backups of the flash--I think years ago I, very stupidly, set this up to backup to the array. It looks like /config/super.dat was one of the compromised files that did not transfer over. However, I do have a super.old How can I read this file? super.old Quote Link to comment
m0rphl1ng Posted January 28 Author Share Posted January 28 Ooh, I have a diagnostics from three weeks ago. It contains a super.dat Can I just shut down the server and copy this onto the flash drive, then reboot? tower-diagnostics-20240109-0151.zip Quote Link to comment
m0rphl1ng Posted January 28 Author Share Posted January 28 Also, considering this is a new flash drive, what is the best way to go about getting my license changed over to the ID of the new flash drive? I currently have a Trial.key, Plus.key and Pro.key inside the /config/ directory of the boot drive, obviously all referencing the previous flash drive. Should I delete all three of these and reboot? Quote Link to comment
itimpi Posted January 28 Share Posted January 28 1 minute ago, m0rphl1ng said: Also, considering this is a new flash drive, what is the best way to go about getting my license changed over to the ID of the new flash drive? I currently have a Trial.key, Plus.key and Pro.key inside the /config/ directory of the boot drive, obviously all referencing the previous flash drive. Should I delete all three of these and reboot? You need the latest valid licence to be there, the others should be deleted. Quote Link to comment
m0rphl1ng Posted January 28 Author Share Posted January 28 1 minute ago, itimpi said: You need the latest valid licence to be there, the others should be deleted. Thanks. All three were previously there on my old flash drive. During my Unraid journey, I purchased a plus license, then purchased an upgrade to pro. Just to clarify--I should have only the pro.key file there, even though it isn't linked to this flash drive? Quote Link to comment
Solution trurl Posted January 28 Solution Share Posted January 28 12 minutes ago, m0rphl1ng said: Ooh, I have a diagnostics from three weeks ago. It contains a super.dat Can I just shut down the server and copy this onto the flash drive, then reboot? If you haven't changed any disk assignments since then. Quote Link to comment
trurl Posted January 28 Share Posted January 28 I see there was also a pools folder in config in those. You need that too. Quote Link to comment
m0rphl1ng Posted January 28 Author Share Posted January 28 Thanks @trurl and @itimpi I am back online. Summary for any posterity that comes across this thread: Initial problem: USB Flash Drive died and user did not have a valid backup. Solution: Get every file you can off your dead flash drive. Purchase new flash drive Run Unraid USB Flash Creator on new drive Copy over every old file you can Copy over any old files, like the /config/super.dat file that contains your array information (disk order) from your most recent diagnostics zip Delete any old .key files, only keeping the most recent Run the make_bootable.bat Start up unraid with your new flash drive installed Check to make sure your array is correct, and go through the wizard to assign your Unraid key to the new drive Set up automatic backups of your flash drive to be stored somewhere other than your Unraid server Thank the awesome community for bailing you out!!! Quote Link to comment
trurl Posted January 28 Share Posted January 28 6 minutes ago, m0rphl1ng said: Set up automatic backups of your flash drive to be stored somewhere other than your Unraid server Unraid Connect plugin will keep flash backups on the Unraid cloud for you. 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.