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/
Home Products Support Community News


Re: [Xen-users] LVM over Xen + Network

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] LVM over Xen + Network
From: rajan chandi <chandi.rajan@xxxxxxxxx>
Date: Tue, 27 Oct 2009 10:11:26 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Oct 2009 21:42:12 -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=vbeb/7ofTij7VfHbB38YnI+0lvNltmWTjlXOY0IFad4=; b=OGpGIU7uD/yjlZb6jgHRUTP5kXOh3k4c7f9xMzep6VjqLSNcoMx7WFjedq9t4hRDfJ e4S0zAdjMD4e2Yzn5ayK8W+RzyYpTWv7e0nAlcIJqAKh43+yFtTjJQ83EbMelYWlW1AM IbgCbFjWJnuL4KF354C+J/ei+hwSr8okEZolE=
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=GCoaVdLsmTCXkwYxODak8Lv8Sc7L5PJYibiH+R/IHVRhAQ3jBoL5VahjksMN3Nal3C eUO6ByepUt1//am5K5hfLL5uJ4lYR+EEKypoVNdXbeNEiUv+d1YKf/XV8vC3AY13GMEZ SkPKFjpDhKOMtRcKtC81+068kc/gEUKeqRJNE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0910262012s6c6fbf4fw52f259cb1f49c6bc@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: <a70bf0e20910260345j668470dayed5b6455bd1d878b@xxxxxxxxxxxxxx> <713d03b70910260437i67e185b2w406fbd2598321f12@xxxxxxxxxxxxxx> <a70bf0e20910260614r6fc06419yc8e0bbf8846938b5@xxxxxxxxxxxxxx> <90eb1dc70910260721r31f94baam72de2b46b1e2dd1a@xxxxxxxxxxxxxx> <a70bf0e20910260850j38ff1b83n56e919f483e77d1d@xxxxxxxxxxxxxx> <7207d96f0910262012s6c6fbf4fw52f259cb1f49c6bc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Fazar. I was looking for least expensive possible options.
ServerLoft being one of them but limitation of 500 GB per machine max.

It sounds like I should figure out other better options which will provide expandability at lower costs.


On Tue, Oct 27, 2009 at 8:42 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Mon, Oct 26, 2009 at 10:50 PM, rajan chandi <chandi.rajan@xxxxxxxxx> wrote:
> Thanks Javier for setup ideas.
> We are using ServerLoft Dedicated hosting.
> So, don't have much control over what can be done from a hardware
> perspective.
> Their servers are good and cheap.
> Only problem is that they don't support anything above 500 GBx2 with RAID 1.
> We are trying to figure a work-around to use the storage across the servers
> more efficiently.
> Is there a possibility to use LVM2 with some kind of NFS/GFS?

If by "efficiently" you mean "I need one server to have more storage
than what is physically available to it", then yes, it might be
possible. I'd generally say it's not worthed though. Way too much

For example :
- you have two servers with 500G disk each
- both is setup using partitions, one 50G (system) and one 450G (for
LVM PV). These are approximate values.
- you share second partition of server 2 using iscsi
- import iscsi share from server 2 on server 1
- setup LVM on server 1 using its own 2nd partition and server 2's
iscsi share. You'll get 900G VG.

Gotcha in this setup: if server 2 is dead, you might lose your data.
Workaround: you need 1 other server : say server 3. The setup now becomes:

- server 2 and server 3 share its partition using iscsi
- server 1 import iscsi share from 2 and 3, and setup it as mirror
using Linux md
- setup LVM on server 1 using its own 2nd partition and a mirror of
server 2 and 3's iscsi share

In this setup server 2 and 3 mirrors each other's data, so you can
have a single disk or stripe (RAID0).
Gotcha in this setup: you need to fine-tune iscsi so that in doesn't
retry forever when server 2 or 3 is dead.

See why I say it's too much effort?
It'd be MUCH easier to simply buy a 2U server with 14 3.5" drives,
have them host it (so it's colo instead of dedicated server), and use
it as iscsi/nfs server.


Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>