Restoring an Ubuntu Server using ZFS RAIDZ for data

Posted by andybjackson on Ask Ubuntu See other posts from Ask Ubuntu or by andybjackson
Published on 2011-11-23T09:10:27Z Indexed on 2011/11/23 18:04 UTC
Read the original article Hit count: 513

Filed under:
|
|

Having become disillusioned with hacking Buffalo NAS devices, I've decided to roll my own Home server. After some research, I have settled on an HP Proliant Microserver with Ubuntu Server and ZFS (OS on 1 Ext4 disk, Data on 3 RAIDZ disks).

As Joel Spolsky and Geoff Atwood say with regards to backup, I can't rest until I have done a restore in all of the failure scenarios that I am seeking to protect against.

Q: How to configure Ubuntu Server to recognise a pre-existing RAIDZ array?

Clearly if one of the data disks die - then that is a resilvering scenario, which is well documented. If two of the data disks die, then I am into regular backup/restore land. If the OS dies and I can restore, also an easy scenario.

But if the OS dies and I can't restore, then I need to recreate an Ubuntu server. But how do I get this to recognise my RAID-Z array? Is the necessary configuration information stored within and across the RAIZ array and simply need to be found (if so, how)? Or does it reside on the OS ext4 disk (in which case how do I recreate it)?

© Ask Ubuntu or respective owner

Related posts about server

Related posts about nas