Is there a way to convert a 2 disk raid-z file system to a mirror without 
backing up the data and restoring?

We have this:

bash-3.00# zpool status
  pool: archives
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        archives    ONLINE       0     0     0
          raidz1    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0

... and what I would like to be able to do is to:

- remove c1t3d0 from the raidz, leaving it in degraded mode momentarily.
- Create a new pool with the single disk c1t3d0
- copy the data from the current pool to the new pool
- destroy the current pool
- attach c1t2d0 to the new pool, creating a mirror

I can't seem to find any way to remove c1t3d0 from the raidz pool. The best I 
can do is "offline" it, which proves the pool can still run without the disk, 
but I can't seem to free the disk.

Any ideas?

Brian
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to