Help! two machines ran out of swap and corrupted their zpools!
Pete French
petefrench at ingresso.co.uk
Thu Nov 24 09:34:25 UTC 2016
> Instapanic, huh...
>
> Ok, let's put documentation aside and focus on unsupported development
> features.
Hi, sorry for not replying untiltoday, but basivally we got to the point
where getting the machine sp again was more importnat than debugging so
unfortunately I had to clone the drives off other leaves, so the opportunity
to debug this was lost :-( Sorry...
however, the info below is *very* useful! Thankyou! Will file taht way for
the next time we get any similar issues.
much appreciated.
-pete.
>
> You'll need a list of available transactions:
>
> zdb -ul <vdev>
>
> This one when given a vdev lists all uberblocks with their respective
> transaction ids. You can take the highest one (it's not the last one)
> and try to mount pool with:
>
> zpool import -N -O readonly=on -f -R /mnt/somezpool -F -T
> <transaction_id> <pool>
>
> Then check available filesystems. If it breaks again - retry with older
> transaction id.
More information about the freebsd-stable
mailing list