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
demandé il y a un an203 vues
2 réponses
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
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an
  • 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
EXPERT
répondu il y a un an
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions