Dean Rantala
Cadet
- Joined
- Mar 29, 2015
- Messages
- 2
Linux system admin here trying to help a friend out. I am not that well versed with BSD and especially not ZFS.
That aside, I spent a couple hours and came up pretty dry.
Overview of what he told me he done:
-> Installed FreeNAS and copied over 900 movies to /mnt/ExtStorage1/Videos
-> Created a jail (not sure the details)
-> Created a dataset
-> Deleted the dataset
-> All filesunder /mnt/ExtStorage1/Videos are now gone
Now before we get into a "google search" shouting match, let me explain me confusion and outline what I am trying to figure out.
For starters, I am trying to understand just what he did. What makes this even more dificult is that he is a little green to anything *nix-related and cannot clearly explain what he did from the web GUI. But there is some hope, here is the "zfs history" log:
2015-03-29.12:53:27 zfs create -o aclmode=restricted -o casesensitivity=sensitive ExtStorage1/Movies
2015-03-29.13:00:11 zfs create -o aclmode=restricted -o casesensitivity=sensitive ExtStorage1/Jails
2015-03-29.13:04:30 zfs create -o mountpoint=/ExtStorage1/Videos/.warden-template-standard -p ExtStorage1/Videos/.warden-template-standard
2015-03-29.13:14:41 zfs snapshot ExtStorage1/Videos/.warden-template-standard@clean
2015-03-29.13:15:12 zfs clone ExtStorage1/Videos/.warden-template-standard@cleanExtStorage1/Videos/PlugIn Jail
2015-03-29.13:20:17 zfs destroy -r ExtStorage1/Jails
2015-03-29.17:28:37 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 12828336135469962757
2015-03-29.17:28:37 zpool set cachefile=/data/zfs/zpool.cache ExtStorage1
It want to point out that he performed all steps from the web GUI (none of this was done by him manually typing out the commands).
Now the confusing part - for me - is that after his files went "missing" from the /mnt/ExtStorage1/Videos directory, the storage space left on the FreeNAS (ExtStorage1) zpool still shows as only 500GB left (out of 2.6TB). So the thought is that his files are still there.
I have (from a command line) changed into the /mnt/ExtStorage1 directory and run a 'du -hs *', as well as several other commands and can verify that - as far as I can see - his files are truly gone. But 'df -h' shows /mnt/ExtStorage1 as only having 500GB left (his movies were over 2TB of space).
I did some basic research and ran a scrub on ExtStorage1 (command completed in 10 seconds or so).
Thoughts?
That aside, I spent a couple hours and came up pretty dry.
Overview of what he told me he done:
-> Installed FreeNAS and copied over 900 movies to /mnt/ExtStorage1/Videos
-> Created a jail (not sure the details)
-> Created a dataset
-> Deleted the dataset
-> All filesunder /mnt/ExtStorage1/Videos are now gone
Now before we get into a "google search" shouting match, let me explain me confusion and outline what I am trying to figure out.
For starters, I am trying to understand just what he did. What makes this even more dificult is that he is a little green to anything *nix-related and cannot clearly explain what he did from the web GUI. But there is some hope, here is the "zfs history" log:
2015-03-29.12:53:27 zfs create -o aclmode=restricted -o casesensitivity=sensitive ExtStorage1/Movies
2015-03-29.13:00:11 zfs create -o aclmode=restricted -o casesensitivity=sensitive ExtStorage1/Jails
2015-03-29.13:04:30 zfs create -o mountpoint=/ExtStorage1/Videos/.warden-template-standard -p ExtStorage1/Videos/.warden-template-standard
2015-03-29.13:14:41 zfs snapshot ExtStorage1/Videos/.warden-template-standard@clean
2015-03-29.13:15:12 zfs clone ExtStorage1/Videos/.warden-template-standard@cleanExtStorage1/Videos/PlugIn Jail
2015-03-29.13:20:17 zfs destroy -r ExtStorage1/Jails
2015-03-29.17:28:37 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 12828336135469962757
2015-03-29.17:28:37 zpool set cachefile=/data/zfs/zpool.cache ExtStorage1
It want to point out that he performed all steps from the web GUI (none of this was done by him manually typing out the commands).
Now the confusing part - for me - is that after his files went "missing" from the /mnt/ExtStorage1/Videos directory, the storage space left on the FreeNAS (ExtStorage1) zpool still shows as only 500GB left (out of 2.6TB). So the thought is that his files are still there.
I have (from a command line) changed into the /mnt/ExtStorage1 directory and run a 'du -hs *', as well as several other commands and can verify that - as far as I can see - his files are truly gone. But 'df -h' shows /mnt/ExtStorage1 as only having 500GB left (his movies were over 2TB of space).
I did some basic research and ran a scrub on ExtStorage1 (command completed in 10 seconds or so).
Thoughts?