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!
so I recently discovered that the contents of one of my ZFS RaidZ1 directory are empty now.
Since there were quite some important data in it, I was wondering how I can restore the contents?
I googled a bit and found out, I shoud run a LONG selftest, which will provide me the faulty sector, which I will rewrite and the problem should be fixed
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 15813 -
# 2 Short offline Completed without error 00% 15813 -
# 3 Extended offline Completed without error 00% 15807 -
# 4 Short offline Completed without error 00% 15790 -
So the long selftest doesn't show anything abnormal, but the error is still there.
As you can see, I tried to offline and online the disk but there is a small amount of resilvering done and everything is normal again
I'd like to reformat the disk and integrate it back into the array. How can I do this?
I get the feeling, that the contents are forever lost and the faulty sector is somehow responsible, since I can see the empty directory and my AFP has already made a new ".AppleDouble" directory in it.
No idea about this firmware issue, but if you are using RAIDZ1 then a single drive messing-up wouldn't cause data-loss. So I expect something else is the cause of your empty directory.