Hi Rich,

Yes, your zpool syntax is correct.

I just tested what I think is your final
configuration.

Cindy

# zpool create dpool c1t0d0 c1t1d0 c1t2d0
# zpool attach dpool c1t1d0 c1t3d0
# zpool attach dpool c1t0d0 c1t4d0
# zpool attach dpool c1t2d0 c1t5d0
# zpool status dpool
  pool: dpool
 state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Fri May 29 10:00:12 2009
config:

        NAME        STATE     READ WRITE CKSUM
        dpool       ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t0d0  ONLINE       0     0     0
            c1t4d0  ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t1d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t5d0  ONLINE       0     0     0  34.5K resilvered

errors: No known data errors

Rich Teer wrote:
Hi all,

I have a D1000 storage array that's set up in a split bus config.
For various reason we only have access to one SCSI cable for the
time being, but the intent is to set up the array as ZFS mirrored
devices.  That is, the intent is that we'll have a ZFS pool created
from 3 pairs of mirrored disks, where each half of the mirror is
on different "sides" of the D1000 (so that we also have controller
redundancy).

Looking through the ZFS manual, it looks like I can create a non-
redundant pool using one side of the D1000, then later mirror the
disks when the other cable is available.  Something like this:

zpool create dpool c1t0d0 c1t1d0 c1t2d0

And then later, when the other cable is installed:

zpool attach dpool c1t0d0 c2t0d0
zpool attach dpool c1t1d0 c2t1d0
zpool attach dpool c1t2d0 c2t2d0

Which would be the same as initially configuring the pool like this:

zpool create dpool mirror c1t0d0 c2t0d0 mirror c1t1d0 c2t1d0 mirror c1t2d0 
c2t2d0

Is that correct?

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to