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
gefragt vor einem Jahr203 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr
  • 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
EXPERTE
beantwortet vor einem Jahr
  • 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

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen