October 5, 20169 yr I stopped the Unraid array in order to enable my cache drive. All my drives went to unassigned. Stupidly I decided to reboot. Now, unraid web gui will not come online. Running the diagnostics command gives me this output: root@Tower:~# diagnostics Warning: parse_ini_file(/var/local/emhttp/var.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/scripts/diagnostics on line 18 Warning: parse_ini_file(/var/local/emhttp/disks.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/scripts/diagnostics on line 23 cp: cannot stat ‘/boot/config/*.cfg’: No such file or directory cp: cannot stat ‘/boot/config/*.conf’: No such file or directory cp: cannot stat ‘/boot/config/*.dat’: No such file or directory cp: cannot stat ‘/boot/config/go’: No such file or directory I can tell you what proceeded all this was that my Unraid 6, which was up for 155 days without a hiccup, was writing at 20mb/s. Looking through the forums it appeared my cache drive was not being used. I looked at the read/write counts and indeed my cache drive had 0 writes while my data drives and parity drives had high counts. So, I went to the user share in question and checked that cache drive was enabled - it was set to yes. I decided to toggle it from yes to no to yes, to see if it needed a reset of some kind. It went from yes to no, but it would not go back to yes. Then I saw a message (I think under Global Shares) that said the array had to be stopped before the cache drive could be enabled. So, I stopped the array. Then my heart stopped - all my disks went to "unassigned". Stupidly, I decided to reboot it instead of keeping it online and hitting the forums first. Now, it won't come online and it looks like all my configuration files are missing. Could the flash drive have gone bad? Is my data lost? I think I had 8-10 drives in here. Will I be able to restore without a back of my thumb drive / configuration files / drive locations? Please tell me all is not lost. Help! Thank you
October 5, 20169 yr As long as you remember the drive assignments you should be able to get the array and shares all back online with a new config on a new USB stick. That's assuming none of the data was corrupted on write. If the flash drive can be read at all you can try to get the config off of it. If not you'll have to either go to a backup of the config if you made one, or reconfigure a new flash drive. Edit: If you're forced to go new config don't assign the parity drive until you're sure which drives are which. If you assign the wrong drive as parity it'll begin the rebuild and break all the data on the drive.
October 5, 20169 yr Community Expert Your data should be OK. Even if you don't remember your drive assignments we should be able to work through that. Start with putting your flash drive in your PC and letting it checkdisk. Then see if you can see its contents.
October 5, 20169 yr Author Thank you for the quick help! I shutdown Unraid, removed the flash drive and inserted into a Windows 10 PC. Windows detected the USB was corrupted and I clicked yes to have it fix it. 30 seconds later I could see all the configuration files. I backed everything up. Then I put the usb drive back into Unraid and turned it on. Everything is back and the array is running!
Archived
This topic is now archived and is closed to further replies.