Why didn't this command just fail?
# zpool add tank c4t0d0
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses raidz and new vdev is disk
I did not use '-f' and yet my configuration was changed. That was unexpected
behaviour.
Thanks for
revised indentation:
mirror2 / # zpool status
pool: tank
state: ONLINE
scrub: none requested
config:
NAMESTATE READ WRITE CKSUM
tankONLINE 0 0 0
raidz2ONLINE 0 0 0
c0t1d0 ONLINE 0 0 0
mirror2 / # zpool history
History for 'tank':
2007-11-07.14:15:19 zpool create -f tank raidz2 c0t0d0 c0t1d0 c0t2d0 c2t0d0
c2t1d0 c2t2d0 c3t0d0 c3t1d0 c3t2d0 c3t3d0
2007-11-07.14:17:21 zfs set atime=off tank
2007-11-07.14:18:16 zfs create tank/datatel
2007-11-07.14:52:16 zfs set
Jonathan,
Thanks for providing the zpool history output. :-)
You probably missed the message after this command:
# zpool add tank c4t0d0
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses raidz and new vdev is disk
I provided some
2007-11-07.14:15:19 zpool create -f tank raidz2 [ ... ]
2007-12-03.14:42:28 zpool add tank c4t0d0
c4t0d0 is not part of raidz2. How can I fix this?
Back up your data; destroy the pool; and re-create it.
Ideally I would like to create another zpool with c4t0d0 plus some more disks
since