Hi guys,
due to a power outtage it seems like I lost my Raid1/Mirror pool.
It is in state faulted.
The metadata got corrupted and it can´t be imported, no matter how hard you try unless... i came up with this one here:
Both disks seem to run fine, long smart Test returned no errors.
If you try to import it with normal -f or with -d for the disks itself, It get this "advice":
So my primary question is not, how do I get the pool back (although comments are welcome).
I am more interested in the question, how do i prevent this from happening. I mean, is it really possible, that both disks scramble metadata at the same time and so many information is lost, that I practically have to choose a state from last year?
I thought I was pretty safe with a mirror and thought metadata etc. is mirrored, too?
Therefore I am quite unhappy with the fact, that it tells me to go back to last year.
Ist there a way to get a mirror more robust against failures like this?
due to a power outtage it seems like I lost my Raid1/Mirror pool.
It is in state faulted.
The metadata got corrupted and it can´t be imported, no matter how hard you try unless... i came up with this one here:
Bash:
~# zpool import -f -FXn Pool-A-Toshi18
Would be able to return Pool-A-Toshi18 to its state as of Sun Aug 11 20:47:02 2024.
Would discard approximately 257972 minutes of transactions.
Both disks seem to run fine, long smart Test returned no errors.
If you try to import it with normal -f or with -d for the disks itself, It get this "advice":
Bash:
~# zpool import -d /dev/sda1 -d /dev/sdb1 -f Pool-A-Toshi18
cannot import 'Pool-A-Toshi18': I/O error
Destroy and re-create the pool from
a backup source.
So my primary question is not, how do I get the pool back (although comments are welcome).
I am more interested in the question, how do i prevent this from happening. I mean, is it really possible, that both disks scramble metadata at the same time and so many information is lost, that I practically have to choose a state from last year?
I thought I was pretty safe with a mirror and thought metadata etc. is mirrored, too?
Therefore I am quite unhappy with the fact, that it tells me to go back to last year.
Ist there a way to get a mirror more robust against failures like this?
Last edited: