WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] LVM+Xen+FreeNAS possible?

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] LVM+Xen+FreeNAS possible?
From: rajan chandi <chandi.rajan@xxxxxxxxx>
Date: Wed, 28 Oct 2009 12:39:02 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Oct 2009 00:09:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=m2t4BhQbruIMaF00SR2A2Aruox4fG1c1/fRtg+ckPTo=; b=fM7E8fMijwAFt8SFJKHrNT/G3qM+cH5yKLnKOkWMI2477cTiG+IVUZXXbVeYIl8NDQ v1N8QK1XKyOAqjgfUUXMLN9whGZvcgnHR2pexFnuibLvT6qY7ieT0qbxvx8GrNs4UPUf 6cUNt1CPYx7ImgKSwT1FBxkq7EhYC7l3X1EfY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i844OtJAI+kLuaBWZAMl2U2Gp0NeUReip24bcg+RorArgCVgO4IMXGCnsn70H+yJqv 6AjbsKLH9L/FubVJdqzBRUqknvstV494A54+li/IM1FQ8QSmqnnWhwdl12bDKWItitYM PRN6s/8BF18Cn1nvW29w5a1Upeldf5feimWjE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0910272335l59409d1j2be123600106643b@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <a70bf0e20910270303x4448021cn3380ecc7e9a34646@xxxxxxxxxxxxxx> <7207d96f0910272310q47eb9f09i44795ff62550d34e@xxxxxxxxxxxxxx> <a70bf0e20910272323v4f1625f0j43ff6730aa077232@xxxxxxxxxxxxxx> <7207d96f0910272335l59409d1j2be123600106643b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
MogileFS takes care of replication, availability etc.

We are storing doc/pdfs.

e.g. first drive - /dev/sda3 - first MogilFS domU
       second drive - /dev/sda4 - second MogilFS domU

MogileFS will replicate the files across these drives. So, RAIDs are not needed.
We are not intending to update the files at all. So, don't need POSIX compliance.

There exist MogileFS-Clients for Java/Ruby and we are going to use that one.

The File Servers won't need the redundancy I think.
Let me know if you think otherwise!

Regards
Rajan

On Wed, Oct 28, 2009 at 12:05 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Wed, Oct 28, 2009 at 1:23 PM, rajan chandi <chandi.rajan@xxxxxxxxx> wrote:

> MogileFS sounds to be a better option than FreeNAS due to scalability
> reasons.

Are you sure? From http://www.danga.com/mogilefs/

"MogileFS is not:

   * POSIX Compliant -- you don't run regular Unix applications or
databases against MogileFS. It's meant for archiving write-once files
and doing only sequential reads. (though you can modify a file by way
of overwriting it with a new version) Notes:
         o Yes, this means your application has to specifically use a
MogileFS client library to store and retrieve files. The steps in
general are 1) talk to a tracker about what you want to put or get, 2)
read/write to one of the places it told you you could (it'll pick
storage node(s) for you as part of its load balancing), using HTTP
GET/PUT
         o We've prototyped a FUSE binding, so you could use MogileFS
without application support, but it's not production-ready.
"

Now if you simply want to use those 2x500GB disk as RAID0 and have
redundancy in another server with exact disk setup, I'd say you should
install crossover cable between the servers and install drbd.

I'm using drbd83-8.3.2-6.el5_3 from centos-testing. It works great in
general on my testing environment.
There were some issues earlier though (e.g. when using an earlier
version, one node panic when the other node restarts), so I'm still
rather reluctant to do widescale deployment. Oh and be SURE to have
network/serial console access ready (I use HP's ILO) if you plan on
deploying drbd :D

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users