LazyMount-Mac:彻底解决 Mac 存储焦虑的终极方案 / The Ultimate Solution for Mac Storage
🛑 The “Disk Full” Nightmare / “磁盘已满”的噩梦
“Your Startup Disk is Almost Full.”
“您的启动磁盘空间几乎已满。”
If you own a MacBook with 256GB or 512GB of storage, you’ve likely seen this terrifying notification. Apple’s storage pricing is notorious—charging $200 for a meaningless 256GB upgrade.
如果你拥有一台 256GB 或 512GB 的 MacBook,你肯定见过这个令人心惊肉跳的通知。苹果的存储定价臭名昭著——仅仅升级 256GB 就要收你 1500 元。
We have NAS at home, and cloud storage (Google Drive, Dropbox) online. But accessing them on macOS is painful:
我们家里有 NAS,网上有云存储(Google Drive, Dropbox)。但在 macOS 上访问它们非常痛苦:
- ❌ Unstable:
Cmd+KSMB mounts disconnect whenever your Mac sleeps. - ❌ Slow: Finder freezes when browsing large network folders.
- ❌ Expensive: Commercial tools like CloudMounter or Mountain Duck cost $40+.
- ❌ 不稳定:
Cmd+K挂载的 SMB 只要 Mac 一休眠就会断开。 - ❌ 卡顿:Finder 浏览大型网络文件夹时经常假死。
- ❌ 昂贵:像 CloudMounter 或 Mountain Duck 这样的商业软件售价高达几百元。
It’s time for a change. / 是时候改变了。
🚀 Introducing LazyMount-Mac / LazyMount-Mac 介绍
LazyMount-Mac is a script I wrote to solve this exact problem. It turns your remote storage into first-class local citizens.
LazyMount-Mac 是我为了解决这个问题而编写的脚本。它能将你的远程存储变成一等公民般的本地磁盘。
✨ Core Features / 核心功能
-
🤖 Zero-Touch (零接触)
It starts silently at login. You don’t need to click anything. It just works.
登录时自动启动,后台静默运行。你不需要点击任何东西。它就在那里。 -
🛡️ Immortal Connection (不死连接)
Wi-Fi dropped? VPN reconnecting? Closing lid?
LazyMount waits. As soon as the network is back, your drives are back. No more “Server connection interrupted” popups.
Wi-Fi 断了?VPN 重连?合上盖子?
LazyMount 会等待。 一旦网络恢复,你的磁盘就会立刻回来。再也没有“服务器连接中断”的弹窗。 -
⚡️ Dual Engine (双引擎)
- SMB: For high-speed local NAS (Synology, QNAP, TrueNAS).
- Rclone: For everything else (Google Drive, OneDrive, S3, WebDAV).
- SMB: 专为高速本地 NAS 设计(群晖, QNAP, TrueNAS)。
- Rclone: 搞定其他一切(Google Drive, OneDrive, S3, WebDAV)。
-
🌍 Tailscale Ready (Tailscale 就绪)
Access your home RAID array from a coffee shop in Tokyo. It detects Tailscale network changes automatically.
从东京的咖啡馆访问你家里的 RAID 阵列。它能自动检测 Tailscale 的网络变化。
🎮 What Can You Do With It? / 你能用它做什么?
1. Steam Gaming Library on NAS / NAS 上的 Steam 游戏库
Don’t waste SSD space on games you play once a month.
不要把宝贵的 SSD 空间浪费在即便一个月才玩一次的游戏上。
- Setup: Create a “Sparse Bundle” on your NAS.
- LazyMount: Mounts it as
/Volumes/SteamLibrary. - Result: Steam thinks it’s a local disk. Install Baldur’s Gate 3 (150GB) there and play flawlessly over Gigabit Ethernet.
- 设置: 在 NAS 上创建一个“稀疏磁盘束 (Sparse Bundle)”。
- LazyMount: 将其挂载为
/Volumes/SteamLibrary。 - 结果: Steam 认为它是本地磁盘。把 150GB 的《博德之门 3》装进去,通过千兆网线流畅游玩。
2. Infinite AI Models (Ollama) / 无限 AI 模型
Running local LLMs is fun, but standard models (70B) are huge (40GB+).
运行本地大模型很有趣,但标准模型 (70B) 非常巨大 (40GB+)。
- Trick: Move your
~/.ollama/modelsfolder to your NAS. - LazyMount: Link it back.
- Benefit: Keep hundreds of models available instantly without using any local space.
- 技巧: 把你的
~/.ollama/models文件夹移到 NAS。 - LazyMount: 把它链接回来。
- 好处: 随时有数百个模型可用,且不占用任何本地空间。
3. Media Paradise / 媒体天堂
4TB of movies? 2TB of Lossless Music?
4TB 的电影?2TB 的无损音乐?
Mount your media server (Plex/Jellyfin) folder locally. Open files with IINA or infuse instantly. No buffering, no waiting.
把你的媒体服务器 (Plex/Jellyfin) 文件夹挂载到本地。用 IINA 或 Infuse 秒开文件。无缓冲,不等待。
📥 How to Get It / 如何获取
I’ve made the installation incredibly simple.
我把安装过程做得极其简单。
Step 1: Clone & Configure / 克隆与配置
git clone https://github.com/yuanweize/LazyMount-Mac.git |
Edit the config at the top of the file:
编辑文件顶部的配置:
SMB_IP="192.168.1.100" |
Step 2: Install Auto-Start / 安装自启动
cp com.example.mountmanager.plist ~/Library/LaunchAgents/ |
That’s it.
这就完事了。
🌟 Support the Project / 支持项目
If this tool saves you from buying a new Mac or an overpriced SSD, please consider starring the project on GitHub! It helps more people find it.
如果这个工具帮你省下了买新 Mac 或昂贵 SSD 的钱,请考虑在 GitHub 上给项目点个 Star!这能帮助更多人发现它。
GitHub Repo: https://github.com/yuanweize/LazyMount-Mac