Issue With mounting one volumes to 2 instances

0

I Properly attached one Volume to my dev and prod instance, but when i create a file in folder where my volume is mounted on dev server I can't see it in mounter folder on prod server

Enter image description here

Enter image description here

I'm talking about the volume with 154G,

djordje
已提问 1 年前203 查看次数
2 回答
1

Am I right in that I don't see the same file in "/var/www/data-testing"?
I thought it was not possible to read the files at the same time as described in the following document.
So I am thinking that if I do an unmount -> mount, it will be visible with the last change.
https://repost.aws/knowledge-center/ebs-access-volumes-using-multi-attach

profile picture
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
  • Thank you for the answer, do you have any recommendation on which file system should i use for ubuntu server

0

Hi, did you enable EBS multi-attach as per https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html#working ?

Also, check that your use case is in the boundaries of multi-attch: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html#considerations

profile pictureAWS
专家
已回答 1 年前
  • EBS multi-attach has several strong restrictions like

    Standard file systems, such as XFS and EXT4, are not designed to be accessed simultaneously

    So whoever want to use this feature should check limitations carefully.

  • Thank you for the answer, do you have any recommendation on which file system should i use for ubuntu server

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则