Hi Thomas,

I see that Richard has suggested mirroring your existing pool by
attaching slices from your 1 TB disk if the sizing is right.

You mentioned file security and I think you mean protecting your data
from hardware failures. Another option is to get one more disk to
convert this non-redundant pool to a mirrored pool by attaching the 1 TB disk and another similarly sized disk. See the example below.

Another idea would be to create a new pool with the 1 TB disk and then
use zfs send/receive to send over the data from swamp, but this wouldn't work because you couldn't reuse swamp's disks by attaching the 500GB
disks to the new pool because they are smaller than the 1 TB disk.

Keep in mind that if you do recreate this pool as a mirrored
configuration:

mirror pool = 1 500GB + 1 500GB disks, total capacity is 500GB
mirror pool = 1 500GB + 1GB disks, total capacity is 500GB

Because of the unequal disk sizing, the mirrored pool capacity would
be equal to the smallest disk.

Thanks,

Cindy

# zpool status tank
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          c2t7d0    ONLINE       0     0     0
          c2t8d0    ONLINE       0     0     0

errors: No known data errors
# zpool attach tank c2t7d0 c2t9d0
# zpool attach tank c2t8d0 c2t10d0
# zpool status tank
  pool: tank
 state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Tue Mar 2 14:32:21 2010
config:

        NAME         STATE     READ WRITE CKSUM
        tank         ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            c2t7d0   ONLINE       0     0     0
            c2t9d0   ONLINE       0     0     0
          mirror-1   ONLINE       0     0     0
            c2t8d0   ONLINE       0     0     0
            c2t10d0  ONLINE       0     0     0  56.5K resilvered

errors: No known data errors

On 03/02/10 12:58, Thomas W wrote:
Hi!

I'm new to ZFS so this may be (or certainly is) a kind of newbie question.

I started with a small server I built from parts I had left over.
I only had 2 500GB drives and wanted to go for space. So i just created a zpool 
without any option. That now looks like this.

        NAME        STATE     READ WRITE CKSUM
        swamp       ONLINE       0     0     0
          c1d0      ONLINE       0     0     0
          c2d0      ONLINE       0     0     0

So far so good. But like always the provisional solution became a permanent 
solution. Now I have an extra 1TB disk that I can add to the system. And I want 
to go for file security.

How can I get the best out of this setup. Is there a way of mirroring the data 
automatically between those three drives?

Any help is appreciated but please don't tell me I have to delete anything ;)

Thanks a lot,
  Thomas
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to