@__soragoto__: Newbie: Oh no, oh no, the server disk is full, now even shell autocomplete is completely busted Senior: rm /var/reserve…
Summary
一段关于服务器磁盘满时老派运维技巧的趣味对话:资深工程师用 fallocate 预留 10G 占位文件,以便快速腾出空间排查问题,调侃新人忘了这些老技巧。
View Cached Full Text
Cached at: 10/12/26, 11:28 AM
Newbie: Oh no, oh no, the server disk is full, now even shell autocomplete is completely busted
Senior: rm /var/reserved-space
Newbie: Starting off by deleting data??
Senior: What else? Now come take a look at who’s hogging all the space, check it slowly
Newbie: Wait, why’d you put a 10G junk file on the production server?
Senior: What else? Once you figure out what to delete, you gonna ask the boss if he can wait half an hour for you?
Newbie: ……
Senior: You guys mess around with K8s all day now, totally forgotten the old-school tricks, huh
Senior: fallocate -l 10G /var/reserved-space
Newbie: Huh? What’s this for? Creating it back?
Senior: Yeah… You never seen this command? Fine, use dd if you want
Similar Articles
@bkdgiffug: C drive full and afraid to delete? This cleanup toolkit is the solution for all 'too scared to act' problems. https://pan.quark.cn/s/9766c43173a4
This toolkit is designed for users who are hesitant to delete files on the C drive, providing safe and effective cleanup methods.
@vintcessun: At noon I saw a tool that solves the chaos in download directories, a bit unbelievable—a system tray file organizer written in Rust+Tauri, memory usage only 5MB, and just added Linux support. The core is file monitoring plus a rule engine, automatically classifying by extension or regex, SQLite records operation history for one-click undo. Privacy-wise zero reporting, …
Introduces an open-source desktop file organizing tool Mouzi, built with Rust and Tauri, memory usage only 5MB, supports file monitoring and rule engine for automatic classification, emphasizes zero reporting for privacy.
@VincentLogic: A programmer had a wild idea: DNS resolvers cache domain names for a few days—so can we use them to store files? ↓ He found 3.9 million open DNS resolvers across the internet, chopped files into pieces, and scattered them across the web. No hard drive, no database, no cloud. The files live in the caches of countless servers, and those servers have no idea they're storing anything…
A programmer used the caches of 3.9 million open DNS resolvers to store file fragments, creating an absurd open-source project called dnsfs. The files disappear as the caches expire.
@oasisfeng: Wondered why MacBook free storage kept depleting; ChatGPT app memory leaked 30GB+, swap consumed space—killed it.
User reports severe memory leak in ChatGPT app on MacBook, consuming over 30GB memory and exhausting swap storage; after kill, recovered nearly 40GB.
@cherylnatsu: I thought I had plenty of computers, but surprisingly, I can't find an idle one to install Omarchy on.
The user believes they have many computers, yet cannot locate an idle one for installing Omarchy.