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-devel

RE: [Xen-devel] starting domain when block device already mounted

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] starting domain when block device already mounted
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 17 Jan 2005 10:09:16 +1100
Delivery-date: Sun, 16 Jan 2005 23:23:47 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcT8GdoBIWrNWoVvSIusJL3hZv2c2QAAQpXQAACXSAAAAL9foA==
Thread-topic: [Xen-devel] starting domain when block device already mounted
Oops. This machine is actually using something pre-2.0, so please ignore
everything I've said :) I'll complain again if it doesn't work when I
upgrade this machine.

Sorry about that.

James

> -----Original Message-----
> From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
> Sent: Monday, 17 January 2005 09:49
> To: Ian Pratt; xen-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-devel] starting domain when block device already
mounted
> 
> My disks line is:
> 
> disk = [ 'phy:vg00/mail,0301,w', 'phy:vg00/mail-swap,0302,w' ]
> 
> The unpriv domain is up and running again, although I don't know what
> damage has been done. /etc/passwd was missing though which is not a
good
> sign. I found it in /lost+found, but who knows what else is missing!
> 
> Thanks
> 
> James
> 
> > -----Original Message-----
> > From: Ian Pratt [mailto:m+Ian.Pratt@xxxxxxxxxxxx]
> > Sent: Monday, 17 January 2005 09:34
> > To: James Harper; xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > Subject: RE: [Xen-devel] starting domain when block device already
> mounted
> >
> > > I just had a filesystem hosed in an unpriv domain (ext3
> > > errors all over
> > > the place), and then when I went to do a fsck on the block device
it
> > > told me it was already mounted, and sure enough, dom0 already had
> the
> > > device mounted. Would that cause a filesystem crash, or at
> > > least errors?
> > > Dom0 wasn't doing anything to the filesystem, and the unpriv
> > > domain had
> > > been up for a few weeks before this occurred.
> >
> > Mounting an ext3 file system writeable in two domains is almost
> certain
> > to destroy it.
> >
> > The tools try and prevent this. Was it a 'file:' vbd? There's
> currently
> > no safety checks for those, but there should be for physical
partition
> > and LVM volumes.
> >
> > Ian
> >
> > > Anyway, I've done this a few times before by mistake - made a few
> > > changes to the unpriv domain's filesystem from dom0 and forgot to
> > > unmount it before starting the domain. Is there any easy way
> > > to get 'xm
> > > create' to check before starting that none of the block devices it
> is
> > > about to export are in use? Such a thing would probably save me
> > > countless headaches in the future! (or maybe it's been done
> > > already? I'm
> > > running 2.0.1)
> > >
> > > Thanks
> > >
> > > James
> > >
> > >
> > > -------------------------------------------------------
> > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > > It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > >
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel