Is it possible to mirror a zfs filesystem with another on another disk? Two separate zpools, one on each disk, each one with a number of fs filesystems and one in particular on each one mirroring another. Nick
On Sat, May 9, 2009 at 2:10 PM, <Nick at pettefar.com> wrote:> Is it possible to mirror a zfs filesystem with another on another disk? > Two separate zpools, one on each disk, each one with a number of fs > filesystems and one in particular on each one mirroring another. > > Nick >Mirrored as in raid-1, or mirrored as in replication? You can do zfs send/recieve to replicate filesystems, and you can crank the frequency way up so that it''s near real-time. --Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090509/6841649f/attachment.html>
Nick at Pettefar.com wrote:> Is it possible to mirror a zfs filesystem with another on another > disk? Two separate zpools, one on each disk, each one with a number > of fs filesystems and one in particular on each one mirroring another.Mirrors are a pool feature, and remain in one pool. What exactly are you trying to do? The solution you propose is not consistent with the way people implement data redundancy in a ZFS environment. -- richard
On Sat, 9 May 2009 21:10:04 +0200, Nick at Pettefar.com wrote:>Is it possible to mirror a zfs filesystem with another on another >disk? Two separate zpools, one on each disk, each one with a number >of fs filesystems and one in particular on each one mirroring another. > >NickYou could divide the space on the disks in 2 slices of equal size on each disk and create a mirrored zpool in each pair of slices like this: zpool create tank0 mirror c0t0d0s3 c0t1d0s3 zpool create tank1 mirror c0t1d0s4 c0t0d0s4 Typically, one would dedicate both disks (whole disks, not slices) to one zpool though. -- ( Kees Nuyt ) c[_]