FSx for Lustre errors with No such file or directory

0

Hello, I am using AWS FSx for Lustre persistent 2 with an S3 bucket as a data repository. I enabled auto import and auto export based on NEW, CHANGED, DELETED. Sometimes, when I try to access a file (let's say it's /bucket/file), I get an error saying /bucket/file: No such file or directory.

I can ls the file without errors. This missing file error happens randomly and is not always the same file.

I have Log Errors and Log Warnings enabled. On CloudWatch, I did see an like this:

{
    "LogLevel": "ERROR",
    "EventType": "DataRepository",
    "FilePath": "/bucket/file",
    "FileSystemID": "",
    "Publisher": "AutoExport",
    "UTCTimestamp": "2022-01-10T22:01:44Z",
    "Message": "Failed to Export file because it is being used by another process."
}

But, if I understand correctly, the failure to export shouldn't affect whether or not the file exists on FSx for Lustre, just that S3 may be out of date.

The filesystem also has 75% free space, so I don't think it's a low space issue.

Has anyone seen this error and can help me understand what's going on? Are there any suggested workarounds?

질문됨 2년 전803회 조회
1개 답변
0

I understand that you have enabled auto import and auto export based on NEW, CHANGED, DELETED for AWS FSx for Lustre persistent 2 with an S3 bucket as a data repository and sometimes see error "Failed to Export file because it is being used by another process." in cloudwatch logs.

This error occurs when Amazon FSx was unable to export the file because it was being modified by another client on the file system. You can retry the DataRepositoryTask after your workflow has finished writing to the file. I would also like to inform you that this could cause due to factors like,

* How you are accessing the file?
* What S3 storage class (e.g. S3 Standard, S3 IA, Glacier) is the underlying S3 object in?

To deep dive further, I request you to open a support case with AWS Premium support as the following details are required to understand the cause of the issue.

  1. Application name and access command? (e.g. cat)
  2. What is the output when you run "ls -lrt" in the directory where this file is present? ( This will give us more information to investigate here)
  3. FSX ID / region
AWS
지원 엔지니어
Sathya
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인