Subject: Re: Which snapshot strategy to use? was: How to capture all file system writes
To: None <tech-kern@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 10/22/2003 20:21:53
--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Oct 22, 2003 at 07:52:08PM +0200, Juergen Hannken-Illjes wrote:
>=20
> I can see two different approaches to file system snapshots:
>=20
> 1) Kirk McKusick ffs snapshots from FreeBSD. It is an extension of the
> ffs file system with these properties (I hope I get them right..):
>=20
> - Backing store is always the snapshotted file system.
> - The snapshot appears as a file whose size is the size of the file
> system. Blocks unallocated at the time of the snapshot read as 0's.
> - It allows up to 20 snapshots per file system
> - The snapshots survive unmounts and reboots.
>=20
> - Mounting or dumping the snapshot is possible through vnd(4) and/or
> some modifications to dump(8).
> 2) A somewhat generic approach similar to the fssnap from Solaris:
>=20
> - Backing store must be on another file system (or swap / memory).
> - The snapshot appears as a raw/block pseudo device. It is possible
> to freeze the unallocated blocks as well.
> - Number of snapshots is bound by the number of pseudo devices.
> - The snapshots get cleared on unmount.
[snip]
> Which one is better?
They are each better for different uses. So neither one will win out=20
overall.
Take care,
Bill
--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQE/l0lQWz+3JHUci9cRAmtPAKCUuoNpen3rtnMLzGfX/ryF2UVPqACeLsLF
H1fG8PXHHtCdsRgX9w7O328=
=G/wg
-----END PGP SIGNATURE-----
--vtzGhvizbBRQ85DL--