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

RES: [Xen-users] SAN + XEN + FC + LVM question(s)

To: "'Javier Guerra'" <javier@xxxxxxxxxxx>, "'Wendell Dingus'" <wendell@xxxxxxxxxxxxx>
Subject: RES: [Xen-users] SAN + XEN + FC + LVM question(s)
From: Bruno Bertechini <bruno.bertechini@xxxxxxxxxxx>
Date: Mon, 15 Sep 2008 14:12:48 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 15 Sep 2008 10:08:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <90eb1dc70809150916w141f2f82lddba9ffd1f0bced0@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>
Organization: Acensco Tecnologia
References: <1053235014.99411221494497785.JavaMail.root@xxxxxxxxxxxxxxxxxx><799907552.99431221494539052.JavaMail.root@xxxxxxxxxxxxxxxxxx> <90eb1dc70809150916w141f2f82lddba9ffd1f0bced0@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckXTnaDPAD+u1QdS4qxYPDY4h0pTwABzy2Q
Just complementing Javier's email, I have tested the "online" resizing
inside domU's. It does not work without reboot or (re)-mount the drive /
partition.

Use LVM inside a domU seems to solve this problem, but you DO need to
consider Javier's statements regarding "inner" and "outer" LVM's.

IF we could find ANY documentation about it, and make sure this nested
logical volume Will work witouht problem, I would say this is the *perfect*
solution.

We have *exactly* same scenario here : 03 hosts (dual Quad-Core cpus, 32Gb
of RAM and EMC drive with several luns).

I am on the SAME research of "Best practices" to use this combination.

I think we find the 02 possibilities to GO. 

1) LVM inside domU (downtime 0)
2) reboot the guest (domU) to "see" the changes (I would prefer this
solution, since I personally don't like the Idea to "add" more LV's instead
of resize them.

Regards

Bruno Bertechini

-----Mensagem original-----
De: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Em nome de Javier Guerra
Enviada em: segunda-feira, 15 de setembro de 2008 13:16
Para: Wendell Dingus
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Assunto: Re: [Xen-users] SAN + XEN + FC + LVM question(s)

On Mon, Sep 15, 2008 at 11:02 AM, Wendell Dingus <wendell@xxxxxxxxxxxxx>
wrote:
> Are there pitfalls or limitations I've not thought of here though? Is this
> approach a "best practices" or is some other method considered "better"?

AFAICS, you're right and ready to go.

the only thing i don't like too much is using LVM inside DomU's.  in
theory some scanning tools could confuse the LVM metadata inside those
volumes with the 'outer' LVM metadata and wreck the whole thing.  i
don't think it really happens in practice...

if you want to avoid LVM inside DomU's, expanding a DomU drive become
a little harder: you have to expand the LV from Dom0, and then somehow
make that resizing known to the DomU kernel. usually that means (at
least) unmounting the device, or even restarting.  after that, just
resize the FS.

if you can tolerate a few minutes of downtime to resize a DomU,
consider avoiding the 'inner' LVM.  if not, or if you're confident no
CLVM tool would confuse 'inner' and 'outer' LVM's, go with your plan.

-- 
Javier

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


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