Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 21:04:23 -0700
From:      Greg Bonett <greg@bonett.org>
To:        freebsd-geom@FreeBSD.org
Subject:   upgraded to 7.3 - trouble with gstripe and geli
Message-ID:  <1282017863.3017.10.camel@debian>

next in thread | raw e-mail | index | archive | help
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.

but gstripe status says:
#gstripe status private
         Name  Status  Components
stripe/private      UP  ad8s2
                       ad12s2

and gstripe list gives:

#gstripe list private
Geom name: stripe
State: UP
Status: Total=2, Online=2
Type: MANUAL
Stripesize: 65536
ID: 248630040
Providers:
1. Name: stripe/private
   Mediasize: 1925258280960 (1.8T)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: ad8s2
   Mediasize: 962629194240 (897G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: ad12s2
   Mediasize: 962631548928 (897G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1


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

anyone have any suggestions?   Let me know if there is more relavent
data i should provide.

Thanks in advance.

-Greg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1282017863.3017.10.camel>