Open brianloyal opened 4 days ago
Hi @brianloyal,
Mountpoint logs should be telling you why the write failed, I'd start there by trying the same command with aria2
and reviewing the Mountpoint logs. https://github.com/awslabs/mountpoint-s3/blob/main/doc/LOGGING.md
Ultimately, I suspect that aria2
may be writing at arbitrary offsets rather than sequentially, which is not supported by Mountpoint as this does not map well to object APIs.
I don't actually think this is the issue but I also see this message in your aria2 error output: "Allocating disk space. Use --file-allocation=none to disable it.". Mountpoint won't be able to support that, so I'd recommend using --file-allocation=none
. Give it a try just in case this changes some behaviors on writing.
Mountpoint for Amazon S3 version
mount-s3 1.9.1
AWS Region
No response
Describe the running environment
Running on EC2 Ubuntu 22 (AMI ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20240701)
Mountpoint options
What happened?
Tried downloading 5.2GiB file directly to S3 via mountpoint with aria2c
aria2c https://storage.googleapis.com/alphafold/alphafold_params_2022-12-06.tar -d $HOME/s3
Generates error:
NOTE: The following two commands both complete successfully:
wget https://storage.googleapis.com/alphafold/alphafold_params_2022-12-06.tar -P s3
aria2c https://storage.googleapis.com/alphafold/alphafold_params_2022-12-06.tar
In other words, I can use wget to download to the mounted folder, and aria2 to download to ec2, but NOT aria2 to download to the mounted folder
Relevant log output
No response