I'm wondering what is happening when one issues a command to destroy ZFS pool? is some metadata erased then? is something else happening under the hood that actually doesn't destroy the content on ZFS pool but only some specific metadata? is there a chance that ZFS uses metadata at specific areas on each disk belonging to pool and that metadata can be saved and restored in case of emergency?
I have no deep knowledge on the subject and I'm not sure if it makes sense at all. I just think by analogy, for example, with old fashioned ms-dos partitions. if one saves first 512 bytes of the disk and something happens to that area then it is possible to restore backup and eventually everything is as it was before: information about partitions is restored. is something like this possible for ZFS so that in case of overwriting one can restore metadata on block devices used in pool that got destroyed and try to recover whatever content can be recovered? is this analogy adequate or there is completely different story with no chances for success?
thank you,
geos
I have no deep knowledge on the subject and I'm not sure if it makes sense at all. I just think by analogy, for example, with old fashioned ms-dos partitions. if one saves first 512 bytes of the disk and something happens to that area then it is possible to restore backup and eventually everything is as it was before: information about partitions is restored. is something like this possible for ZFS so that in case of overwriting one can restore metadata on block devices used in pool that got destroyed and try to recover whatever content can be recovered? is this analogy adequate or there is completely different story with no chances for success?
thank you,
geos