Date: Tue, 17 Aug 2010 21:43:37 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Greg Bonett <greg@bonett.org> Cc: freebsd-geom@FreeBSD.org Subject: Re: upgraded to 7.3 - trouble with gstripe and geli Message-ID: <20100817194337.GA2438@garage.freebsd.pl> In-Reply-To: <1282017863.3017.10.camel@debian> References: <1282017863.3017.10.camel@debian>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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: > > #geli attach -k key.file /dev/stripe/private > geli: Cannot read metadata from /dev/stripe/private: Invalid argument. > > 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=/dev/stripe/private count=1 iseek=3760270079 | 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. -- Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkxq5mkACgkQForvXbEpPzRIoACfQgOXaSfNur23NWpHPBHrkrlf CDcAn0u+gRVmn52T4l+fdXWdeX7bvP1j =JexG -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100817194337.GA2438>
