Date: Sun, 30 May 2010 20:40:19 -0400 From: David Magda <dmagda@ee.ryerson.ca> To: Kirk Strauser <kirk@strauser.com> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: Make ZFS auto-destroy snapshots when the out of space? Message-ID: <04B42F88-2E60-4B29-BEF9-3AE3AE251CB3@ee.ryerson.ca> In-Reply-To: <FE2C1544-BB59-4843-86B4-6FE7FD9CD57F@strauser.com> References: <4C017419.9010909@strauser.com> <AANLkTilpvnh7gpUCYFSHpxrehNhVl3DiO0OFkKcg7MdX@mail.gmail.com> <FE2C1544-BB59-4843-86B4-6FE7FD9CD57F@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 30, 2010, at 18:03, Kirk Strauser wrote: > The "only one need" that it addresses is that now FreeBSD would come > with a built-in recovery system. Did a "make installworld" but > screwed something up and ended up with a non-bootable system? Pop in > a recovery CD and revert to the "4 hours ago" snapshot, then reboot. > Voila! It never happened. Accidentally deleted /etc/passwd? Retrieve > the version from /.zfs/snapshot/weekly-2010-21/etc/passwd . Just > realized that you deleted an important file 3 months ago and only > keep 2 weeks worth of backups? No problem, as long as you haven't > filled up your hard drive since then. All scriptable. For the case of "make installworld", a make.conf variable can be created to run a "zfs snapshot" before any kind of 'make install'; this could be for both Ports and the base system. Portmanager and/or portupgrade could also be expanded to optionally do this. (Open)Solaris already has this with the Live Upgrade and boot environment idea if you want a comparison: http://docs.sun.com/app/docs/doc/820-5238/ggavn http://docs.sun.com/app/docs/doc/819-2240/bootadm-1m http://docs.sun.com/app/docs/doc/819-2379/gglaj
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04B42F88-2E60-4B29-BEF9-3AE3AE251CB3>