I wonder if there is still a limit with modern Linux OSes and that is why Google is limiting some of their users?
I wonder if there is still a limit with modern Linux OSes and that is why Google is limiting some of their users?
But this does remind me of having to set up a cron job on an old PHP application because the sessions were saved as files and it ran into the inode limit several years in :P
Every file has a set of permissions attached to it, because you can grant fine-grained permissions to every single file in Drive, Photos, YouTube, ...
I imagine that they hit some limit in that part, and tried to find a way to limit the issue...
Ext4 has 32-bit/~4billion max limit per filesystem, newer filesystems like btrfs have a 64bit limit. Neither allocates the whole max size by default. I don't imagine Google drive uses an out of the box filesystem underneath though.
Since filesystems introduced dynamic inode count it hasn't really been a problem. I remember ages ago you had to format filesystem in certain way if you wanted a lots of small files (say news or email server), but the need of that went away with better filesystems and growing storage sizes.
> and that is why Google is limiting some of their users?
On their side it's most likely on the number of entries in database, which usually is more than just storage cost.
Inodes IUsed IFree IUse% Mounted on
122068992 4724107 117344885 4% /
I guess that 122 M inodes in the first column is the limit of that file system. Much more than 5 M but Google Drive is probably giving a quota to users. No idea of which file system it actually uses on the disks.