Last month I had a bad experience with ZFS. While browsing through directories, the system went away with a kernel panic. Somehow a directory has broken. As soon as I change a certain directory the system gets a panic.
After all, I asked myself: is there no
My curiosity is aroused. I want to know what's wrong with the pool. I have seen that it is possible to investigate with the
I decided to write my own tool to study zfs pools. I'm not really a good programmer, I use the language I know best: java. (No, please do not beat, I'm still so small ...) Since there are no good GUI frameworks for java, I decided on something unconventional: html. You can use the tool in the browser. Nice side effect is that I can present you already the first impressions.
Feel free to take a look here: https://imoriath.com/zfsspy/
Finally my questions:
- What do you think? Could this be a useful tool?
- Is there a more recent documentation for the internal data structures than ZFS On-Disk Specification – Draft?
- Who can I ask if I am stuck at one point?
zpool scrub
did not solve the problem, but made it worse. Now I get the panic already when importing the pool. Fortunately, it is still possible to import the pool with -o readonly=on
, so that I could save all important data, except the one directory. The data in the destroyed directory I still had in the backup. After sweaty hours, I had my data back.After all, I asked myself: is there no
fsck
for ZFS? I've found old developer discussions, whether they should write a fsck
for zfs or not. They have decided against it, because this kind of error should not actually occur, and an automatic fsck
can not deliver good results anyway.My curiosity is aroused. I want to know what's wrong with the pool. I have seen that it is possible to investigate with the
zdb
pools, but terribly awkward. Besides that you have to have imported the pool to access it with zdb
on it.I decided to write my own tool to study zfs pools. I'm not really a good programmer, I use the language I know best: java. (No, please do not beat, I'm still so small ...) Since there are no good GUI frameworks for java, I decided on something unconventional: html. You can use the tool in the browser. Nice side effect is that I can present you already the first impressions.
Feel free to take a look here: https://imoriath.com/zfsspy/
Finally my questions:
- What do you think? Could this be a useful tool?
- Is there a more recent documentation for the internal data structures than ZFS On-Disk Specification – Draft?
- Who can I ask if I am stuck at one point?