Does anyone have any ideas of what may have happened and how I can recover all my data? And no, foolish me I don't have snapshots enabled.
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Odd Issue Causing Loss of All Data on ZFS Pool
-
checkbin
- NewUser

- Posts: 6
- Joined: 16 Jan 2017 20:26
- Status: Offline
Odd Issue Causing Loss of All Data on ZFS Pool
I searched the forums but didn't see anything related to my issue. I have 3 ZPOOL RAID-z3 datasets, each with 11 3TB drives. Running Nas4Free version 9.3.0.2. Everything has been running great for several years now until yesterday, when I noticed I lost ALL my data on the 3rd dataset. The health of the pool is fine but all the data disappeared. I have the dataset also shared by SMB and I noticed the recycle bin is also gone now. I did not delete any data nor do anything to the pool or vdevs. All the drives show up still and the pool shows as healthy. I don't know how all of my nearly 25TB of data could be gone but it appears to be. Since I didn't delete any files and oddly the .recycle directory of the SMB share is even gone, I'm hoping something strange is going on and my data is really still there.
Does anyone have any ideas of what may have happened and how I can recover all my data? And no, foolish me I don't have snapshots enabled.
Thanks in advance for any thoughts or suggestions.
Does anyone have any ideas of what may have happened and how I can recover all my data? And no, foolish me I don't have snapshots enabled.
-
ku-gew
- Advanced User

- Posts: 172
- Joined: 29 Nov 2012 09:02
- Location: Den Haag, The Netherlands
- Status: Offline
Re: Odd Issue Causing Loss of All Data on ZFS Pool
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync
XigmaNAS stable branch, always latest version
SMB, rsync
-
checkbin
- NewUser

- Posts: 6
- Joined: 16 Jan 2017 20:26
- Status: Offline
Re: Odd Issue Causing Loss of All Data on ZFS Pool
zpool history showed no activity on the Pool since 2015 when I last swapped out a drive. 
-
substr
- experienced User

- Posts: 113
- Joined: 04 Aug 2013 20:21
- Status: Offline
Re: Odd Issue Causing Loss of All Data on ZFS Pool
Try zfs list -r poolname
And see if the dataset is there.
It may not be mounted, or may be mounted somewhere else.
And see if the dataset is there.
It may not be mounted, or may be mounted somewhere else.
-
checkbin
- NewUser

- Posts: 6
- Joined: 16 Jan 2017 20:26
- Status: Offline
Re: Odd Issue Causing Loss of All Data on ZFS Pool
# zfs list -r VPOOL3
NAME USED AVAIL REFER MOUNTPOINT
VPOOL3 516M 21.5T 442K /mnt/VPOOL3
VPOOL3/VDATASET3 7.72M 21.5T 7.72M /mnt/VPOOL3/VDATASET3
So is all hope lost for getting any data back? The thing that worries me most (aside from losing all my data) is that I still don't know how this happened and fear it will occur again. I know ZFS is not a backup solution, but with raid-z3 I hope to minimize the chance of ata loss but it didn't help in this case. Doing full backups of 25G of data on each of 3 pools to another media is not an easy task.
NAME USED AVAIL REFER MOUNTPOINT
VPOOL3 516M 21.5T 442K /mnt/VPOOL3
VPOOL3/VDATASET3 7.72M 21.5T 7.72M /mnt/VPOOL3/VDATASET3
So is all hope lost for getting any data back? The thing that worries me most (aside from losing all my data) is that I still don't know how this happened and fear it will occur again. I know ZFS is not a backup solution, but with raid-z3 I hope to minimize the chance of ata loss but it didn't help in this case. Doing full backups of 25G of data on each of 3 pools to another media is not an easy task.
- crowi
- Forum Moderator

- Posts: 1176
- Joined: 21 Feb 2013 16:18
- Location: Munich, Germany
- Status: Offline
Re: Odd Issue Causing Loss of All Data on ZFS Pool
Data usually does not disappear without a hardware failure, looks like you or anyone else deleted the stuff somehow by mistake.
Even with RAIDZ3 you need a backup, obviously :-/
Even with RAIDZ3 you need a backup, obviously :-/
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded
-
checkbin
- NewUser

- Posts: 6
- Joined: 16 Jan 2017 20:26
- Status: Offline
Re: Odd Issue Causing Loss of All Data on ZFS Pool
Yes it does seem to appear that's what happened, I just don't know how it did. I only access the files via CIFS/Samba thru shares on my Windows 10 PC. When I do delete a file, it always shows up in the pool's .recycle directory. In this failure, every single directory was gone (probably 50 or more of them) and dozens of files, plus the .recycle directory itself was gone. So I don't know how I could have accidentally deleted all of that without k knowing it (and I'm the only user of the system). Unless some program somehow did it, which is a scary thought too. I did run virus and malware scanners too and they didn't find anything. I'm at a total loss here (literally and figuratively).