From owner-freebsd-geom@FreeBSD.ORG Sun Aug 22 11:05:40 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27A1F10656A5 for ; Sun, 22 Aug 2010 11:05:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id C76298FC15 for ; Sun, 22 Aug 2010 11:05:39 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2C6E145CBA; Tue, 17 Aug 2010 21:43:44 +0200 (CEST) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EDF8A45B36; Tue, 17 Aug 2010 21:43:38 +0200 (CEST) Date: Tue, 17 Aug 2010 21:43:37 +0200 From: Pawel Jakub Dawidek To: Greg Bonett Message-ID: <20100817194337.GA2438@garage.freebsd.pl> References: <1282017863.3017.10.camel@debian> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <1282017863.3017.10.camel@debian> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 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.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@FreeBSD.org Subject: Re: upgraded to 7.3 - trouble with gstripe and geli 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, 22 Aug 2010 11:05:40 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 16, 2010 at 09:04:23PM -0700, Greg Bonett wrote: > hi, > I just upgraded to freebsd 7.3 on amd64 and I'm having trouble attaching > a geli device. I am using gstripe to created a striped array with two > disks and then using geli to create an encryption layer on top of it. > It was working with 7.2, but after an upgrade I'm running into this > error when I try and attach the geli device: >=20 > #geli attach -k key.file /dev/stripe/private > geli: Cannot read metadata from /dev/stripe/private: Invalid argument. >=20 > also gstripe dump gives: > #gstripe dump /dev/stripe/private > Can't read metadata from /dev/stripe/private: Invalid argument. > gstripe: Not fully done. You should apply 'gstripe dump' to stripe components, so in your case to ad8s2 and ad12s2. If 'geli dump /dev/stripe/private' doesn't show anything, try dumping the last sector: # dd if=3D/dev/stripe/private count=3D1 iseek=3D3760270079 | hexdump -C | = head > I didn't see anything in /usr/src/UPDATING about gstripe but I'm > wondering if the default stripe size or something changed between 7.2 > and 7.3 Even if the default stripesize changed, it shouldn't affect your setup, as stripesize is kept in metadata and read from there. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkxq5mkACgkQForvXbEpPzRIoACfQgOXaSfNur23NWpHPBHrkrlf CDcAn0u+gRVmn52T4l+fdXWdeX7bvP1j =JexG -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--