May 23, 201610 yr Hi, i just made a very boneheaded move and was looking for some advice. I set up my first unraid server last night and was tweaking a few things today. I have a set of disks and a cache drive. The main disks all started empty, however the cache drive was a spare SSD I had around and started with some files already on it. In an effort to clean things up a bit, I went to the share, selected all, and deleted. To my horror a few minutes later i realized that I had accidentally gone into the "Flash" share and deleted the contents of that instead of the contents of my cache. The system is still running (actually it's still calc'ing parity), and I haven't really lost anything, however, i now need to rebuild that flash drive. I have copied all of the files over from the initial zip i downloaded, and once the parity calc is complete, I can shut it down and run the "make bootable" script again, however the config directory has the defaults in it instead of the changes I have made. Is there any way to force unraid to re-write all of it's config files so that when I shut down, i won't lose my config? I tried going and changing an arbitrary setting to see if that would force a re-write of the config files, but it didn't seem to. Currently, everything is running in memory, so nothing is lost yet, but i can't shut down without risking losing my config. Does anyone have any advice on what to do in this scenario?
May 23, 201610 yr Community Expert Since your just starting it doesn't sound like you have a lot to lose, so just take screenshots of everything you want to set again and use them as a guide for a new installation. The only thing that can possibly result in any data loss is if you assign your drives incorrectly. unRAID will create user shares with default settings for all the top level folders on your drives, so all you would have to do for those would be change their settings.
May 24, 201610 yr Author ok thanks, my "if all else fails" plan was to screenshot my settings. I THINK I actually just triggered a re-save of the array information config file by changing a setting related to it, so at least that part should be alright. Thanks for the fast response!
May 24, 201610 yr Author Ok, sorry to reply to myself, but i've "solved" the issue and figured I would leave a comment here in-case any other poor soul does something as stupid as what i just did. Basically, copy all of the files from the initial zip back onto the drive, and before shutting down, go to each settings page, change a value, change it back, then hit apply. That should write out the config file for that section. Also, re-run the registration step so it adds the authentication file to the drive again as well. Then put the drive back into another machine and run the make_bootable script again, and you should be good to go.
Archived
This topic is now archived and is closed to further replies.