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

Re: [Xen-users] how to mount one volume to 2 guests

To: nikolanikov@xxxxxxx
Subject: Re: [Xen-users] how to mount one volume to 2 guests
From: Alain Barthe <ab266061@xxxxxxxxx>
Date: Wed, 3 Jun 2009 18:53:57 +0200
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 03 Jun 2009 09:54:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=x8Rp983YyPtr63pxDLbBSUyCzKMgAiOrb3ikW02IaaI=; b=Jo3+7zNElSPYq11Oumm2ezbDROzsEWsR1fQY9YCNhB88P5Wxg13YYASjFcsCyZ3TCi qAhRbYFUMIzK05M5kW4rIWbnNNQn2Fyuz9qthptbEUIJQePtGQhqzRozhs31Wu1kfIcP O+bEFCOwe3MKU2dZ1XKkpwgE8BHFVsXFBNdVc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dfEn2keU5ZQmhacnWY1zrN/7pQTCPOO4Y1kTWJc0hqn/0Jf3DqdaTJp5bNS9zX4f0R G1h4FDk7jBxPVO9c6X89gZDl9oUktVHum62ga2Yu6ug7tqeAUDZZh8hG1yZKZO9QMZF4 hvwxpF9M7S0L/Y6QxCzwJCQG9y8xbc8tB4XKA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090602201945.mxakcd79qlk4ssw8@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20090601175757.r8qa7fdkqb00ow0s@xxxxxxx> <7207d96f0906010837s6e287960w64dd97c5b12963fd@xxxxxxxxxxxxxx> <20090602201945.mxakcd79qlk4ssw8@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


2009/6/2 <nikolanikov@xxxxxxx>
 
Yes I realize that, I want to use it with ocfs2. How I can set mode to w! ?

I am not sure to understand, but OCFS2 is a file system. If you want to use it, I think you have to create a disk image file on your ocfs2 file system, then to use the "file:" or "tap:io:" prefix in your domU config files.

You can't use directly a shared physical device, even if you created OCFS2 file systems on it.
 

 
Цитат от "Fajar A. Nugraha" <fajar@xxxxxxxxx>:


> 009/6/1  <nikolanikov@xxxxxxx>:
>> I want to ask how to mount one storage device to 2 guests?
>> When I try to create vm handle everything is fine I can create one vdi and
>> vbds for every guest. When I start first machine everything is ok, but when
>> I try to start second one it says that
>>
>> ERROR: 2 INTERNAL_ERROR Device 2051 (vbd) could not be connected.
>> Device /dev/mapper/test_vg-test64_454 is mounted in a guest domain,
>> and so cannot be mounted now.
>>
>> any Ideas how I can share one device to two or more virtual machines? I
>> don't want network solution like nfs,iscsi ... etc
>
> First of all, you DO realize that sharing a block device without some
> kind of cluster file system could lead to data corruption?
>
> If you want to share it anyway, you can try changing the mode to "r"
> (for read only) or "w!" (to force read-write multiple mount).
>
> --
> Fajar
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>



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

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