Restore UFS snapshot
Svein Halvor Halvorsen
svein.h at lvor.halvorsen.cc
Sat May 26 22:00:28 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roland Smith wrote:
> You could use rsync instead of tar. That would save time.
I'm not talking about saving time. But saving CPU time and HDD
stress. However, the disk space issue is a bigger one:
>> (b) Undo all the bit flipping I have done, since I made the snapshot.
>
> This is what the procedure above does if you replace the tar commands
> with rsync.
No, because the snapshot will still be in use, and hence all its
bits will be kept intact and read-only. When I use rsync/tar/cpio or
whatever to "undo" changes to a file system, I will in reality copy
these bits to different places on the disk. And until I release the
snapshot (which I very well could, since it would defunct after the
restore process), I will use twice the amount of disk space.
Svein Halvor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: mailto:pgpkey at svein.halvorsen.cc to get my PGP-key
iD8DBQFGWK2vhQg3vZGYu0ARAk/5AJ9QksQAbmwKTJLkwKGhISMpMvOEZgCgwG5u
s7bYTdMu9DEIylAhTCeepzI=
=5cD3
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list