February 13, 20251 yr Hi everybody, First, sorry for my probably bad English . i have my array with 3 disks in it. My file system is ZFS. I converted manually folder (existing share folder) to dataset but with files in it. I believe it was an error because all files in it disappeared. Did i make a mistake ? All the files were erased ? Can I do something to reverse to the initial state ? or is it possible to find again my files ? I hope i was enough clear. Thanks to all of you who could help me.
February 13, 20251 yr Community Expert It creates empty datasets, you have to move the files off first. Do you have backups? I made the same mistake with my appdata, but was able to restore from Appdata Backup plugin.
February 13, 20251 yr Author Thank trurl for your answer. I fortunately have backup for most of the files but not all . But do you know if those files were really erased ? Do you know if I can recover them ?
February 14, 20251 yr Community Expert Solution If you created a dataset on top of an existing folder, that original data will still be there but hidden while the dataset is mounted, you can unmount the dataset or just destroy it, assuming it's still empty, and it doesn't have any child datasets: zfs unmount <pool name>/<dataset> or zfs destroy <pool name>/<dataset> You can use the first option to confirm the data is all there, then destroy.
February 14, 20251 yr Author Thanks a lot JorgeB : it works. I used zfs unmount <pool name>/<dataset>. I did not recover all the files but most of them. I still do not really understand what the difference between mount and unmount. Again, thank you, you were very helpful.
February 15, 20251 yr Community Expert 10 hours ago, spourt38 said: I did not recover all the files but most of them They should have been all there, but glad most were at least.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.