ZFS Cannot find file system superblock

I was in the middle of trying to tidy up numerous files and came out of a subdirectory which suddenly disappeared and was unable to re-enter it. I did not consciously delete it. It was on a ZFS formatted partition...


Code:
root@M73:/# gpart show
=>        40  7814037088  ada0  GPT  (3.6T)
          40        1024     1  freebsd-boot  (512K)
        1064         984        - free -  (492K)
        2048     4194304     2  freebsd-swap  (2.0G)
     4196352  7809839104     3  freebsd-zfs  (3.6T)
  7814035456        1672        - free -  (836K)

Code:
root@M73:/# fsck -y /dev/ada0p3
Cannot find file system superblock
Cannot find file system superblock

I'm not sure what this tells me or what I can do about it.

Any suggestions?
 
A fsck-worthy incident on ZFS is kind of serious if it really happened. I would recommend some stability testing starting with memtest.

There is no way to (partially) repair a corrupted ZFS filesystem like you can do with fsck for UFS to recover (some) data, so I would take this serious.
 
A fsck-worthy incident on ZFS is kind of serious if it really happened.
It can happen. I still have a file __pycache__ lingering, that was part of lang/python37. It cannot be deleted because the file type is not known to our zfs version (reparse flag). This should not happen, but apparently that flag exists and can be set on a file.
In ufs you would clri and then fsck. In zfs you have to destroy and recreate the pool.
 
Back
Top