Hi Cindy, thanks for your advice. I guess this would be the better way to mirror one drive on a physical extra drive but Richards suggetion was fitting my current conditions better.
Because I didn't want to buy an extra disk or copy all data back and forth. I just happened to have an extra 1TB drive around and wondered how I could use this to create some sort of protection for my small but trusted file server. I belive this is a good solution by now. Of course I will fix this as soon as I have an extra 500GB or bigger drive available. Till then my current setup has to work ;) Thanks a lot, Thomas 2010/3/2 Cindy Swearingen <cindy.swearin...@sun.com> > 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