Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2011 03:55:07 GMT
From:      Robert Simmons <rsimmons0@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/157721: gpart unable to create GPT partitions inside of providers created by geli
Message-ID:  <201106090355.p593t757097666@red.freebsd.org>
Resent-Message-ID: <201106090400.p5940GOe089689@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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