From owner-freebsd-questions@FreeBSD.ORG Sat May 26 22:11:18 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 5670916A41F for ; Sat, 26 May 2007 22:11:18 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id F3AD713C465 for ; Sat, 26 May 2007 22:11:17 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by py-out-1112.google.com with SMTP id a29so2124237pyi for ; Sat, 26 May 2007 15:11:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ro3pQO2RnnTnhQFH7adHEPhjZqlw2Uxshj51hejnguzcMk3ppzTcs/O9G9X6AZfzujuL4WFkjy12AptYiW7Gmv8oGS5X+bu81HbRB39LRECoYmxTWLZ3Ej80YQlLQZOxMOAW/Ai32wvXPWza4axC1WGWDomFvPfg3UDmMymC8cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M4E9qD4ee1G6IAVTr1By2m/zhWdx0738yeJcRrfQM144v9ZfukmdCtghppVHXM9iDAjD7hSrJK6wF4sftSVh8A0L7b+nLmtCJwaJX8Kphagye9Fu1spHpo9U+/hrbOzfD1+nqkzeUdBonttlK11OWa3eK1XZ6C5Gug3VWSVZb4k= Received: by 10.64.181.12 with SMTP id d12mr8154142qbf.1180217477332; Sat, 26 May 2007 15:11:17 -0700 (PDT) Received: by 10.65.147.14 with HTTP; Sat, 26 May 2007 15:11:17 -0700 (PDT) Message-ID: <57d710000705261511t3ff03968wef2ae785ad2d63bc@mail.gmail.com> Date: Sat, 26 May 2007 15:11:17 -0700 From: "pete wright" To: "Svein Halvor Halvorsen" In-Reply-To: <4658AFC3.30803@lvor.halvorsen.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> <4658AFC3.30803@lvor.halvorsen.cc> 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:11:18 -0000 On 5/26/07, Svein Halvor Halvorsen wrote: > -----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. > > not that i know of, and IMHO for good reason. i would not trust anything of that nature with data that i deemed important enough to snap shot in the first place. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group