upgraded to 7.3 - trouble with gstripe and geli

Greg Bonett greg at bonett.org
Tue Aug 17 04:27:40 UTC 2010


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



More information about the freebsd-geom mailing list