I create two zfs''s on one pool of four disks with two mirrors, such as... / zpool create tank mirror disk1 disk2 mirror disk3 disk4 zfs create tank/fs1 zfs create tank/fs2/ Are fs1 and fs2 striped across all four disks? If two disks fail that represent a 2-way mirror, do I lose data? Brian.
On Dec 5, 2007 9:54 PM, Brian Lionberger <Brian.Lionberger at sun.com> wrote:> I create two zfs''s on one pool of four disks with two mirrors, such as... > / > zpool create tank mirror disk1 disk2 mirror disk3 disk4 > > zfs create tank/fs1 > zfs create tank/fs2/ > > Are fs1 and fs2 striped across all four disks?Yes - they''re striped across both the mirrors (and so across all 4 submirrors).> If two disks fail that represent a 2-way mirror, do I lose data?.Hell yes. -- Rasputnik :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/
The file systems are striped between the two mirrors. (If your disks are A, B, C, D then a single file''s blocks would reside on disks A+B, then C+D, then A+B again.) If you lose A and B, or C and D, you lose the whole pool. (Hence if you have two power supplies, for instance, you''d probably want A+C to share a power supply, and B+D.) This message posted from opensolaris.org