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

[Xen-users] Re: Mounting domU filesystem on Dom0. (xm mount)

To: Siim Vahtre <siim_@xxxxxxxx>
Subject: [Xen-users] Re: Mounting domU filesystem on Dom0. (xm mount)
From: Ligesh <myself@xxxxxxxxxx>
Date: Wed, 14 Mar 2007 17:06:37 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Mar 2007 04:24:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.63.0703141309500.19442@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20070314111355.GA19329@xxxxxxxxxx> <Pine.LNX.4.63.0703141309500.19442@xxxxxxxxxxxxx>
Reply-to: Ligesh <myself@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Wed, Mar 14, 2007 at 01:13:15PM +0200, Siim Vahtre wrote:
> >I have raised this thing many times in myriad different ways, and to me, 
> >Xen still seem to lack the ability to access the domUs in a proper 
> >manner so as to allow mass management of the domUs, and one of the 
> >important things here is backup. If you have to manage 1000 domUs across 
> >50-60 machines, then it would be essential to be able to take backup of 
> >the entire system.
> 
> Why not use LVM snapshots? I use snapshot feature to backup domU's from 
> dom0 and I am very satisfied.

 LVM Snapshots are terrible terrible idea. You are basically mounting an 
inconsistent file system that has not yet been synced, and I am sure you have 
never tried to restore the backups you have so conscientiously taken. Believe 
me one day, if you try to restore the backup, it will completely ruin your 
system. The LVM snapshot is the state of a filesystem that's running, and it is 
equivalent to powering off the system. And at the least, you should run e2fsck 
on the LVM before you actually tar it up.

> 
> >This actually can be achieved even on normal Xen system, by running an 
> >nfs daemon and exporting the '/' to the dom0, which can then be mounted 
> >and backedup, like any live system.
> 
> And why not use it?

 The point is that I can't enable nfs on 1000 domUs. That's another problem 
with xen. On openvz, I can do for in in `vzlist` ; do vzctl exec 
/etc/init.d/nfs restart done. How do I do it on xen? But even if this were 
possible,  nfs is too heavy, and it is insanity to have 1000 nfses running on 
your system. That is a most callous waste of memory, multiplied a 1000 times.

[quote] 
> 
> You can also use shared filesystems like GFS or OCFS2.
[/quote] 

 I will try that out. It _appears_ to be a possible solution, if only due to 
the fact that, it is the only one I haven't yet tried and found major problems 
with.



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