Reputation: 1079
I need to have an EC2 machine that stores some million small files on 20Gb.
in the meadle of the process of creating the files I get this issue No space left on device
. There is free disk but no inodes.
The problem is that I don't understand how to create a machine (with CloudFormation) to solve this problem. This is both a Linux and AWS missing knowledge issue.
Can someone help me with this issue?
Upvotes: 5
Views: 10593
Reputation: 34367
I'd do something like this
The directories under the mount point will be able to handle more small files
For CloudFormation add the volume to the CloudFormation template as described here
and add the mkfs command to your cloud init scripts
Upvotes: 7