amd64/157721: gpart unable to create GPT partitions inside of providers created by geli

Robert Simmons rsimmons0 at gmail.com
Thu Jun 9 04:00:26 UTC 2011


>Number:         157721
>Category:       amd64
>Synopsis:       gpart unable to create GPT partitions inside of providers created by geli
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 09 04:00:16 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Robert Simmons
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD  8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011    root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
After creating a geli encrypted provider using:
geli init -b -v -a hmac/sha512 -e aes-cbc -l 256 -s 4096 /dev/ad0p1
geli attach /dev/ad0p1

I am unable to partition the resulting provider with a GPT scheme with gpart.  The BSD scheme works just fine, which is the workaround I am using.

The error is as follows:
#gpart create -s GPT ad0p1.eli
gpart: provider: Device not configured

But, when I use a BSD scheme:
#gpart create -s GPT ad0p1.eli
ad0p1.eli created
>How-To-Repeat:
geli init -b -v -a hmac/sha512 -e aes-cbc -l 256 -s 4096 /dev/ad0p1
geli attach /dev/ad0p1
gpart create -s GPT ad0p1.eli
>Fix:
Not a real fix, but using BSD as the scheme allows you to at least partition the provider.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list