cover of episode 2.5 Admins 230: Pool of Theseus

2.5 Admins 230: Pool of Theseus

2025/1/16
logo of podcast 2.5 Admins

2.5 Admins

AI Deep Dive AI Chapters Transcript
People
A
Alan
J
Jesse
J
Jim
专注于 IT 自动化和网络安全的技术专家
J
Joe
面临上水汽车贷款,寻求多种解决方案以减轻财务负担。
P
Patrick
Topics
@Jim : OpenZFS 2.3 版本发布,其中最值得关注的是 RAIDZ 扩展功能,这项功能的研发历时近 10 年。RAIDZ2 可以通过添加第七个磁盘来扩展存储空间。此外,快速重复数据删除功能的改进也值得关注,它降低了重复数据删除的性能损耗,并引入了重复数据删除配额和重复数据删除修剪功能,以更好地控制内存和存储空间的使用。我撰写了一篇文章,对快速重复数据删除和传统重复数据删除的性能进行了对比测试,结果表明快速重复数据删除的性能惩罚大约是传统重复数据删除的一半。 在实际应用中,快速重复数据删除在许多情况下都非常有用,尤其是在可以接受一定性能损耗的情况下。与传统重复数据删除不同,快速重复数据删除的性能损耗不会随着重复数据删除表的大小而急剧增加,这使得它在大规模部署中更加实用。 OpenZFS 2.3 的另一个重要改进是增加了对常用命令的 JSON 输出支持,这将使脚本编写更加容易。此外,该版本还支持最长 1023 个字符的文件名,这主要是为了更好地支持非英语字符集。 @Alan : 我认为增加文件名长度限制可能是一个错误,我不喜欢用户使用过长的文件名。虽然增加长度限制是为了支持非英语字符集,但我觉得应该保留 255 字符的限制,因为使用 255 个汉字或日文字符已经可以表达很多内容了。 OpenZFS 2.3 的 DirectIO 功能允许用户标记文件不进行缓存,这在某些情况下可以提高 NVMe 的性能,尤其是在高吞吐量的情况下,单核性能很容易成为瓶颈。多线程可以进一步提高 NVMe 的性能。 @Joe : 关于 OpenZFS 2.3 的可用性,Ubuntu 用户可以立即使用,而其他发行版用户则需要等待软件包更新。虽然 OpenZFS 2.3 支持从 4.18 到 6.12 的 Linux 内核版本,但实际使用中可能需要等待软件包更新,例如 Ubuntu 25.10 版本。OpenZFS 2.3 的主要部分是内核模块升级,因此在 25.10 版本发布后,可能很快就会被反向移植到 24.04 版本。

Deep Dive

Chapters
OpenZFS 2.3 is released with many new features, including RAIDZ expansion, fast dedupe, optional JSON output, support for longer file names, and DirectIO. The improvements are significant for home users and larger deployments alike, offering enhanced performance and flexibility.
  • RAIDZ expansion allows adding drives to a RAIDZ pool
  • Fast dedupe significantly improves deduplication performance
  • Optional JSON output simplifies scripting
  • Support for longer filenames accommodates non-English character sets
  • DirectIO enhances performance by controlling caching

Shownotes Transcript

A new version of ZFS is out and we go over the great new features. Plus recovering data after accidentally writing part of an ISO onto a USB drive, how to deal with abuse of your domain, and replacing all the drives in a ZFS pool while keeping the birth date.

Plugs

Support us on patreon and get an ad-free RSS feed with early episodes sometimes

Managing and Tracking Storage Performance

News

Zfs-2.3.0

Introducing OpenZFS Fast Dedup

Free Consulting

We were asked about recovering data after accidentally writing part of an ISO onto a USB drive, how to deal with abuse of your domain, and replacing all the drives in a ZFS pool while keeping the birth date.

ServerMania

Get 15% Off dedicated servers – recurring for Life at servermania.com/25a with code 25ADMINS

See our contact page for ways to get in touch.