Permission errors in S3 File Gateway

0

I have a S3 backed SMB File Gateway. While for most part it works perfectly, on occasions some files become inaccessible, they are still listed in the file system but attempting to open, moving or deleting leads to a permission error (independently of the OS where the gateway is mounted). The permission error can not be overcome by sudo and chmod has no effect. Going directly to the S3 bucket using the console I can still download the files so their content is still kept, interestingly in the same bucket there is a copy of the inaccessible file with an additional random letter suffix. Has anyone experienced a similar situation?

1 réponse
0

Generally, such issues are seen when multiple writer are involved. Meaning a writer other than the specified File Gateway modifying the specified file in the associated S3 bucket.

If you have Health logs enabled on the gateway, the errors are logged to the Cloud Watch log group configured on the Gateway if the S3 File Gateway fails to read/write/modify files.

Here is a reference on the different errors and possible work arounds: https://docs.aws.amazon.com/filegateway/latest/files3/troubleshooting-file-gateway-issues.html

Please confirm if there are multiple writers involved in this case and any details about the use case would be helpful as well.

However, if multi writer is not the case, please open a case with AWS support with additional details for further investigation.

Thank you!

Harshi
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a un mois

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