Date: Thu, 24 Nov 2016 09:34:22 +0000 From: Pete French <petefrench@ingresso.co.uk> To: arcade@b1t.name, freebsd-stable@freebsd.org Subject: Re: Help! two machines ran out of swap and corrupted their zpools! Message-ID: <E1c9qQA-000Ceq-8a@dilbert.ingresso.co.uk> In-Reply-To: <583457B5.1070702@b1t.name>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1c9qQA-000Ceq-8a>