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

xen-users

[Top] [All Lists]

[Xen-users] RE: iSCSI and LVM

To: "Ferenc Wagner" <wferi@xxxxxxx>
Subject: [Xen-users] RE: iSCSI and LVM
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: 2010年6月15日 23:23:06 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年6月15日 06:27:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87r5k8bfmd.fsf@xxxxxxxxxxxxx>
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: <46C13AA90DB8844DAB79680243857F0F062078@xxxxxxxxxxxxxxxxxxx><46C13AA90DB8844DAB79680243857F0F062079@xxxxxxxxxxxxxxxxxxx><64D0546C5EBBD147B75DE133D798665F055D94A7@xxxxxxxxxxxxxxxxx><46C13AA90DB8844DAB79680243857F0F06207A@xxxxxxxxxxxxxxxxxxx><87eig8cyo2.fsf@xxxxxxxxxxxxx><46C13AA90DB8844DAB79680243857F0F06208A@xxxxxxxxxxxxxxxxxxx><87vd9kbgdk.fsf@xxxxxxxxxxxxx><AEC6C66638C05B468B556EA548C1A77D019971B6@trantor > <87r5k8bfmd.fsf@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsMjRA4jIMDeoe2R2ewbtr89gXocwAAB+xw
Thread-topic: iSCSI and LVM
> "James Harper" <james.harper@xxxxxxxxxxxxxxxx> writes:
>
> >> You can use live migration in such setup, even safely if you back
it
> >> by clvm. You can even live without clvm if you deactivate your VG
on
> >> all but a single dom0 before changing the LVM metadata in any way.
A
> >> non-clustered VG being active on multiple dom0s isn't a problem in
> >> itself and makes live migration possible, but you'd better
understand
> >> what you're doing.
> >
> > You can't snapshot though. I tried that once years ago and it made a
> > horrible mess.
>
> Even if done after deactivating the VG on all but a single node? That
> would be a bug. According to my understanding, it should work. I
never
> tried, though, as snapshotting isn't my preferred way of making
backups.
> On the other hand I run domUs on snapshots of local LVs without any
> problem. And an LV being "local" is a concept beyond LVM in the above
> setting, so it can't matter...
A snapshot is copy-on-write. Every time the 'source' is written to, a
copy of the original block is saved to the snapshot (I may have that the
wrong way around). This allows snapshots to be pretty much instant as
very little data is manipulated. It also saves a lot of space. Doing
that though involves a remapping of the snapshot every time the source
is written to (eg block x isn't in the 'source' anymore, so storage is
allocated to it etc) which involves a metadata update.
So if the VG remained deactivated on all nodes for the life of the
snapshot then it may work, and maybe this is what you meant in which
case you are correct. If the activated the VG on the other nodes after
creating the snapshot though, then problems may (will) arise!
James
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Xen Driver Domain , Pasi Kärkkäinen
Next by Date: [Xen-users] Re: iSCSI and LVM , Ferenc Wagner
Previous by Thread: [Xen-users] Re: iSCSI and LVM , Ferenc Wagner
Next by Thread: [Xen-users] Re: iSCSI and LVM , Ferenc Wagner
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /