Accessing my files

jameselmer

Dabbler
Joined
Apr 28, 2020
Messages
13
Hi Guys,
So I'm having a very annoying issue. Basically, I had a power cut and my server actually stopped working for a while (I have surge protectors so this is quite weird.) Anyway, I left it overnight and now it turns on again fine.

However, it now has a different IP attached to it and I no longer can access any of the files through the windows share SMB.
I have re-mapped my PC drive so that it sees the folder again on the new IP. But now nothing is inside that folder.

My plex plugin also cannot find the files.
It looks like the files are still there because I can still see the 'used space' under the storage pool.
Any ideas on how I can get access to these again? Thanks, guys

Server info:
-16GB RAM
-4X 4TB HDD's
-Asrock X99 MB
-i7 CPU
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Output of zfs list? You probably thought you put all your files in a child dataset but in reality it was a folder in the parent dataset. When you rebooted the child dataset got mounted over the folder because it has the same name.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I had a power cut and my server actually stopped working for a while (I have surge protectors so this is quite weird.)
Surge protectors don't stop power cuts from impacting your server... they stop power spikes. Perhaps you thought you had a UPS?
 

jameselmer

Dabbler
Joined
Apr 28, 2020
Messages
13
Output of zfs list? You probably thought you put all your files in a child dataset but in reality it was a folder in the parent dataset. When you rebooted the child dataset got mounted over the folder because it has the same name.
Ah right, Tbh I'm kinda new to FreeNAS so I just followed a tutorial aha. Any idea on how i could access these files again though? and/or set it up in a better way?
Thanks :)
 

jameselmer

Dabbler
Joined
Apr 28, 2020
Messages
13
Surge protectors don't stop power cuts from impacting your server... they stop power spikes. Perhaps you thought you had a UPS?
I knew it was a surge protector not a UPS. I was just surprised that my server wouldn't turn back on after is all because i had a surge protector so it shouldn't have damaged any of the parts or anything
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
i had a surge protector so it shouldn't have damaged any of the parts or anything
Again, your server's parts wouldn't have been damaged by a spike (most specifically the power supply). But you had a power cut, so what's at risk is the state of any writes that were in progress, but stopped before completion due to the lack of power, perhaps rendering some parts of your system inoperable (from a software perspective).
 
Joined
Oct 18, 2018
Messages
969
... they stop power spikes.
Unless the surge protector was defective in some way or otherwise failed to do its job.

I was just surprised that my server wouldn't turn back on after is all because i had a surge protector so it shouldn't have damaged any of the parts or anything
I've had a similar experience and can certainly relate with the surprise when equipment does not turn back on after a power outage despite using a surge protector. Fortunately it seems to have resolved itself; if it happens again perhaps it is worth digging in more there.

If @SweetAndLow is right and you've got a situation like this
Code:
pool
  foo: This is a directory where your data lives
  foo: This is a dataset mounted in the exact location as pool/foo, thereby obscuring your directory


If this is correct you can check this post out for a fix.
 
Top