Hi,

On 9/4/06, UNIX admin <[EMAIL PROTECTED]> wrote:
[Solaris 10 6/06 i86pc]
...
Then I added two more disks to the pool with the `zpool add -fn space c2t10d0 
c2t11d0`, whereby I determined that those would be added as a RAID0, which is 
not what I wanted. `zpool add -f raidz c2t10d0 c2t11d0` added ANOTHER RAIDZ 
STRIPE to the pool, rather than adding the disks to the existing RAIDZ vdev!

That is correct.  The semantics of "zpool add" adds one or more
"vdev"s.  "raidz c2t10d0 c2t11d0" defines a new "vdev" which is a
raidz of the 2 specified disks.

Is there a way to add more disks to an existing RAIDZ vdev? If there is, I sure 
haven't figured it out yet. What is it?

AFAIK, no.  The "attach" semantics only works for adding mirrors.
Would be nice if that can be overloaded for RAIDZ.

And from what I understood from the blogs written by Mr. Bonwick, one of the 
properties of RAIDZ is that it can be used on disks in a pool that are not the 
same size. Why then did I explicitly have to use the -f switch to force a 
creation of a RAIDZ vdev on a salad of 2 and 4GB disks?

Not sure exactly which blog entry but you might be confused that
stripes can be of different sizes (not different sized disks).  The
man page for zpool specifically warns that "An attempt to combine
redundant and non-redundant storage in a single pool,  or  to
mix  disks  and  files, results in an error unless -f is specified.".



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

Reply via email to