On Tue, 10 Apr 2007, Martin Girard wrote:

> Is it possible to make my zpool redundant by adding a new disk in the pool
> and making it a mirror with the initial disk?

Sure, by using zpool attach:

# mkfile 64m /tmp/foo /tmp/bar
# zpool create tank /tmp/foo
# zpool status
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          /tmp/foo  ONLINE       0     0     0

errors: No known data errors
# zpool attach tank /tmp/foo /tmp/bar
# zpool status
  pool: tank
 state: ONLINE
 scrub: resilver completed with 0 errors on Tue Apr 10 10:51:58 2007
config:

        NAME          STATE     READ WRITE CKSUM
        tank          ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            /tmp/foo  ONLINE       0     0     0
            /tmp/bar  ONLINE       0     0     0

errors: No known data errors
#



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

Reply via email to