You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: Disk Full While Copying File to Bucket

edited Feb 27, 2023 1:57PM in Linux

Applies to:   

Oracle Cloud Infrastructure - Version N/A and later  

Linux x86-64 

 

Symptoms 

While copying a large file to an OCI Bucket, the copy fails with error. It’s also noticeable that the root filesystem became full during the copy. 

# cp /tmp/file /mnt/ 
cp: error writing '/mnt/file': No space left on device 
cp: failed to close '/mnt/file': File too large 

Cause 

The Bucket filesystem was mounted using s3fs, which requires a local caching for operation. 

Copying a large file will create a copy of that file in the cache, that defaults for /tmp. 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!