In my current situation, I have a full blown
FreeNAS Mini (ARC & ZIL and 16g RAM) as my "in production" NAS - it is live and working out well (have learnt since the classes from iXsystems that either my ZIL or ARC may not be used in my mainly CIFS setup, but that is the server currently in production). I built a second server out of an older
HP Prolaint server that has been retired. It is a 64 bit system that has 32G ram and 16 146G serial scsi drives that I will keep in my office at a remote site. It will be used as the replicated backup for the
Mini - so everything I do on the
HP is a work copy of the data. It will suck if I need to rebuild it as original, but certainly wont make me curl up into a ball and cry (and the more times I can do it the more familure I shold get with it). The HP is not ideal with its underlying RAID controller jerry rigged as JBOD, but it seems to be working adequately. I have learnt the hard way that nothing on this set up is "HotSwap". If a drive fails, it will will need to be Offlined in the FreeNAS, server powered off, drive removed from RAID controller and rebuilt, then readded to the FreeNAS system.
After the brilliant info I got over the weekend with this thread, I am feeling more confident that this can be done (and as told is what this stuff was built for), while at the same time I have also realized that this swimming hole is way deeper than I ever would have imagined.
So I have my
Mini setup and running nightly snapshots of one dataset.
Those snapshots are replicated nightly from
Mini -->
HP and it seems to be working great. I have never attempted a restore on the Mini, however if I clone the snapshots on the Proliant - I have access to the data from the Mini.
To rebuild my
HP server - I am expecting I will need to:
- Connect a 1TB USB drive to the HP and set it up as a single volume called USB_VOL
- Send last nights successful snapshot from the HP to the USB drive with:
- zfs send -R volume/replication/userdata@auto-20150414=1w | zfs receive vF USB_VOL
- offline and unmount the USB_VOL set aside
- FreeNAS web gui --> detach USB_VOL
- Disable snapshots and replication on the Mini (so no more changes are sent to the HP)
- rebuild the HP the correct way using all drives and add dual mirrored mini USB drives for the FreeNAS OS.
- so 2 raidz3 of 8 disks each making one Volume
- 1 mirror of 2 sandisk 16GB usb cruzer fit drives for FreeNAS OS
- Once the server is up and running
- restore the snapshot from the USB drive with
- connect USB Drive and power on
- FreeNAS Web Gui --> Import Volume
- zfs send -R USB_VOL@auto-20150414=1w | zfs receive -vF volume/replication/userdata
- (trying to keep the volume names the same as previously laid out)
- FreeNAS Web Gui --> Detach USB_VOL
- Re-enable snapshots and replication on the Mini probably needing to update the remote host key in the replication to get it running again.
Am hoping that should do it. Expect there might be issues with key's