Date: Mon, 28 May 2007 13:11:09 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Ian Smith <smithi@nimnet.asn.au> Cc: Maxim Khitrov <mkhitrov@gmail.com>, freebsd-questions@freebsd.org, Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc> Subject: Re: Restore UFS snapshot Message-ID: <20070528111109.GA614@slackbox.xs4all.nl> In-Reply-To: <Pine.BSF.3.96.1070528162127.22485B-100000@gaia.nimnet.asn.au> References: <20070527201623.AC50F16A4EA@hub.freebsd.org> <Pine.BSF.3.96.1070528162127.22485B-100000@gaia.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 28, 2007 at 05:15:19PM +1000, Ian Smith wrote: >=20 > I share Roland's concern about the reliability of any new code designed > to accomplish the 'full rollback' desired, but of course anything would > have to undergo incredibly rigorous testing before it would be allowed > anywhere near even -CURRENT I'm sure, same as softupdates/snapshots has.= =20 >=20 > That said, I think it is worthwhile finding out whether this is even > possible with the amount of data and metadata saved in snapshots to > accomplish their existing utility (which I still find pretty awesome, > and despite re-reading that section again several times, mysterious ..) It should be possible. All the data that is needed is there. But I do think it will be definitely non-trivial.=20 For one thing, you'll have to block all other changes from userland to the target filesystem while restoring the snapshot. And you'll have to update other snapshots as well. Seems like a big can of worms to me. > I guess contacting Marshall McKusick might be the quickest way to find > out whether there's sufficient metadata available to do that; he'd know > off the top of his head, I'm sure. So should several other people, I > guess, but more likely those frequenting -fs, -hackers, maybe -arch?=20 Excellent idea. > It may even be possible, assuming restoration of a filesystem to its > state in a snapshot is possible at all, to first save all subsequent > changes in its present state to another snapshot, or a snapshot-like > thing, to allow 'rollforward' again, perhaps .. that would be cute. If you take a snapshot just before you restore the older one, you could do that. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGWrjNEnfvsMMhpyURAg4SAJ41W3GgrOfQC8fNoW79+APS9pqpDACbBxKS zElTvIINJNkqKDfLsbXmWnI= =NXaB -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070528111109.GA614>