To: ZFS Developers.

I know we hate them but an "Are you sure?" may have helped here, and may be a quicker fix than waiting for
4852783  (just thinking out loud here). Could the zfs command have worked out c5d0 was a single disk and attaching it to the pool would have been dumb?


Ryan Hirsch wrote:
I have a zpool named rtank.  I accidently attached a single drive to the pool.  I am an idiot I know :D Now I want to replace this single drive with a raidz group.  Below is the pool setup and what I tried:
 

        NAME        STATE     READ WRITE CKSUM
        rtank       ONLINE       0     0     0
         - raidz1    ONLINE       0     0     0
           -- c4t0d0  ONLINE       0     0     0
           -- c4t1d0  ONLINE       0     0     0
           -- c4t2d0  ONLINE       0     0     0
           -- c4t3d0  ONLINE       0     0     0
           -- c4t4d0  ONLINE       0     0     0
           -- c4t5d0  ONLINE       0     0     0
           -- c4t6d0  ONLINE       0     0     0
           -- c4t7d0  ONLINE       0     0     0
         - raidz1    ONLINE       0     0     0
           -- c3t0d0  ONLINE       0     0     0
           -- c3t1d0  ONLINE       0     0     0
           -- c3t2d0  ONLINE       0     0     0
           -- c3t3d0  ONLINE       0     0     0
           -- c3t4d0  ONLINE       0     0     0
           -- c3t5d0  ONLINE       0     0     0
          - c5d0      ONLINE       0     0     0  <--- single drive in the pool not in any raidz


$ pfexec zpool replace rtank c5d0 raidz c3t6d0 c3t7d0 c3t8d0 c3t9d0 c3t10d0 c3t11d0
too many arguments

$ zpool upgrade -v
This system is currently running ZFS pool version 18.


Is what I am trying to do possible?  If so what am I doing wrong?  Thanks.
  

--

Trevor Pretty | Technical Account Manager | +64 9 639 0652 | +64 21 666 161
Eagle Technology Group Ltd.
Gate D, Alexandra Park, Greenlane West, Epsom
Private Bag 93211, Parnell,
Auckland




www.eagle.co.nz 

This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us.

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

Reply via email to