From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 9 14:21:16 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8203106568E for ; Thu, 9 Oct 2008 14:21:16 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7768FC24 for ; Thu, 9 Oct 2008 14:21:15 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id m99ELEwd007902; Thu, 9 Oct 2008 16:21:14 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id m99ELEcm007901; Thu, 9 Oct 2008 16:21:14 +0200 (CEST) (envelope-from olli) Date: Thu, 9 Oct 2008 16:21:14 +0200 (CEST) Message-Id: <200810091421.m99ELEcm007901@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG, zbeeble@gmail.com In-Reply-To: <5f67a8c40810081019w79e0bb42i49c4da623b6e08ab@mail.gmail.com> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 09 Oct 2008 16:21:14 +0200 (CEST) Cc: Subject: Re: continuous backup solution for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-hackers@FreeBSD.ORG, zbeeble@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 14:21:16 -0000 Zaphod Beeblebrox wrote: > Oliver Fromme wrote: > > However, ZFS does exist on FreeBSD, and I think it wouldn't > > be impossible to add similar features to ZFS. > > Possibly even as a ZFS module? This might be something better addressed at > the ZFS project level --- but the next question is: does FreeBSD support ZFS > modules? I'm sorry I don't know. But also see my other reply regarding ZFS snapshots ans "zfs send". > > Another possibility would be to extend gjournal by adding > > time stamps to journal transactions and a possibility to > > feed the journal to a pipe, socket or whatever. And of > > course a client-side implementation that does something > > useful with the journal stream. This might even be a good > > SoC project. > > Now this interests me. Firstly, I thought that gjournal might only be > responsible for the meta-data (but I'm happy to be wrong on this point). Nope, gjournal handles _all_ data, i.e. meta data and file contents. > Secondly, is it a) sufficient and b) efficient to attempt to time-travel UFS > with the gjournal log? I almost don't dare to mention DragonFly BSD again, but they do have a UFS journaling implementation that does exactly that: http://leaf.dragonflybsd.org/cgi/web-man?command=mountctl http://leaf.dragonflybsd.org/cgi/web-man?command=jscan However, I think the implementation was abandoned because it was obsoleted by the development of the HAMMER file system. But the basic functionality is there and works. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "IRIX is about as stable as a one-legged drunk with hypothermia in a four-hundred mile per hour wind, balancing on a banana peel on a greased cookie sheet -- when someone throws him an elephant with bad breath and a worse temper." -- Ralf Hildebrandt