Build failover ZFS, like HA-Storage from Solaris

Freddie Cash fjwcash at
Sat Feb 19 01:39:11 UTC 2011

On Fri, Feb 18, 2011 at 3:44 PM, Denny Schierz <linuxmail at> wrote:
> Am 18.02.2011 um 21:29 schrieb Freddie Cash:
>> You create a separate hast device for each physical harddrive in the
>> system.  That "mirrors" the drives between the two servers.
> why should I mirror the drives, while both systems are connected to one sas storage? Both hosts can see all drives at the same time, via the SAS HBA.

Sorry, re-reading your original post I see that I mixed up the layers.  :)

To make sure I understand completely, you have:

[ SAN box ] ---- iSCSI ---- [ node 1 using ZFS ]
                            \-------- [ node 2 using ZFS ]

Correct?  And you want to fail-over services from node 1 to node 2?

You don't need HAST in that situation, as the SAN handles making the
storage available to both.  My bad.

But you can still use CARP and devd.  CARP provides the shared IP so
that other systems won't notice the switch over.  And devd provides
the hooks into your custom scripts so that when CARP switches from
node 1 to node 2, you export the pool on node 1, and import the pool
on node 2.

Freddie Cash
fjwcash at

More information about the freebsd-cluster mailing list