When deciding whether to use LVM volume groups or ZFS pools in configuring new file servers, what needs to be considered? Is there a "better" choice in the realm of multi-purpose file servers? Unlike this previous question, I don't want to layer the technologies.
Scenario:
- RHEL / CentOS 6 x64 servers
- many available, identical DAS and SAN LUNs
Choice:
I am personally quite familiar with LVM, so am comfortable using it if it is the better option. However, ZFS looks pretty promising, and learning new technology is always good.
Given that we want to be able to share-out a fairly large store (multiple TB) to different departments, and they need to be able to access them over both CIFS and NFS, should we use ZFS or LVM on for the underlying pool manager?
I know that using a product like FreeNAS is possible, but for a variety of reasons, I need to be able to roll-out onto "typical" Linux servers.
I use both, but prefer ZFS. ZFS on Linux has been very good to me, but isn't the "fix all" for every situation.
A typical server will look like this:
(Remember, I usually use hardware RAID and mostly use ZFS as a flexible volume manager)
I then take the zpool and create the additional ZFS filesystems (or mountpoints) and zvols as necessary.
And the filesystems...
So, using ZFS for data partitions is extremely nice because it allows you to address a pool of data, set quotas and manage attributes at mountpoint granularity. LVM still requires dealing with filesystem tools and is a bit more rigid.