diff options
author | pjd <pjd@FreeBSD.org> | 2010-02-18 23:16:19 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-02-18 23:16:19 +0000 |
commit | 1c1e2e8b7128696797c328aefd45f618c64ba613 (patch) | |
tree | b457b029c3a2e668bca4294dab77cfceeba7dcbd /sbin/ggate | |
parent | a448fe30c9ff8f38fe6cc08b23bf069aabb7438c (diff) | |
download | FreeBSD-src-1c1e2e8b7128696797c328aefd45f618c64ba613.zip FreeBSD-src-1c1e2e8b7128696797c328aefd45f618c64ba613.tar.gz |
Please welcome HAST - Highly Avalable Storage.
HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.
HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.
For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.
Sponsored by: FreeBSD Foundation
Sponsored by: OMCnet Internet Service GmbH
Sponsored by: TransIP BV
Diffstat (limited to 'sbin/ggate')
-rw-r--r-- | sbin/ggate/ggatec/ggatec.c | 2 | ||||
-rw-r--r-- | sbin/ggate/ggatel/ggatel.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ggate/ggatec/ggatec.c b/sbin/ggate/ggatec/ggatec.c index e421614..660bd8a 100644 --- a/sbin/ggate/ggatec/ggatec.c +++ b/sbin/ggate/ggatec/ggatec.c @@ -59,7 +59,7 @@ enum { UNSET, CREATE, DESTROY, LIST, RESCUE } action = UNSET; static const char *path = NULL; static const char *host = NULL; -static int unit = -1; +static int unit = G_GATE_UNIT_AUTO; static unsigned flags = 0; static int force = 0; static unsigned queue_size = G_GATE_QUEUE_SIZE; diff --git a/sbin/ggate/ggatel/ggatel.c b/sbin/ggate/ggatel/ggatel.c index 03979c3..6a3f26e 100644 --- a/sbin/ggate/ggatel/ggatel.c +++ b/sbin/ggate/ggatel/ggatel.c @@ -50,7 +50,7 @@ enum { UNSET, CREATE, DESTROY, LIST, RESCUE } action = UNSET; static const char *path = NULL; -static int unit = -1; +static int unit = G_GATE_UNIT_AUTO; static unsigned flags = 0; static int force = 0; static unsigned queue_size = G_GATE_QUEUE_SIZE; |