After receiving one of the "Welcome to nginx" messages on my 8.3.0 NAS, I decided to upgrade. Rather than going for 8.3.0-p1, I installed 8.3.1b2. This went fine, and following this I upgraded the 8.3.1-b2 jail.
This... did not go fine. Beta sting! My media directory outside the jail (though mounted within the jail as /media) immediately emptied out, with several hundred GB of red suddenly turning to green on my main data mount. Everything inside my media directory is now gone, though items on the root -not- in the media directory remain. As near as I can tell, the jail upgrade decided to create a new, empty /media directory, but did so with the external mount intact, trashing the folder.
OK, back to a snapshot- wait, why are there no snapshots? Oh, god, snapshots are off. There are no snapshots.
So, aside from quickly turning on snapshots, I have not written to the drive. All the data, consisting of audio and video files, is presumably there, mirrored on two drives, but not in the filesystem. What would be my next step? Photorec? Can it be run directly from the FreeNAS distribution? Or are there other things I should be testing/checking first?
My current plan would be to photorec from the affected drive to an external USB, resort everything tagged back to the media directory, and manually sort out the rest. And to make sure snapshots are on make sure snapshots are on make sure snapshots are on. Does this make sense?
Thanks
This... did not go fine. Beta sting! My media directory outside the jail (though mounted within the jail as /media) immediately emptied out, with several hundred GB of red suddenly turning to green on my main data mount. Everything inside my media directory is now gone, though items on the root -not- in the media directory remain. As near as I can tell, the jail upgrade decided to create a new, empty /media directory, but did so with the external mount intact, trashing the folder.
OK, back to a snapshot- wait, why are there no snapshots? Oh, god, snapshots are off. There are no snapshots.
So, aside from quickly turning on snapshots, I have not written to the drive. All the data, consisting of audio and video files, is presumably there, mirrored on two drives, but not in the filesystem. What would be my next step? Photorec? Can it be run directly from the FreeNAS distribution? Or are there other things I should be testing/checking first?
My current plan would be to photorec from the affected drive to an external USB, resort everything tagged back to the media directory, and manually sort out the rest. And to make sure snapshots are on make sure snapshots are on make sure snapshots are on. Does this make sense?
Thanks