Restore UFS snapshot

Svein Halvor Halvorsen svein.h at lvor.halvorsen.cc
Sat May 26 22:09:17 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

pete wright wrote:
> hmm...i'm still a little confused as to where you are going.  there
> are three main way's i've used snapshot's in large (~1PB)
> environments, two of which are applicable to you i believe:

*snip dump/restore plug*


Yes, I understand how I could use dump/restore. But forget about all
this. Forget about my reasons for wanting it.

All I want to know is whether or not there exists a tool that will
let me rollback a snapshot without mounting it, dumping it, or
anything like that. Just by flipping some bits in the superblock, or
some other small changes to an (unmounted) file system. Something
really easy. No extra disk, no excessive copying, no nothing. Just a
simple

# umount
# snap_rollback
*wait 10 seconds*
# mount

.. and I'm set.

I believe it should be possible. And if nothing like that exists, it
should be made. I could look into it, but I would have to learn a
lot more about the inner workings of the file system first.



	Svein Halvor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: mailto:pgpkey at svein.halvorsen.cc to get my PGP-key

iD8DBQFGWK/ChQg3vZGYu0ARAoLIAJoDCeyZf/lsO/sj0HbZtosKs4i/lgCghohK
Uc+zpgqsxUNVCV5yd/x0BQ0=
=J6Az
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list