I've made a huge mistake


Recommended Posts

Okay, I read the "Need help? Read me first" topic, and unfortunately, I wasn't able to recover the diagnostics.zip file.

 

I made a mistake earlier.  Long story short, I issued the command "mv /*.* /mnt/user/media" and so I moved all of my root files (including /usr/bin) into a subdirectory, I lost all command line functions. Web GUI was unreachable. I panicked, I searched, I asked, I acted.  (woops)

 

I wound up rebooting, and of course, /boot was gone so I shut down, pulled the flash drive, wrote a new image of unraid 6.6.1 (the same that was installed).  I should note that I'm still on a trial license, I've had unraid installed less than a week (i have 23 days left on my trial).

 

I have (or had, I guess I should say) 7 drives in the array, 1 parity drive (which was current/up to date), 2 drives that had finished preclear but weren't added to the array, and 1 ssd cache drive.  I had approximately 10-11gb written to the array out of 21gb total capacity (not including the 2 unassigned drives).

 

I definitely know which drive was parity, which was the cache.  I think I can determine which two drives were precleared but not added to the array, if that's essential.

 

I have booted back into unraid, and (re)activated my trial license (using the same flash drive).  I did not have a backup of my flash drive (lesson learned).

 

So when I go to the "Main" screen, if I assign my parity drive, then attempt to assign my drives to what I _think_ their drive numbers were, I get the warning that parity will be overwritten when the array is started.

 

I'm scared, confused and alone.  And dumb.  And remorseful.  I promise, if you can help me recover from this, I'll A) buy a pro license (was already planning on it, heh) and B) back up my flash drive and C) never issue stupid terminal commands without thinking ever again.

 

Help me, unraid forum, you're my only hope.

 

EDIT:  I _think_ I'm okay? I accepted losing my unraid config, plugins, dockers, etc.. I'm fine with that.  Array data seems to be intact.

Edited by chipt4
Link to comment

If your data is there you should be good, at least as good as you can. 

 

You can download a zipped backup of Flash from Main - Boot Device - Flash - Flash Backup. 

 

Couple of other things.

 

You must have backups. Unraid parity is not a substitute. Not everything, but you must have another copy of anything important and irreplaceable. 

 

And be sure to setup Notifications. 

  • Upvote 1
Link to comment

Thank you, I definitely will.  I was able to recover my data after reinstalling a fresh unraid install to my USB drive.  I lost my config, but that's okay (I was still in the process of setting everything up).  Getting my apps/plugins/etc reconfigured now, and then i'll be doing a full (off server) back up of all the app data, flash drive, dockers, etc.  Thanks for the advice!

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.