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
posta un anno fa203 visualizzazioni
2 Risposte
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
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa
  • 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
ESPERTO
con risposta un anno fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande