zpool create fails on gpart device

Michael Reifenberger mike at reifenberger.com
Sat Jan 30 22:30:36 UTC 2010


On Sat, 30 Jan 2010, Pawel Jakub Dawidek wrote:
...
>> Unfortunately I get the same symptom when trying to create a new pool using
>> newly attached ada devices:
> [...]
>
> I got no response how the patch works. Maybe you could try it?
>
> 	http://people.freebsd.org/~pjd/patches/vdev_geom.c.2.patch
>

The patch works for me (after removing the ';' in line 414):

...
   pool: z
  state: ONLINE
  scrub: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         z           ONLINE       0     0     0
           raidz2    ONLINE       0     0     0
             ada0p3  ONLINE       0     0     0
             ada1p3  ONLINE       0     0     0
             ada2p3  ONLINE       0     0     0
             ada3p3  ONLINE       0     0     0
             ada4p3  ONLINE       0     0     0
             ada5p3  ONLINE       0     0     0

errors: No known data errors
...

If you feel comftable with the patch,
should I commit the fix to HEAD?

Thanks for fixing!

Bye/2
---
Michael Reifenberger
Michael at Reifenberger.com
http://www.Reifenberger.com



More information about the freebsd-fs mailing list