I'm planning to do redundancy backup for my office server running Ubuntu 14 and the ZFS option came up in my research. To my understanding, hardware raid (RAID1) creates a full clone (mirror) of my disk on another disk, therefore having two exact copies running. If one fails I can just swap the failed disk and it will just rebuild another copy to the new disk. Can I set up the same function with ZFS?
From what I've read, I'm not so sure that the OS is part of the created zpool. What if the disk fails with the OS in it?