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

Re: [Xen-users] Share of disks in read only between dom0 and domU.



Hello !

James Harper a écrit :
Hello !

Because of a special config of my grub boot system, i try to export in
a
domU, in read
only mode, one of my disk partition mounted in the dom0 (in RW)  and i
don't succeed
because xen refuse to export this disk partition in a domU.


I think you can append a '!' do the permissions, eg 'r!' or 'w!' (or
maybe it was a '+'?) if you want to force xen to do your bidding, even
if xen thinks it's not a good idea. I've done this with OCFS2 before.


I tried this before but neither ! nor + works on my xen (3.0.3 in SuSE 10.2).
I get :
Error: Invalid mode


But for a non-cluster aware filesystem, you're asking for trouble. DomU
will cache filesystem data which Dom0 may write to, leaving DomU with
out of data information (nothing to tell it to re-read). If everyone
mounts the filesystem ro then you should be fine

I think you can configure Dom0 to mount the filesystem with no write
caching (eg synchronous mode), but I don't think you can tell DomU to
mount it with no read caching, and even if you could, you would surely
run into race conditions where Dom0 is changing data even as DomU is
reading it.

James


It is only for grub to see its differents stages (1.5 and 2) which are located on /dev/sda6 and it is no need at all to access this disk after booting the XP.
I don't know really if my idea is good but all the others tries did not work.

Thanks.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

   ^  ^ ----           Michel GAUDET          +--- |  | +--- +--- +---
  /| /||    |            CRI/SIR              |__  |__| |__  |__  |__
 / |/ ||  __      Ecole des Hautes Etudes     |    |  | |       |    |
/     ||____|       en Sciences Sociales      +--- |  | +--- ---+ ---+
              54 Boulevard RASPAIL 75006 PARIS
    Tel:(33) 01 49 54 25 91           Email: Michel.Gaudet@xxxxxxxx
    FAX:(33) 01 49 54 26 85

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


 


Rackspace

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