Multi-attach will not allow you to have a block device with a local file-system 
to be concurrently
accessed from multiple nodes. It is intended for HA scenarios where a second 
server can take
over a block device from another server. So, if you unmount on your first 
server, you can mount
on the second and you will see your file.

Arne

On 06 Mar 2018, at 09:53, 谭 明宵 
<tanmingx...@outlook.com<mailto:tanmingx...@outlook.com>> wrote:

I  installed the openstack queens use devstack. I want to test the "Cinder 
Multi-Attach" function

1. create a  multiattach volume
```
# cinder type-create multiattach
# cinder type-key multiattach set multiattach="<is> True"
#  cinder create 10 --name multiattach-volume --volume-type <volume_type_uuid>
```
2. attache the volume to two instances
```
# nova volume-attach test01 <volume_uuid>
# nova volume-attach test02 <volume_uuid>
```
<7B194ED4-5D18-4FFA-9FF3-E54DB425E7E4.png>
3. mount the volume , create some file,but the file don't sync between the two 
instance,It seems that they are two independent volumes
<4DFCCC80-5132-4383-B986-726664E45EAF.png>

then test02 create a file,but i cannot find it in test01,The reverse is the 
same.

<FC3B5C89-087F-4BE5-9B02-C584E7E80BEA.png>

I think i have something wrong,the test like the "share storage"
What should the correct effect be like? thanks

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

--
Arne Wiebalck
CERN IT

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to