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] Problem with dissapearing files on virtual domain...

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Problem with dissapearing files on virtual domain...
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 28 Oct 2003 21:04:04 +0000
Cc: RvL <rvl@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Oct 2003 21:09:42 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 28 Oct 2003 19:33:10 GMT." <E1AEZaY-0000tc-00@xxxxxxxxxxxxxxxxxxxx>
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
> > my uneducated guess was that it was a problem with swap devices.
> > my old setup was domain0 /dev/hda2 as a swap device,
> > domain1 no swap device, but i tried domain1 /swapfile (150) mb file
> > created with dd if=/dev/zero of=/swapfile, and mkswap /swapfile,
> > sync, sync , swapon /swapfile  .... but that didn't work either.
> 
> Have you granted domain 1 *write* access to hda5? To do this you pass
> the '-w' flag to 'xenctl physical grant'.
> 
> I'd hope that Linux would compain loudly if you tried to mount a
> read-write filesystem from a volume which it can't write to. However,
> I won't be surprised if we haven't got that quite right --- I'd be
> interested to know if this is the problem!

Okay, I'm now certain that this is your problem. Grant domain 1 access
using the -w flag and the file will not disappear!

Also, the latest check-in contains a fix to Xenolinux so that you
cannot mount a read-only partition for read-write access. Much saner
:-) 

Oh yeah: this is now the latest-semistable release. Please beat up on
it and let us know of any weirdnesses. It's probably a good idea for
us to push out a proper 1.1 release before starting our next batch of
big hacks!

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel