From owner-freebsd-questions@FreeBSD.ORG Sat May 26 22:09:17 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E3CA16A400 for ; Sat, 26 May 2007 22:09:17 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.freebsd.org (Postfix) with ESMTP id 1A42D13C44C for ; Sat, 26 May 2007 22:09:17 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id 5F8B733851 for ; Sun, 27 May 2007 00:09:16 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by signal.itea.ntnu.no (Postfix) with SMTP for ; Sun, 27 May 2007 00:09:16 +0200 (CEST) Received: (qmail 96030 invoked by uid 88); 27 May 2007 00:09:15 +0200 Received: from maren.math.ntnu.no (HELO weld.ej2.thelosingend.net) (129.241.211.48) by maren.thelosingend.net (qpsmtpd/0.31.1) with ESMTP; Sun, 27 May 2007 00:09:00 +0200 Message-ID: <4658AFC3.30803@lvor.halvorsen.cc> Date: Sun, 27 May 2007 00:08:03 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 2.0.0.0 (X11/20070523) MIME-Version: 1.0 To: pete wright References: <465864F4.7060500@lvor.halvorsen.cc> <20070526180336.GB34660@slackbox.xs4all.nl> <465884E3.5000500@lvor.halvorsen.cc> <20070526194342.GA37130@slackbox.xs4all.nl> <465898D5.7080607@lvor.halvorsen.cc> <57d710000705261444j48c515b6o4666ac2f168f7725@mail.gmail.com> In-Reply-To: <57d710000705261444j48c515b6o4666ac2f168f7725@mail.gmail.com> X-Enigmail-Version: 0.95.0 OpenPGP: id=9198BB40; url=mailto:pgpkey@svein.halvorsen.cc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: Roland Smith , questions@freebsd.org Subject: Re: Restore UFS snapshot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 22:09:17 -0000 -----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@svein.halvorsen.cc to get my PGP-key iD8DBQFGWK/ChQg3vZGYu0ARAoLIAJoDCeyZf/lsO/sj0HbZtosKs4i/lgCghohK Uc+zpgqsxUNVCV5yd/x0BQ0= =J6Az -----END PGP SIGNATURE-----