News for hackers. Stuff that matters.
Re:No Space Left on Device by vacri on Tuesday September 06, 2016 @02:30AM (#12433974)
"If you're working with huge files or a huge number of files, use XFS" went the slogan.

I was hit by this recently - with our 500ish (!!) entries in /node_modules and their dependencies of dependencies of dependencies, a standard 8GB VM formatted with ext4 just simply didn't have enough inodes for us to have two copies of our app (deployment swapover). Had to increase the size to 20GB, just to get the extra inodes. XFS would have handled it much better (from testing on a parallel machine). It was inode exhaustion, though the 'disk full' error message was the same - confusing at first, as df showed 40% free space...

Re:No Space Left on Device by fnj on Tuesday September 06, 2016 @02:54AM (#12434063)
You could have also tuned ext4 when you created it with mke2fs. You can specify with -N the max # of inodes desired. Granted, it's not something very many people consider when creating their filesystems; for one thing it's hard to predict how many you will need.
Re:No Space Left on Device by watt on Tuesday September 06, 2016 @03:20AM (#12434181)
It would be great if it had switch that simply says "double the default number of inodes". Per stories in comments, seems that on large file systems it's easier to run out of inodes, the default must be too low.
Re:No Space Left on Device by vacri on Tuesday September 06, 2016 @08:02PM (#12440130)
Unfortunately it was on a pre-baked image on AWS, and you apparently can't retrofit it.
Re:No Space Left on Device by guroot on Tuesday September 06, 2016 @03:00AM (#12434094)
Also most distro installers don't make it very easy to do this.