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: RvL <rvl@xxxxxxxxxxx>
Date: Wed, 29 Oct 2003 13:06:20 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Oct 2003 12:06:26 +0000
Envelope-to: steven.hand@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>
References: <E1AEb0X-0002Uk-00@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
Thanks, this was indeed the solution for this problem.


Keir Fraser wrote:

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




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