文章摘要
作者使用二手Framework笔记本电脑和JBOD磁盘阵列搭建了自托管S3存储系统,运行ZFS和Garage S3软件,成功存储了10TB数据且系统稳定运行数月无需维护。
文章总结
标题:在Framework笔记本+外接硬盘上自建10TB S3存储系统——James O'Claire
五个月前,我决定开始自建S3存储系统。当时我正在开发AppGoblin的SDK追踪系统,需要大容量且低成本的存储空间。
我很幸运地淘到一台二手Framework笔记本。这台电脑缺少屏幕,型号较旧,正好适合作为家庭服务器。我还购置了一个JBOD磁盘阵列。整套系统采用ZFS文件系统+Garage S3方案。
令人欣慰的是,这套系统已经稳定运行数月
期间我外出旅行、投入工作、事务繁忙,S3存储一直正常使用。整整四个月都没需要维护。最近登录时发现已使用10TB空间,系统正等待重启升级。重启过程一切顺利。
Garage S3的升级也顺利完成
从v1版本升级到v2版本毫无障碍,这个周末的维护工作非常圆满。
需要说明的注意事项
我的ZFS使用方案可能不太常规——通过USB连接笔记本和JBOD阵列。初期将SQLite元数据也存储在JBOD/ZFS上时,曾因Garage频繁读写导致ZFS出现问题。后来将元数据移至笔记本本地存储后,所有问题都得到了解决。
总之,这是个收获满满的周末
评论总结
总结评论内容:
- 对自建存储方案的认可
- "Just wanted to share a quiet successful self hosting" (ddxv)
- "I love Garage. It just works...it's just set and forget" (evanreichard)
- 对数据安全的担忧
- "For many use cases downtime is acceptable, but data loss is generally not" (canpan)
- "With the metadata only on the internal drive, isn't this a SPOF?" (rmoriz)
- 技术方案比较
- "curious about what Garage has to offer vs the more mature alternatives like Minio" (n4bz0r)
- "I'd rather go with an old Dell T30 and 2x10TB Seagate Exos in ZFS RAID1 mode" (sandreas)
- 硬件配置问题
- "What enclosure houses the JBOD?" (ocharles)
- "Could you talk a little more about your zfs setup?" (qudat)
- 对方案价值的质疑
- "You didn't build S3. You built a cheapo NAS" (awill)
- "10TB, you could just mirror 2 drives with that" (rob_c)
- 对Garage存储系统的兴趣
- "Amazing, I will try Garage" (igtztorrero)
- "Getting into S3 myself and really curious about what Garage has to offer" (n4bz0r)
