Michael,
You can't attach disks to an existing RAIDZ vdev, but you add another
RAIDZ vdev. Also keep in mind that you can't detach disks from RAIDZ
pools either.
See the syntax below.
Cindy
# zpool create rzpool raidz2 c1t0d0 c1t1d0 c1t2d0
# zpool status
pool: rzpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rzpool ONLINE 0 0 0
raidz2 ONLINE 0 0 0
c1t0d0 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
errors: No known data errors
# zpool add rzpool raidz2 c1t3d0 c1t4d0 c1t5d0
# zpool status
pool: rzpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rzpool ONLINE 0 0 0
raidz2 ONLINE 0 0 0
c1t0d0 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0
c1t2d0 ONLINE 0 0 0
raidz2 ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c1t4d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
# zpool attach rzpool c1t5d0 c1t8d0 c1t9d0 c1t10d0
too many arguments
usage:
attach [-f] <pool> <device> <new_device>
# zpool attach rzpool c1t5d0 c1t8d0
cannot attach c1t8d0 to c1t5d0: can only attach to mirrors and top-level
disks
# zpool detach rzpool c1t2d0
cannot detach c1t2d0: only applicable to mirror and replacing vdevs
Michael Shadle wrote:
On Wed, Apr 1, 2009 at 3:19 AM, Michael Shadle <mike...@gmail.com> wrote:
I'm going to try to move one of my disks off my rpool tomorrow (since
it's a mirror) to a different controller.
According to what I've heard before, ZFS should automagically
recognize this new location and have no problem, right?
I successfully have realized how nice ZFS is with locating the proper
location of the disk across different controllers/ports. Besides for
rpool - ZFS boot. Moving those creates a huge PITA.
Now quick question - if I have a raidz2 named 'tank' already I can
expand the pool by doing:
zpool attach tank raidz2 device1 device2 device3 ... device7
It will make 'tank' larger and each group of disks (vdev? or zdev?)
will be dual parity. It won't create a mirror, will it?
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss