Files and snapshots gone

Status
Not open for further replies.

Intropy

Dabbler
Joined
Sep 17, 2013
Messages
13
In one of my directories in one of my datasets all of the subdirectories remain, but every file in any of them is gone. I have hourly snapshots and I have it configured to be visible as shadow copies in Windows. If I go back a few days I find a version with the files present, but when I try to copy it says it "could no longer find the item", and when I look under the snapshots under the .zfs directory they are all empty. I checked some other directories for past versions and though I do not see the spurious file deletions there I still get the "could no longer find the item" error when looking through previous versions (for files I legitimately deleted).

I have one volume. The structure under that volume looks like this:

dataset Foo
dataset Foo\A
dir Foo\A\A1
dir Foo\A\A2
dir Foo\A\A3
...
dataset Foo\B
...
dataset Bar
...

Everything is present except that none of the files that used to be in A1, A2, ... remain. And the snapshots are empty too.
 

warri

Guru
Joined
Jun 6, 2011
Messages
1,193
You didn't state your hardware and FreeNAS version as per forum rules.

Whats the output of zpool status and zfs list?
 

Intropy

Dabbler
Joined
Sep 17, 2013
Messages
13
You didn't state your hardware and FreeNAS version as per forum rules.

Whats the output of zpool status and zfs list?

Sorry about that missing info. Adn thanks for the response.

Build: FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Platform: AMD A4-5300 APU with Radeon(tm) HD Graphics
Memory: 15798MB

zpool status:
pool: storage state: ONLINE scan: scrub repaired 0 in 29h58m with 0 errors on Fri Apr 4 05:58:40 2014 config: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/a23xxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0 gptid/a29xxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0 gptid/a30xxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0 gptid/a36xxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0 gptid/a3dxxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0 gptid/a43xxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0 gptid/a49xxxxx-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0
gptid/a4ee10c8-45dd-11e3-9663-60a44caf3660.eli ONLINE 0 0 0
errors: No known data errors
zfs list:

NAME USED AVAIL REFER
MOUNTPOINT
storage 9.34T 8.68T 330K
/mnt/storage
storage/A 67.7G 8.68T 59.6G
/mnt/storage/A
storage/Home 26.3G 8.68T 283K
/mnt/storage/Home
storage/Home/Q 296K 8.68T 296K
/mnt/storage/Home/Q
storage/Home/R 26.3G 8.68T 26.3G
/mnt/storage/Home/R
storage/Home/S 296K 8.68T 296K
/mnt/storage/Home/S
storage/K 8.89T 8.68T 323K
/mnt/storage/K
storage/K/A 11.9G 8.68T 11.9G
/mnt/storage/K/A
storage/K/B 2.07T 8.68T 2.02T
/mnt/storage/K/B
storage/K/C 101G 8.68T 101G
/mnt/storage/K/C
storage/D/D 1.64G 8.68T 1.63G
/mnt/storage/K/D
storage/K/E 350G 8.68T 350G
/mnt/storage/K/E
storage/K/F 6.37T 8.68T 6.30T
/mnt/storage/K/F
storage/L 366G 8.68T 366G
/mnt/storage/L
storage/jails 2.64G 8.68T 138M
/mnt/storage/jails
storage/jails/.warden-template-9.1-RELEASE-amd64 250M 8.68T 250M
/mnt/storage/jails/.warden-template-9.1-RELEASE-amd64
storage/jails/.warden-template-9.1-RELEASE-amd64-pluginjail 620M 8.68T 620M
/mnt/storage/jails/.warden-template-9.1-RELEASE-amd64-pluginjail
storage/jails/s 1.66G 8.68T 2.25G
/mnt/storage/jails/bar
storage/syslog 242K 8.68T 242K

/mnt/storage/syslog

It is a directory under /mnt/storage/M/T that has the missing files.
directories:
/mnt/storage/K/F/Foo/Foo1
/mnt/storage/K/F/Foo/Foo2
etc still exist but are all empty of files.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Is this some kind of joke? You filtered out your GPTID!?

Then, either your data is lost or your "M/T" doesn't mount because it's corrupt.

I'm done with you.. good luck.
 
Status
Not open for further replies.
Top