> this is confusing to me. The pool was made on all EFI
> labeled drives....
> 
> Basically, i did this:
> 
> 7 raw drives brand new, never formated.
> 
> using a OpenSolaris LiveCD i labeled all 7 EFI
> (format -e then fdisk creat a single 100% solaris
> partition, then label EFI)

Why? I have never needed to use fdisk to create solaris partition in order to 
create a pool. I simply use 

# format < /dev/null 
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c8t0d0 <DEFAULT cyl 30512 alt 2 hd 255 sec 63>
          /p...@0,0/pci1297,5...@7/d...@0,0
       1. c8t1d0 <DEFAULT cyl 14590 alt 2 hd 255 sec 63>
          /p...@0,0/pci1297,5...@7/d...@1,0
Specify disk (enter its number): 
...

to find the disk names, then 

# zpool create xxxpool c8t0d0 c8t1d0

(in this case). 

This works even if the disk was MBR before. 


> 
> 
> After doing that, i added the 7 drives to a FreeBSD
> 8.0 machine, created a raidz2 zpool using the entire
> devices and copied everything from another zpool on
> the machine to this one

I'd try 'zpool export' from the OpenSolaris system, then 'zpool import' on the 
FreeBSD one; this may fail if the LiveCD system you are using is too new and 
the pool created is of a version unsupported by FreeBSD yet. 

> 
> (freebsd complained about GPT corruption but i knew
> from tests i did in virtualbox that this method of
> backup would work so i ignored it)

Probably because of the fdisk step you mentioned.

> 
> 
> After i had all the stuff i needed in this new zpool,
> i exported it
> 
> Then i imported it on the OpenSolaris machine and it
> took....maybe 10 minutes to import...it didn't seem
> like anything was going on but i knew from watching
> the lists that sometimes this is the case with
> solaris, and i just leet it be.  then all the sudden,
> the drive lights lit up and it imported.
> 
> What was weird is some drives were raw drives and
> some weren't
> 
> What i'm trying to find out is why this happened?
> 
> I've since replaced every drive in the original
> raidz2 with different drives and my zpool looks like
> this now:
> 
> errors: No known data errors
> 
>   pool: tank
> tate: ONLINE
> scrub: resilver completed after 2h53m with 0 errors
>  on Tue Jan 19 03:32:15 2010
> onfig: 
> 
>         NAME        STATE     READ WRITE CKSUM
> tank        ONLINE       0     0     0
>           raidz2-0  ONLINE       0     0     0
>   c4t0d0  ONLINE       0     0     0
>           c3t1d0  ONLINE       0     0     0
>   c5t1d0  ONLINE       0     0     0
>           c4t1d0  ONLINE       0     0     0
>   c5t3d0  ONLINE       0     0     0
> c3t0d0  ONLINE       0     0     0  799G
> resilvered
> c4t3d0  ONLINE       0     0     0  799G
> resilvered
>           raidz2-1  ONLINE       0     0     0
>   c5t0d0  ONLINE       0     0     0
>           c4t5d0  ONLINE       0     0     0
>   c5t2d0  ONLINE       0     0     0
>           c3t3d0  ONLINE       0     0     0
>   c4t2d0  ONLINE       0     0     0
>           c5t4d0  ONLINE       0     0     0
>   c3t2d0  ONLINE       0     0     0
>         raidz2-2  ONLINE       0     0     0
>     c4t4d0  ONLINE       0     0     0
>         c5t5d0  ONLINE       0     0     0
>     c4t7d0  ONLINE       0     0     0
>         c3t5d0  ONLINE       0     0     0
>     c5t6d0  ONLINE       0     0     0
>         c4t6d0  ONLINE       0     0     0
> cache
>           c2t5d0    ONLINE       0     0     0
> No known data errors

Chavdar Ivanov
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to