From owner-freebsd-fs@FreeBSD.ORG Fri Jun 26 23:34:09 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37DF0106564A for ; Fri, 26 Jun 2009 23:34:09 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id E56EA8FC0A for ; Fri, 26 Jun 2009 23:34:08 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so615321and.13 for ; Fri, 26 Jun 2009 16:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=S6wJoSkFfom7KeF3yEuWOykH7UOc7S2b0N5heSidv+M=; b=xoXhsTo9/iLryXA43U50c/JN1oBBvYW1rT4G+XSBuWANA5EPBLr7qW566EtPEtfyFH A6U543xjCo4HsoF0l2YnD+Lq4sA0UJ4TdVGnBYxF7y0sFy/4XJesQwqpmDd9VlpjBzpv rVhDWrzMbnnUF6h8x5Qai4h8PduJEC5naV7jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=UJeI/CDQn+fqRooMJhZUWGX9GXTZOlo7VHU1eN93kJVYsHt45RGpG2uJ24lo/QwOTU kc3KQwv6+DeoWMt6Sneodg11++ORzM9fe+6fNBsddKMGYFRoDPl1IdsVzFYYeEE3NTsn FqejF5TRiMBgema0MiuqdLigLQc8wUr3HAdWA= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.123.12 with SMTP id v12mr5750299anc.21.1246059248275; Fri, 26 Jun 2009 16:34:08 -0700 (PDT) In-Reply-To: <4A454FD6.1080005@free.de> References: <4A42B3C7.9000500@efinley.com> <4A454FD6.1080005@free.de> Date: Fri, 26 Jun 2009 16:34:08 -0700 X-Google-Sender-Auth: 9ed62c404973ad4f Message-ID: <3c1674c90906261634l22910f54r31bbb8ec972d5ebf@mail.gmail.com> From: Kip Macy To: Kai Gallasch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org Subject: Re: Fail-over SAN setup: ZFS, NFS, and ...? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 23:34:09 -0000 On Fri, Jun 26, 2009 at 3:46 PM, Kai Gallasch wrote: >> Freddie Cash wrote: >>> [Not exactly sure which ML this belongs on, as it's related to both >>> clustering and filesystems. =A0If there's a better spot, let me know an= d >>> I'll >>> update the CC:/reply-to.] >>> >>> We're in the planning stages for building a multi-site, fail-over SAN >>> setup > > Elliot Finley wrote: >> Why not take a look at gluster? > > Quite interesting project - http://www.gluster.org/ > > But sadly: > http://www.gluster.org/docs/index.php/Whats_New_v2.0 > > [..] > Known Issues > Some known issues and pending activities stalled for upcoming releases. > =A0 * Distribute translator: uses 64bit inode numbers, as FreeBSD doesn't > support 64bit inodes. Distribute is seen to not work on FreeBSD ino_t is still a 32-bit type, but it should be safe to make the following change to _types.h: @@ -43,7 +43,7 @@ typedef __uint64_t __fsfilcnt_t; typedef __uint32_t __gid_t; typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */ -typedef __uint32_t __ino_t; /* inode number */ +typedef __uint64_t __ino_t; /* inode number */ typedef long __key_t; /* IPC key (for Sys V IPC) = */ typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) *= / typedef __uint16_t __mode_t; /* permissions */ Cheers, Kip