Date: Mon, 28 May 2007 13:34:52 +0200 From: Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc> To: Ian Smith <smithi@nimnet.asn.au>, Maxim Khitrov <mkhitrov@gmail.com>, Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc>, freebsd-questions@freebsd.org Subject: Re: Restore UFS snapshot Message-ID: <465ABE5C.3000706@lvor.halvorsen.cc> In-Reply-To: <20070528111109.GA614@slackbox.xs4all.nl> References: <20070527201623.AC50F16A4EA@hub.freebsd.org> <Pine.BSF.3.96.1070528162127.22485B-100000@gaia.nimnet.asn.au> <20070528111109.GA614@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roland Smith wrote: > On Mon, May 28, 2007 at 05:15:19PM +1000, Ian Smith wrote: >> 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. >> >> 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. > > 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 was thinking this should be done while the fs is umounted. As I suggested: 1. umount 2. snap_rollback <snapshot-id> and 3. mount. Svein Halvor -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key iD8DBQFGWr5ahQg3vZGYu0ARAh/iAJ0RdOGSuzgALvRNin2Nd2Xtw3hrmgCguxN4 oKBvLazzHSsN62uas1szqRg= =kOxO -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465ABE5C.3000706>