Folks,

I created a zpool using 3 disks as follows:

# zpool create xyz disk1 raidz1 disk2 disk3

Now that I got a fourth disk, I would like to replace disk1 with a raidz1 of 
disk1 and disk4. Essentially, if I were to create the whole pool once again, 
the command would have been:

# zpool create xyz raidz1 disk1 disk4 raidz1 disk2 disk3

My first thought was to do the following:
# zpool remove xyz disk1
# zpool add xyz raidz1 disk1 disk4

However, I get an error on remove:
"cannot remove disk1: only inactive hot spares, cache, top-level, or log 
devices can be removed"

Where am I wrong in my thinking? Is there a way to achieve what I want?

Thank you in advance for your help.

Regards,
Peter
-- 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to