zpool create fails on gpart device
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Dec 7 20:40:22 UTC 2009
On Mon, Dec 07, 2009 at 02:03:09PM -0600, Kurt Touet wrote:
> On Mon, Dec 7, 2009 at 1:10 PM, Pawel Jakub Dawidek <pjd at freebsd.org> wrote:
> > On Sun, Dec 06, 2009 at 01:34:13PM -0600, Kurt Touet wrote:
> >> I've been interested in using a gptzfsboot setup on a few of my
> >> systems, and thought I'd try it out in a VM first, but I'm blocked at
> >> creating a zpool. Here's what I did:
> >>
> >> - create a new VM with 2 drives (da0 & da1)
> >> - install 8.0R amd64
> >> - install subversion from sysinstall & checkout base/head
> >> - build & install -current
> >>
> >> Instead of creating a gptzfsboot install disc, I thought I'd just
> >> create the zpool on the second drive, install things to there, and
> >> then make the VM boot off the second drive afterwards (and remove the
> >> first). I was following the
> >> http://blogs.freebsdish.org/lulf/2008/12/16/setting-up-a-zfs-only-system/
> >> guide, and got to this stage:
> >>
> >> # gpart create -s GPT da1
> >> # gpart add -b 34 -s 128 -t freebsd-boot da1
> >> # gpart add -b 162 -s 5242880 -t freebsd-swap da1
> >> # gpart add -b 5243042 -s 57671485 -t freebsd-zfs da1
> >> # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1
> >>
> >> # gpart show da1
> >> => 34 62914493 da1 GPT (30G)
> >> 34 128 1 freebsd-boot (64K)
> >> 162 5242880 2 freebsd-swap (2.5G)
> >> 5243042 57671485 3 freebsd-zfs (27G)
> >>
> >> # zpool create data /dev/da1p3
> >> cannot create 'data': permission denied
Ok, I guess this is HEAD, right? I think you just had bad luck.
I break this here:
Date: Sat Dec 5 14:24:22 2009
New Revision: 200125
And fixed here:
Date: Sat Dec 5 20:16:28 2009
New Revision: 200158
It looks like you get the source from this window.
Please rebuild with r200158 in place and retry. Sorry for the breakage.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091207/30c4c1b9/attachment.pgp
More information about the freebsd-fs
mailing list