[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Mon, 17 Jan 2005 09:22:23 +1100
  • Delivery-date: Sun, 16 Jan 2005 22:28:33 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcT8GdoBIWrNWoVvSIusJL3hZv2c2Q==
  • Thread-topic: 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.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.