大网数据广告活动
服务器运维问答

ZFS As Root Filesystem On New Linux Machine?

· 52CE 我爱测

I am new to Linux and will be building a storage server using either Ubuntu or Debian (haven't decided which, yet). I will be installing ZFS as the storage file system. What I need help with is choosing the Linux boot filesystem …

问题原文

原帖链接 · Bill Vallance · CC BY-SA 3.0

I am new to Linux and will be building a storage server using either Ubuntu or Debian (haven't decided which, yet). I will be installing ZFS as the storage file system. What I need help with is choosing the Linux boot filesystem, which from my reading is the same thing as the root filesystem (please correct me if I'm wrong about this).

What I'd like to know from the community is whether or not using ZFS as both my storage filesystem and my boot/root filesystem is a good idea? I've read posts saying that ext4 is mature and battle-tested and that this is the filesystem that should be used to boot Linux. I also see a ton of posts asking about building new Linux machines using ZFS as the Linux boot filesystem. What are the risks for using ZFS instead of ext4 as the boot/root filesystem, if any?

Thanks In Advance For Your Help -

已采纳解答

原帖链接 · shodanshok · CC BY-SA 3.0

I would not use ZFS as boot/root filesystem. For basic system setup, I would go with very well tested and fully integrated filesystems.

ZoL is awesome, but booting from it, or using it as root filesystem, can have some unexpected behavior with no real benefit. On the other hand, it is an excellent filesystem for your data/storage partition.

EDIT: from your comments it appears you don't know ZFS command line. Please stop here immediately: using a tool without understanding how it works is a recipe for disaster. Please only use filesystem whose tools you know, or documents yourself on ZFS before putting it in any use.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-08-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。