365 points · by stereoradonc · 3y ago · 306 comments
Please delete 2M files to continue using your Google Drive account - https://news.ycombinator.com/item?id=35395001 - March 2023 (109 comments)
5M item limit for Google Drive: File unable to generate or upload due to 403 - https://news.ycombinator.com/item?id=35329135 - March 2023 (133 comments)
Google KEEPS setting new records for poor customer communication, to the point where I (and much of the HN crowd) now expect it. Android developer banned from the app store? There is no meaningful way to appeal but you'll probably never be able to find out why. Your best hope is to post on HN and hope someone with power at Google notices.
Leadership at Google ought to recognize this; they ought to make an effort to improve the channels by which "customers" can communicate with Google. But I see no signs that they are even aware of the issue; I see no effort to change anything.
I would try to tell them but... there's no communication channel. Maybe I should post about it on HN.
I complained about a separate issue with GCP. The product manager found my tweet and told me it was my fault for using a service marked as "preview". He then told me I should have used a different service, which was also marked as "preview". They were rude and defensive and made no attempt to resolve my issue. We decided to just not use GCP for the project as a result.
Neither of these are isolated stories. I have multiple examples of GCP staff just being super rude for no real reason, while AWS regularly goes above and beyond with customer service.
One time two very competent guys shows up on site and let me reproduce the issue, agrees it is a serious bug and promises to take care of it.
Next time I get connected with what seems to be two part time students or something who doesn't seem to have a clue about the product.
Then in a third case some technical architect or something looks into my stack overflow question, verifies there is a known bug and it will be fixed in next monthly rollout, but I never saw a fix.
I have a hard time using any of google's stuff - cloud, whatever. Have had to deal with 'google search console' recently. "Give us your sitemap!". OK... "Could not fetch". The explanation for "could not fetch" might be "couldn't fetch" or "hasn't fetched yet" or "read but not processed" or "error reading" or.. anything else. On March 9, I had a sitemap entry listed as "couldn't fetch" updated to "last fetched date" of March 10 (9am UTC-4, so not even close to march 10 UTC time). It's just.... buggy. Colleagues currently moving stuff to google cloud (by edict of cto) are encountering bug after bug after slowness after flakiness. Google "support", to the extent they answer, says "we don't know".
Might it have been 'technically better' on day one? perhaps. But if it's buggy/flaky to deal with, and they have no support, not sure how you'd even verify the "technically better" part. How would you trust any numbers you see reported in their own tools?
Had to use GCP stuff about 6 years ago. It was flaky/slow and relatively unsupported then. Watching colleagues go through stuff today, in 2023, it seems no better.
Roles/Permissions in GCP is just done better. The whole system of having to switch roles to be able to see stuff across multiple accounts in AWS is opaque and confusing. TrustPolicies are powerful but feel unnecessarily complex for almost every use case. Google has its own warts around permissioning (doing things often requires an opaque role that you have to look up, the error message is often unhelpful). However, it’s better than unraveling the series of permissions needed to, for instance, have an app pull from an S3 bucket in AWS.
AWS sucks at naming things. Everything is some nonsensical acronym that only makes sense to salespeople at Amazon. When you wonder what Google’s load balancer product is called, you look it up and it’s perhaps unsurprisingly called Elastic Load Balancer.
Another plus for Google: Having IAP as a first class citizen is a nice way to avoid having to set up bastions etc when prototyping.
On the other hand, we just spun up a Karpenter instance in EKS, and according to my colleague it’s much better than Google’s Autopilot product.
Also there is a whole industry around getting support from Google, lol. We use DoIT at my place of work, which is a company whose entire business is to pool together customer accounts for volume pricing and white glove support from Google. Interestingly, the cost savings from volume pricing are so significant there’s no cost to end users for using DoIT.
It's a shitshow. Their design is ridiculous, overcomplicated and opinionated. It's clear they are run by engineers because no sane human would choose to use GCP knowing how bizarre and painful it is.
Creating an IAM role isn't strongly consistent. You have to build your own polling logic to wait for it to be done to attach a policy to it. Even using their own Terraform provider. If I worked there I'd be embarrassed.
AWS and Amazon as a whole has always had stellar support. And they'll continue to receive my business in both as long as that holds true, even though we rarely use it.
Otherwise what would they do when they inevitably get discontinued?
Now they seem to have lost that edge and are just another competitor offering products that come with poor support.
1. Offer a cheap (free) service
2. Gain significant market penetration
3. Provide little to no customer service
4. Raise prices
5. Let the product/services degrade until significant public outcry or regulator involvement
- Give old users approaching or exceeding limit with an additional 10% or 20% buffer.
- Ensure to notify all users about the change
- Update relevant support documentation.
Clear communication is crucial in addressing new storage limitation. For example, organizations might be archiving all their emails in a single Google Drive for legal discovery, AI training, or similar purposes. These companies may quickly reach the 5 million limit, but the situation can be resolved by dividing the content across multiple Google Drives or utilizing alternative storage solutions like Amazon S3 or Dropbox. No big deal.
The crux of the matter lies in maintaining clear communication.
Google does this all the time, anyone who uses GCP, particularly BigQuery, knows all too well about stealth changes that break things.
Is it? On this desktop I have 1.5 million files, "df -i" says I've used 1.1 million inodes and I have 61 million inodes free.
The 5 million file limit on Google Drive seems to be excessively low.
Note to Google, consider re-imagining your PhD's and MBA's as food service personnel.
EDIT: s/files/inodes
You have 400,000 files with 2 hard links? Or 100,000 files with 5 hard links each?
How? Why?
They're fully aware of how bad it is. They do not care. The Ad gravy train is still here, and they'll milk it until they can't anymore and then retire to their multiple homes (or go off and do it again to some other company).
I don't know why people expect leadership to do anything about a shitty company. They have literally no incentive to change. They'll always be hired somewhere else. Business as usual.
https://digital.sandiego.edu/cgi/viewcontent.cgi?article=316...
Essentially, Intel employees are 'chattle', and while communicating with them doesn't transfer ownership or control of them away from Intel, it does interfere with Intel's ongoing use of them.
I didn't see any reference there about treating people in a customer relationship as the "chattel" referred to in this law.
I started a company in 2019 -> didn't choose G Suite, because I don't trust Google. Same for GCP.
For ordinary users, this would pretty much equate to an unlimited account. Much like ATT's old unlimited bandwidth accounts. It's not until power users start hitting these ceilings to realize unlimited doesn't mean what they think it means. I don't know if Googs every used that kind of phrasing or not, but you can see where some dev never thought that limit would be achievable so there's no reason to really mention it.
It’s not a recognition problem, there’s no “aha” moment that will come from the right person just explaining it to them.
They simply don’t care, and have no incentive to ever change.
Imagine if a hard drive had a limit on the number of files, not just the size. Would that be reasonable.
Or imagine if someone designed a storage protocol and submitted it to IETF with such a limitation saying “it doesn’t affect the vast majority of users so we set this arbitrary limit to make our lives easier.” It would not make it through review.
But even if you had a 20 TB hard drive, and you wanted a lot of files smaller than 5120 bytes, you can just create multiple partitions. Maybe a little inconvenient, but you can still use your drive to the fullest. Not so much with Google’s 5 million limit (for a 2 TB Google Drive, the minimum average file size is around 430 KB [2])
[0] https://www.reddit.com/r/google/comments/123fjx8/google_has_...
[1] https://www.wolframalpha.com/input?i=%282%2F2%5E32%29+TiB+in...
[2] https://www.wolframalpha.com/input?i=%282%2F5000000%29+TiB+i...
NPM developer?
<ducks>
Using the cloud leaves you exposed to the whims of the cloud provider. They select and switch technologies based on their needs instead of yours.
“ a safeguard to prevent misuse of our system in a way that might impact the stability and safety of the system."
Google: We have identified modern web development as a threat to our systems, and have taken measures to ensure npm users cannot store their npm_modules directories on GoogleDrive. Please consider rewriting your nodejs projects in Go.
That's a bit unfair on Node and NPM. The modules directory rarely grows to more than 4 million files.
The article says the limit is 5 million files, so... 2 NPM projects? That's not really better...
It also doesn't help that there's no way to exclude a folder with wildcards so you can't blacklist all node_modules folders.
I use both git and Dropbox, because I have multiple devices to sync: laptops, a desktop, and linux servers.
If you use a desktop and a laptop back and forth, git is quite inconvenient. You don't need to commit and push from the desktop to switch to the laptop with a folder level realtime sync solution.
Also, git only protects files that are staged, but Dropbox can restore any files to any point of file event (not periodic snapshot, but it keeps all file events). So combining both you are safe from any kinds of mistakes.
I use Dropbox because Google Drive sync wasn't stable enough for this kind of workflow but I am not sure if it has been improved lately.
Because git combined with Dropbox and the likes can be slow, lead to broken repositories, mad sync conflicts and so on? At least that is what I've witnessed with colleagues. This was years ago though, and I assume you dont have these issues or maybe a different workflow, so this is more like a word of warning for others: test this properly first before just diving into it.
“Hey, why can’t I get Dropbox to work on this laptop? I need it so can do emergency bug fixes from my personal laptop at home!” “Yeah, nah. Remember that security policy you signed as part of your employment contract? The one that says exfiltrating company or client data or code to non corporate systems is a fireable offence?”
Some of my projects aren't set up this way, and it can get annoying to have made a few small changes and be forced to commit them in order to pull them from upstairs.
I have modest storage needs in my role, but imagine a developer, Big Data user, or video editor used it. As long as they could tolerate the latencies, they might stash quite a bit in there.
https://support.tresorit.com/hc/en-us/articles/217103697-Exc...
With some C++ libraries or node_modules that can run up fast.
$ find .vim/plugged/coc.nvim/node_modules/ | wc
12715 12715 952711 ~/Development master ± find . | wc
1029821 1237285 118990227
~/Development contains 3 projects I worked on this past week. Only 3 because this is a new laptop. I'd hate to think what this looks like on my old laptop. But I'll run it later.In this thread, the prevailing thought seems to be that having a 5M file limit is unreasonable and adding it without disclosing it is egregious.
Just a curious thing I noticed.
Shows the power of framing -- focusing on different components of the same situation and facts can often lead to entirely opposite opinions or conclusions.
"5M item limit for Google Drive: File unable to generate or upload due to 503" (mostly passive, it's a user problem) vs "Google Drive does a surprise rollout of file limits, locking out some users" (Evil Google secretly screwing customers over)
I’m definitely more likely to reply when I disagree than when I agree.
I do try to make a habit of giving positive replies also (and not just building on what was said before, as I’m doing here, nor just upvote silently), as constant contrarianism is… kinda dull, especially from the outside.
If your cloud storage account can’t gracefully handle that and keep that handling totally transparent to you you should move on.
I’m sure there must be some provider out there that can handle that uninteresting workload …
Things I store that have lots of files:
- The frames for my Timelapse videos = 400,000 files
- The files in my Eagle app photo database = 400,000 files
- Other image files, my programming repositories, documents, music, stable diffusion Deforum frames = 400,000 files
80% of these files I've accumulated in the last 12 months and can see myself easily hitting this 5,000,000 file limit well before I run out of TB's
So now I know I will never be able to use all the space I'm paying for, I'm going to stop uploading my files and instead search for a proper backup service, something I should of researched in the first place.
Anyone here have any recommendations for a backup service?
This is europe, maybe from america it gets a bit slow though.
I do recommend it for other storage though: snapshots, SMB means you can mount it directly on Windows (and iOS!), cheap, and I personally like Hetzner.
Their Storage Share service (running on Nextcloud) is also good if you want managed syncing, a-la Dropbox. Same server as a Storage Box but with managed Nextcloud on top.
Two or more NASes, rotated out on a regular basis to satisfy the 3-2-1 Backup Rule.
Having said that, I feel 5 million files is too low for a lot of people.
We have a HN discount and we’ll get you up and running this weekend.
You can even direct transfer from google drive to your new account here - no reason to use your own bandwidth.
When backup excluded some files, they blamed antivirus software and recommended to go without.
They actively deleted their only backup because the client couldn't read the original files (which was due to disk error).
They admitted that there isn't any guarantee or even effort to make the backup consistent - after asking me to explain the concept.
The only reason I still have my data is because of the very expensive cleanroom disk rescue that they of course refused to pay for - because why try to do what you can to compensate for failing at your only job?
However, when referring to Backblaze, I think most people here refer to their nice (and cheap) S3-like cloud storage solution, which works perfectly with the likes of restic, rclone and friends. That's probably what you should use if you care about control.
Would not choose Backblaze if I was choosing today.
It's quite a pain in the ass to import, color grade, deflicker etc. So one would usually wait till there are a few projects are taken, and process them all at once. If this is your hobby, you can easily hit 5000000 photos in a couple of years. Especially if you're doing something like an ultra long time lapse of say, the construction of a building using two cameras.
If the question is "why don't you delete the photos after creating the time lapse video?" It's called photo hoarding haha.
Anyway that's irrelevant, because if I paid for a certain storage size to backup my hoarding habits, I expect to be able to use the capacity, and not have some random ass limits.
They almost certainly did contact those specific customers, but are sending a warning out publicly for folks who would be a problem so they go somewhere else/don’t do it to begin with.
It’s the ‘police press release’ method of community moderation, like announcing a speed trap.
Cloud services like G Drive depend on oversubscription anyway. If every customer hit the limit, it would be a problem for them.
The fact that threads like these even exist indicate that Google did not, in fact, tell their users:
- https://issuetracker.google.com/issues/268606830?pli=1
- https://forum.rclone.org/t/new-limit-unlocked-on-google-driv...
Banning the letter ö from names on hacker news would affect a vanishingly small amount of users. But if threads needed 100 times more processing and were much slower to load when a user with a ö posted, the problem itself is quite large.
Without knowing the full circumstances of why they're doing this, what problems it solves you can't really say if it's a good solution or not. We can however absolutely complain about the "no notice, no advice, no assistance" way it was implemented.
Well, yeah, I imagine they’re moving elsewhere.
Seriously though, do people actually trust them not to randomly intentionally break stuff at this point?
Just look up the number of issues developers have with the Play Store.
I can’t comment on that but I do know that modern, encrypted, archive tools such as duplicity and borg and restic “chunk” your source files into thousands (potentially millions) of little files.
We see tens of billions of files on our zpools and have “normal” customers breaking 1B … and the cause is typically duplicity or borg.
What I mean is, they just have a plain old rsync.net account and pay no premium nor incur any penalty for using all of those inodes.
You are correct: the average customer does not use billions of inodes.
In my experience, GDrive is a piece of crap with a lot of weird behaviors and easy ways to lose your data if you sync your computer with it.
The worse here, as said by multiple persons, is not to have a limit. A limit on their service is fair. It is that this limit is undocumented, and that their key selling point is to shout everywhere that if you pay you will have "unlimited" storage. And that it will scale more easily than using your own "not cloud" backups.
https://support.google.com/a/answer/6034782?hl=en Unlimited storage With G Suite Business, each user in your organization can store unlimited Gmail messages, Google Photos, and files in Drive.
And I did not search for example, but I'm quite sure that they also advertised google one like that. Something like no need to keep files in your phone anymore ever, unlimited storage with the cloud.
Real Engineering involves developing forward looking designs and maintaining backwards compatibility. It involves a release schedule. It involves communication channels and releases notes. It’s hard. It’s unsexy.
Google treats their product lineup with the seriousness of a social media platform. They don’t care about your puny business; even if it means the world to you, it means nothing to them.
Almost always, yes.
I don't know the serverside implementation of Google Drive but imagine the files on your Drive correspond to files on something like an ext4 filesystem. In this scenario, each file has a cost (eg in the inode table) and there is wastage depending on what your block size is. Whatever the case, Drive seems to treat files as first-class objects.
Compare this to something like Git. In Git (and other DVCSs like Mercurial), you need to track changes between files so the base unit is not files, it's the repo itself. It maps to your local filesystem as files but Git is really tracking the repo as a whole.
So if you were designing Google Drive, you could seamlessly detect a directory full of small files and track that directory as one "unit" if you really wanted to. That would be the way you make the product dictate the design.
I have to agree with Google in this case, 5 million files for an account is borderline abuse for object storage system.
The problem with google is if they fuckup their service they make it the customers problem. Other places if they fuckup, its more viewed as a one way door. You can sunset old products with (in this case, unlimited files), but you never put in a new restriction.
If you're on the $10 2TB plan and your files average 100KB, 5 million files means you can only use a quarter of the space you're paying for.
And before you call that unrealistic, my system drive averages 200KB per file and my main personal data drive is close to 300KB per file. Both would hit the limit if I wasn't using something fancy to pack files together.
And then there's the $18 5TB plan with the same limit on file count. Even completely ignoring the option to pay for extra terabytes.
I get that this could be frustrating (being surprised specifically), but it seems a pretty reasonable restriction so it seems odd to criticize it like this.
Well, you could create multiple Google Accounts and create all the files in the same Drive with sharing enabled, because the limit isn’t on what is in one user’s Drive, but what one user can create across all Drives.
That can be extremely disruptive especially for small businesses, who would be the most likely to depend on a Drive-based workflow.
Like my dad has 300+ unread emails with who knows how many gigs of attachments.
For about a decade, Dropbox was the only one to offer delta sync, OneDrive added that a few years ago, and they’re the only two IIRC that do delta syncing. The rest basically redownload & reupload.
Microsoft software is much worse than many competitors but it's documented, the behavior doesn't change suddenly, and it's backwards compatible.
Here is a thread discussing it on the rclone forum:
https://forum.rclone.org/t/new-limit-unlocked-on-google-driv...
It would be nice to have official confirmation of the limit rather than relying on speculation.
I'll never understand how such a large organisation can let this kind of stuff happen.
I believe Google Drive for Workspace always have a file count limit, and IIRC it's as low as 500k or something, despite having "unlimited" capacity.
To be totally fair to Google, I know this precisely because there are communities of data hoarders that actively abuse various cloud storages. In Google Drive's case, They have ways to create "free" Google Workspace accounts via registration exploitation from various institutions. People use them to store PB-level data.
(For the interested, there are also ways to apply free MS developer accounts that are supposed to expire in 3 months but can be re-refresh indefinitely. This comes with 5TB "free" cloud storage x 5 (10?) separate sub-accounts.)
And they usually have multiple backups.
AppImage (internally is either a ISO 9660 Rock Ridge or a SquashFS filesystem), .deb (internally ar archive), .rpm (internally a cpio archive) are I think relevant examples too.
Yay.
I work at a company with many more than 5 million files overall where this has not been an issue.