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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南