From owner-freebsd-geom@FreeBSD.ORG Sun Dec 3 19:36:55 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 531F516A403 for ; Sun, 3 Dec 2006 19:36:55 +0000 (UTC) (envelope-from a.bramley@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65A443E85 for ; Sun, 3 Dec 2006 19:32:06 +0000 (GMT) (envelope-from a.bramley@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so2121802pyh for ; Sun, 03 Dec 2006 11:32:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O8TG/w+oRvCwRUBNkDxqr9UV21eFVfEgl9iSSWXR4Y9p3EKBS+xomqC8lvNapxV7N/HnA5+f8P9Lx76d1GlNn5JE+/jSpPGb+KccXtBfhXKzNEE1D62uTj2pyi+eOf7ll9GNJproql2nI/oXb8gIsuS7m3zrpsm1z9x05lCCzJ0= Received: by 10.35.115.18 with SMTP id s18mr13617434pym.1165174349648; Sun, 03 Dec 2006 11:32:29 -0800 (PST) Received: by 10.35.70.13 with HTTP; Sun, 3 Dec 2006 11:32:29 -0800 (PST) Message-ID: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> Date: Sun, 3 Dec 2006 19:32:29 +0000 From: "Alex Bramley" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Resurrecting a GELI volume X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 19:36:55 -0000 Hi, First, please CC me in any replies to the list, as I am (temporarily) off list due to moving jobs. I accidentally overwrote the metadata of a GELI volume by using geli init on the wrong device node (never try to do sysadmin tasks when hungover). I have the correct key and passphrase, and I would like to know whether it is possible to regain access to my lost data. I have already tried running init again on the volume with the correct key and passphrase, but (somewhat unsurprisingly) to no avail. Any assistance would be much appreciated. Many Thanks, Alex From owner-freebsd-geom@FreeBSD.ORG Sun Dec 3 19:50:20 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3ED916A516 for ; Sun, 3 Dec 2006 19:50:20 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B00E43CB8 for ; Sun, 3 Dec 2006 19:49:46 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2F4E546DA5; Sun, 3 Dec 2006 20:50:13 +0100 (CET) Received: from localhost (dla112.neoplus.adsl.tpnet.pl [83.24.30.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 648C44569A; Sun, 3 Dec 2006 20:50:07 +0100 (CET) Date: Sun, 3 Dec 2006 20:50:04 +0100 From: Pawel Jakub Dawidek To: Alex Bramley Message-ID: <20061203195004.GA3183@garage.freebsd.pl> References: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: Resurrecting a GELI volume X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 19:50:20 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 03, 2006 at 07:32:29PM +0000, Alex Bramley wrote: > Hi, >=20 > First, please CC me in any replies to the list, as I am (temporarily) > off list due to moving jobs. >=20 > I accidentally overwrote the metadata of a GELI volume by using geli > init on the wrong device node (never try to do sysadmin tasks when > hungover). I have the correct key and passphrase, and I would like to > know whether it is possible to regain access to my lost data. I have > already tried running init again on the volume with the correct key > and passphrase, but (somewhat unsurprisingly) to no avail. Any > assistance would be much appreciated. Passphrase is only used to encrypt the master key, which is stored in metadata. That means you overwrote the master key and I'm afraid your data is lost if you haven't backed the master key up before (with 'geli backup'). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFcypsForvXbEpPzQRAn38AKCZgjvpzQTy+AoFp4uzBAs8PwIqWgCePSKY qXUoCuoCDnX12JiUPTKTK3E= =tq2n -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- From owner-freebsd-geom@FreeBSD.ORG Sun Dec 3 20:22:40 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D14816A518 for ; Sun, 3 Dec 2006 20:22:40 +0000 (UTC) (envelope-from a.bramley@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 794F243D2F for ; Sun, 3 Dec 2006 20:21:36 +0000 (GMT) (envelope-from a.bramley@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so2127190pyh for ; Sun, 03 Dec 2006 12:22:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k2L2VPzSV+CRBBHS2O0mLzgcBxg//liaEv+Chj64+sDfGZF4IMvd7Z9p61cSBqWir4ZvGxYempxg1w3Qo3tLypsR3pFrMMVDZIYMSV7kXmBhbWrcWXcX77EuvQGXWdzaW6UT/JKiax77afBCvkZ9GwzYULDFWP0H/oOKUyQdzig= Received: by 10.35.98.6 with SMTP id a6mr13741937pym.1165177323783; Sun, 03 Dec 2006 12:22:03 -0800 (PST) Received: by 10.35.70.13 with HTTP; Sun, 3 Dec 2006 12:22:03 -0800 (PST) Message-ID: <8cffb8c80612031222h180cde0ch790707802ada44a1@mail.gmail.com> Date: Sun, 3 Dec 2006 20:22:03 +0000 From: "Alex Bramley" To: "Pawel Jakub Dawidek" In-Reply-To: <20061203195004.GA3183@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> <20061203195004.GA3183@garage.freebsd.pl> Cc: freebsd-geom@freebsd.org Subject: Re: Resurrecting a GELI volume X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 20:22:40 -0000 On 12/3/06, Pawel Jakub Dawidek wrote: > On Sun, Dec 03, 2006 at 07:32:29PM +0000, Alex Bramley wrote: > > Hi, > > > > First, please CC me in any replies to the list, as I am (temporarily) > > off list due to moving jobs. > > > > I accidentally overwrote the metadata of a GELI volume by using geli > > init on the wrong device node (never try to do sysadmin tasks when > > hungover). I have the correct key and passphrase, and I would like to > > know whether it is possible to regain access to my lost data. I have > > already tried running init again on the volume with the correct key > > and passphrase, but (somewhat unsurprisingly) to no avail. Any > > assistance would be much appreciated. > > Passphrase is only used to encrypt the master key, which is stored in > metadata. That means you overwrote the master key and I'm afraid your > data is lost if you haven't backed the master key up before (with 'geli > backup'). I don't suppose you could put some kind of check in to make this kind of slip more difficult to achieve in future? I can't see many times where you'd want to re-init an already encrypted volume. Hopefully it won't be too difficult to taste the volume for already existing metadata and ask for confirmation if it exists... Many Thanks, Alex From owner-freebsd-geom@FreeBSD.ORG Mon Dec 4 11:08:31 2006 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62CF516A492 for ; Mon, 4 Dec 2006 11:08:31 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF3BB43D36 for ; Mon, 4 Dec 2006 11:07:38 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB4B8AxQ045349 for ; Mon, 4 Dec 2006 11:08:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB4B89lq045345 for freebsd-geom@FreeBSD.org; Mon, 4 Dec 2006 11:08:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Dec 2006 11:08:09 GMT Message-Id: <200612041108.kB4B89lq045345@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 11:08:31 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/83464 geom [geom] [patch] Unhandled malloc failures within libgeo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/89102 geom [geom_vfs] [panic] panic when forced unmount FS from u o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom_mirror] [panic] Restore cause panic string (ffs_ o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde "destroy" not working. o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/105390 geom [geli] filesystem on a md backed by sparse file with s 4 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Dec 4 12:11:47 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15D1116A403 for ; Mon, 4 Dec 2006 12:11:47 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1C2C43CBC for ; Mon, 4 Dec 2006 12:11:05 +0000 (GMT) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GrCfP-0007OJ-0w for freebsd-geom@freebsd.org; Mon, 04 Dec 2006 13:11:27 +0100 Received: from 89-172-39-122.adsl.net.t-com.hr ([89.172.39.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Dec 2006 13:11:27 +0100 Received: from ivoras by 89-172-39-122.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Dec 2006 13:11:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 04 Dec 2006 13:11:21 +0100 Lines: 32 Message-ID: References: <20061201104955.GG9880@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF2E46CEE89049BEE20B94DA2" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-39-122.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: <20061201104955.GG9880@obiwan.tataz.chchile.org> X-Enigmail-Version: 0.94.0.0 Sender: news Subject: Re: gsnapshot around ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 12:11:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF2E46CEE89049BEE20B94DA2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jeremie Le Hen wrote: > However, it supports block-level snapshots which is not possible on > FreeBSD currently AFAIK. > Is there any work in this area at the moment ? This is one of the things that my old (now defunct and probably unusable) gjournal could do, but I'm having difficulty finding the time to do it again... maybe next SoC or something. --------------enigF2E46CEE89049BEE20B94DA2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFdBBvldnAQVacBcgRAuDAAJkBeAaK6QSA1Ngx/T+pbeCxsmqNgACgg3aU 3cuUS4LV5jOHlEH6gCr/tGM= =Cw2Y -----END PGP SIGNATURE----- --------------enigF2E46CEE89049BEE20B94DA2-- From owner-freebsd-geom@FreeBSD.ORG Mon Dec 4 13:01:13 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7226516A407 for ; Mon, 4 Dec 2006 13:01:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 620C843CA2 for ; Mon, 4 Dec 2006 13:00:34 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 13A7B487F5; Mon, 4 Dec 2006 14:01:06 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A1AF945683; Mon, 4 Dec 2006 14:00:56 +0100 (CET) Date: Mon, 4 Dec 2006 14:00:49 +0100 From: Pawel Jakub Dawidek To: Alex Bramley Message-ID: <20061204130049.GA23412@garage.freebsd.pl> References: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> <20061203195004.GA3183@garage.freebsd.pl> <8cffb8c80612031222h180cde0ch790707802ada44a1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <8cffb8c80612031222h180cde0ch790707802ada44a1@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: Resurrecting a GELI volume X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 13:01:13 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 03, 2006 at 08:22:03PM +0000, Alex Bramley wrote: > On 12/3/06, Pawel Jakub Dawidek wrote: > >On Sun, Dec 03, 2006 at 07:32:29PM +0000, Alex Bramley wrote: > >> Hi, > >> > >> First, please CC me in any replies to the list, as I am (temporarily) > >> off list due to moving jobs. > >> > >> I accidentally overwrote the metadata of a GELI volume by using geli > >> init on the wrong device node (never try to do sysadmin tasks when > >> hungover). I have the correct key and passphrase, and I would like to > >> know whether it is possible to regain access to my lost data. I have > >> already tried running init again on the volume with the correct key > >> and passphrase, but (somewhat unsurprisingly) to no avail. Any > >> assistance would be much appreciated. > > > >Passphrase is only used to encrypt the master key, which is stored in > >metadata. That means you overwrote the master key and I'm afraid your > >data is lost if you haven't backed the master key up before (with 'geli > >backup'). >=20 > I don't suppose you could put some kind of check in to make this kind > of slip more difficult to achieve in future? I can't see many times > where you'd want to re-init an already encrypted volume. Hopefully it > won't be too difficult to taste the volume for already existing > metadata and ask for confirmation if it exists... Good idea. I'll add the check and '-f' flag for the 'init' subcommand to skip the check. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFdBwBForvXbEpPzQRAiGFAJsGQ3ebX8YhnyEI+lbWQaVWTAevOgCfXfiw kJfAR5pgwUNyz6BclwDOkVs= =CJH7 -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-geom@FreeBSD.ORG Tue Dec 5 21:33:29 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CA6916A415 for ; Tue, 5 Dec 2006 21:33:29 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6016143CBE for ; Tue, 5 Dec 2006 21:32:43 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id kB5LX2RM061006; Tue, 5 Dec 2006 15:33:03 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <4575E597.1030306@centtech.com> Date: Tue, 05 Dec 2006 15:33:11 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Ivan Voras References: <20061201104955.GG9880@obiwan.tataz.chchile.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2285/Tue Dec 5 07:58:47 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: gsnapshot around ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 21:33:29 -0000 On 12/04/06 06:11, Ivan Voras wrote: > Jeremie Le Hen wrote: > >> However, it supports block-level snapshots which is not possible on >> FreeBSD currently AFAIK. > >> Is there any work in this area at the moment ? > > This is one of the things that my old (now defunct and probably > unusable) gjournal could do, but I'm having difficulty finding the time > to do it again... maybe next SoC or something. > I've been thinking a bit about this for a while. It would be a great tool to have, certainly. Does anyone have any particular implementation ideas? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Tue Dec 5 22:08:48 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2CCB16A403 for ; Tue, 5 Dec 2006 22:08:48 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDB243CA2 for ; Tue, 5 Dec 2006 22:08:06 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from ls422.t-com.hr (ls422.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 57BC914879B; Tue, 5 Dec 2006 23:08:46 +0100 (CET) Received: from ls422.t-com.hr (localhost.localdomain [127.0.0.1]) by ls422.t-com.hr (Qmlai) with ESMTP id 3EE2AC9004E; Tue, 5 Dec 2006 23:08:46 +0100 (CET) X-Envelope-Sender-Info: KDHLkYIFXCRHG7zIR7FVXg8r97Mc7twV2106wJm8barLM8h8AQCz+5R6A554gM52 X-Envelope-Sender: ivoras@fer.hr Received: from [10.0.0.101] (83-131-163-190.adsl.net.t-com.hr [83.131.163.190])by ls422.t-com.hr (Qmlai) with ESMTP id 9FFA41308055; Tue, 5 Dec 2006 23:08:41 +0100 (CET) Message-ID: <4575EDEA.7020206@fer.hr> Date: Tue, 05 Dec 2006 23:08:42 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Eric Anderson References: <20061201104955.GG9880@obiwan.tataz.chchile.org> <4575E597.1030306@centtech.com> In-Reply-To: <4575E597.1030306@centtech.com> X-Enigmail-Version: 0.94.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-imss-version: 2.044 X-imss-result: Passed X-imss-scores: Clean:81.49664 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) Cc: freebsd-geom@freebsd.org Subject: Re: gsnapshot around ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 22:08:48 -0000 Eric Anderson wrote: > I've been thinking a bit about this for a while. It would be a great > tool to have, certainly. Does anyone have any particular > implementation ideas? It's actually not that hard to do. I really want the possibility to save snapshot data in a file (as opposed to dumping it to another GEOM device), and PJD had some file-muching kernel code so it's definitely doable right now. I'm still waiting on a "hot-plug" insertion of GEOM classes in between two classes to make it really usable for the common man :) From owner-freebsd-geom@FreeBSD.ORG Thu Dec 7 13:25:57 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A911D16A40F for ; Thu, 7 Dec 2006 13:25:57 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEE1543CA3 for ; Thu, 7 Dec 2006 13:25:05 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id kB7DPjKR086302; Thu, 7 Dec 2006 07:25:46 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <45781663.3060008@centtech.com> Date: Thu, 07 Dec 2006 07:25:55 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Ivan Voras References: <20061201104955.GG9880@obiwan.tataz.chchile.org> <4575E597.1030306@centtech.com> <4575EDEA.7020206@fer.hr> In-Reply-To: <4575EDEA.7020206@fer.hr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2300/Thu Dec 7 06:14:04 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: gsnapshot around ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 13:25:57 -0000 On 12/05/06 16:08, Ivan Voras wrote: > Eric Anderson wrote: > >> I've been thinking a bit about this for a while. It would be a great >> tool to have, certainly. Does anyone have any particular >> implementation ideas? > > It's actually not that hard to do. I really want the possibility to save > snapshot data in a file (as opposed to dumping it to another GEOM > device), and PJD had some file-muching kernel code so it's definitely > doable right now. > > I'm still waiting on a "hot-plug" insertion of GEOM classes in between > two classes to make it really usable for the common man :) I've been thinking about a layered approach, so the gsnapshot would create a 'layer', and all new writes would go to the layer. Then, there would be another class, to stack layers (kind of like unionfs, except for block devices) - so when you wanted to view the data on a snapshot, you would stack the layers how you wanted, and then see the data. Kind of like journaling, kind of like regular COW, etc, but a little more Unix-style-ish in the manner of a few building blocks that can be used in many ways, and stacked together to make something powerful. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Thu Dec 7 14:00:09 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0BDB16A416 for ; Thu, 7 Dec 2006 14:00:00 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3EEB43D5D for ; Thu, 7 Dec 2006 13:58:51 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.8/8.13.8) with ESMTP id kB7DxVFO075786; Thu, 7 Dec 2006 14:59:31 +0100 (CET) (envelope-from ivoras@fer.hr) Message-ID: <45781E42.8080905@fer.hr> Date: Thu, 07 Dec 2006 14:59:30 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.4 (X11/20060625) MIME-Version: 1.0 To: Eric Anderson References: <20061201104955.GG9880@obiwan.tataz.chchile.org> <4575E597.1030306@centtech.com> <4575EDEA.7020206@fer.hr> <45781663.3060008@centtech.com> In-Reply-To: <45781663.3060008@centtech.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gsnapshot around ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 14:00:09 -0000 Eric Anderson wrote: > I've been thinking about a layered approach, so the gsnapshot would > create a 'layer', and all new writes would go to the layer. Then, there > would be another class, to stack layers (kind of like unionfs, except > for block devices) - so when you wanted to view the data on a snapshot, > you would stack the layers how you wanted, and then see the data. Kind > of like journaling, kind of like regular COW, etc, but a little more > Unix-style-ish in the manner of a few building blocks that can be used > in many ways, and stacked together to make something powerful. So instead of messing with GEOM, you'd create a class that does the stacking internally? I don'e know how pjd and phk are going to react to such hackery but I think it has potential. Then the user would only have to specify the "hotplug" class once and leave it in production (without noticable speed penalty) until he needs it, then various things could be stacked into it (like logging, tracing, even snaphosts) with minimal effort. From owner-freebsd-geom@FreeBSD.ORG Thu Dec 7 19:44:36 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E86916A403; Thu, 7 Dec 2006 19:44:36 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2675543CB5; Thu, 7 Dec 2006 19:43:36 +0000 (GMT) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 4C2A88949; Thu, 7 Dec 2006 20:44:29 +0100 (CET) Received: from studby.ntnu.no (m044h.studby.ntnu.no [129.241.135.44]) by fri.itea.ntnu.no (Postfix) with ESMTP; Thu, 7 Dec 2006 20:44:29 +0100 (CET) Received: by studby.ntnu.no (Postfix, from userid 1001) id E544739956; Thu, 7 Dec 2006 20:44:31 +0100 (CET) Date: Thu, 7 Dec 2006 20:44:31 +0100 From: Ulf Lilleengen To: Lukas Ertl Message-ID: <20061207194431.GA6337@vimes.studby.ntnu.no> References: <20061124200302.GA3482@vimes.studby.ntnu.no> <20061124210503.F59901@korben.prv.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061124210503.F59901@korben.prv.univie.ac.at> User-Agent: Mutt/1.4.2.2i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-geom@freebsd.org Subject: Re: Gvinum patches for testing X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 19:44:36 -0000 On Fri, Nov 24, 2006 at 09:05:51PM +0100, Lukas Ertl wrote: > On Fri, 24 Nov 2006, Ulf Lilleengen wrote: > > >And at last, it seems grog@ is kind of busy these days, so I have again no > >committer to review my changes, but I hope to get some more help from > >others to > >test it at least. Still, it would be nice if I could grab other available > >committers attention. Again, I welcome suggestions and complaints. > > Hey! > > Thanks for your effort, I'll have a look! > I have updated the gvinum_setstate.diff patch because i had a reduntant check of arguments because gctl_req_paraml would check it for me. -- Ulf Lilleengen