I've got two problems I'm hoping someone on here will be able to help me with. (keep in mind, I'm pretty new to TrueNAS and what happened was out of my inexperience and stupidity). I'm kinda desperate and panicking because this affects a LOT of data I have collected over the past couple years and, while none of it is "crucial", I spent a LOT of time, money and effort getting it. Getting as much back as I can is very important to me.
Config:
If you need more let me know
Background:
I was moving a large amount of media 6TB from a folder ("Media" renamed to "_Media") under dataset ("MediaA") on the first pool over to a new Dataset (also called "Media" after I renamed the folder to "_Media", we can call it "newMedia" to keep it straight here) which was a child of the MediaA dataset via the CloudCommander app (a file management docker, if you're not familiar) and had started a move process as there wasn't enough free space to do an outright full copy. I closed out of the box showing the progress, not expecting that it would end up cancelling the entire process. Afterwards, when I looked at the source folder via SMB (and in the CloudCommander app), everything was gone (cue the start of the freakout process). I was going to rollback from a Snapshot via SMB and thought I should do it from the TrueNAS GUI instead because it would be faster. When I rolled back with the Snapshot (which was from earlier this morning, before this all started, so that "_Media" folder was named "Media", matching that new dataset), I could see the Used Space for the Pool was around where it should be, however I still couldn't see the files I lost and the "newMedia" dataset was still there, with only the files that were present before the rollback. Doing some research online, I couldn't exactly find anything that would allow me to restore the files in any other way and I figured deleting the "newData" Dataset would likely destroy what little chance I have of getting that data back. I figured I'd try exporting, detaching and reimporting the pool would be worth a try (There was no visible task running regarding the Snapshot roll back)...which led to my second problem. After detaching the pool (I didn't delete any configurations, I just exported it), the GUI stopped working. It won't load, even after restarting the server. I can access the CLI and shell directly on the server, where I did try reimporting my pool but I don't think I'm doing it right, since it doesn't seem to help.
So my two problems here are:
Config:
OS | TrueNAS Scale Cobia, installed on 500GB SSD |
Pool Configuration | 1st Pool - 2x10TB drives, Mirrored, Snaphots Enabled 2nd Pool - 2x6TB drives, Mirrored, Snapshots Enabled |
Memory | 24GB |
Background:
I was moving a large amount of media 6TB from a folder ("Media" renamed to "_Media") under dataset ("MediaA") on the first pool over to a new Dataset (also called "Media" after I renamed the folder to "_Media", we can call it "newMedia" to keep it straight here) which was a child of the MediaA dataset via the CloudCommander app (a file management docker, if you're not familiar) and had started a move process as there wasn't enough free space to do an outright full copy. I closed out of the box showing the progress, not expecting that it would end up cancelling the entire process. Afterwards, when I looked at the source folder via SMB (and in the CloudCommander app), everything was gone (cue the start of the freakout process). I was going to rollback from a Snapshot via SMB and thought I should do it from the TrueNAS GUI instead because it would be faster. When I rolled back with the Snapshot (which was from earlier this morning, before this all started, so that "_Media" folder was named "Media", matching that new dataset), I could see the Used Space for the Pool was around where it should be, however I still couldn't see the files I lost and the "newMedia" dataset was still there, with only the files that were present before the rollback. Doing some research online, I couldn't exactly find anything that would allow me to restore the files in any other way and I figured deleting the "newData" Dataset would likely destroy what little chance I have of getting that data back. I figured I'd try exporting, detaching and reimporting the pool would be worth a try (There was no visible task running regarding the Snapshot roll back)...which led to my second problem. After detaching the pool (I didn't delete any configurations, I just exported it), the GUI stopped working. It won't load, even after restarting the server. I can access the CLI and shell directly on the server, where I did try reimporting my pool but I don't think I'm doing it right, since it doesn't seem to help.
So my two problems here are:
- The GUI won't load for use on a remote computer, the CLI/Shell does at the server itself. There are no errors displayed that I can see when the server boots.
- I need to recover what data I can from the 1st Storage Pool. Rolling back the Snapshot seemed successful and the appropriate amount of data is being used but it's not visible in any place that I can see (even using the Linux shell to show the directory on the pool doesn't show the files I'm looking for). I can't provide any screenshots until the above problem is solved.