Hi,
I have a similar problem: Import crashes my machine.
I did not bother IRC because I am currently backing up my files - which takes still 24h.
And this thread might be helpful to others.
I don't know where I can find a crash dump (nothing written in the wiki as well).
The system.log and the o3x logs in /var/log are empty.
My setup:
I am running version 1.5.2. (recently upgraded)
on a MacPro 5.1 (2010) - so ECC RAM is used.
I have 3 zpools, all with mirroring disks.
Two pools with two disks, one with 3.
1 disk of each pool is connected in an external case via eSATA, the rest is internally connected (SATA).
The external case is connected through a PCI eSATA controller.
Since I upgraded openzfs I implemented a bunch of launchDemons, which are doing regular (hourly) snapshots and weekly scrubs.
Since upgrading openzfs I have this issue for the second time.
The last time it was on a different pool then now.
I forgot what helped the last time ... it was either pool import -F or -FX or I simply restored a snapshot.
The machine suddenly crashed and crashed again after rebooting. I figured it was the auto-install script and disabled it.
I can import two pools fine, but it repeatedly crashes when importing the third.
This time import -F did not help - I did not want to try -FX yet.
I coud import the pool readonly with
zpool import -f -o readonly=on <poolname>
All pools did a scrub when my machine crashed. I guess the faulty pool had just bad luck and the crash corrupted something.
Like I said I currently backup all files before trying -X or restoring a snapshot.
So - I actually have two questions:
1) How to fix my current problem, that a rw import of the pool crashes my machine?
I assume it might be a bug in version 1.5.2. - I am happy to help with further info for debugging.
2) I am rethinking my backup strategy. Well, this is currently making automatic snapshots within the pool.
But could it happen, that the pool gets this much damaged that the snapshots are not mountable as well?
I am thinking about either zfs send-ing the snapshots from one local pool to another - or to an online backup.
Surely the offsite backup adds another level of protection, but it involves additional monthly costs. And I am not sure, if my zipped snapshots would be save from data corruption there (as I don't know if the provider would use zfs
).
If I opt for online, altdrive.com looks like the cheapest option with monthly costs of $4.45 (or even $3.71, if one pays for a year), unlimited storage space and no other fees (for up/downloading, etc.).
Any experience with this? I assume that I might just point their client-software to the .zfs snapshot directory ... or locally zip incremental snapshots, which I store there.
Thanks for reading my long post!
Please tell me where/how to get a dump, give me tips and feel free to comment my setup
Thanks in advance