ZFS on Linux, It's alive

转载 2007年06月25日 10:44:00
If you like Linux for the long list of supported hardware but Solaris for the advanced new ZFS filesystem, a new development project might have a happy surprise for you.

Sun's ZFS filesystem offers storage administrators a new level of simplicity. Instead of using what on Linux are separate software RAID, logical-volume-management and filesystem layers, ZFS combines the three into a single layer that’s easier to administer.

ZFS also has new data-checking and repairing techniques to keep administrators from going through time-consuming and risky runs of the fsck filesystem checker utility. In mail to the linux-kernel mailing list, Linus Torvalds called ZFS one of the "very few bright spots" in Solaris.

But there's a catch. ZFS, like the rest of OpenSolaris, has been available under Sun's Common Development and Distribution License for about two years, and Linux has been under Version 2 of the the GNU General Public License since its first release in 1991. The licenses are incompatible.

One programmer, Ricardo Correia, has what could be an answer, however. A technology called Filesystem in Userspace (FUSE), introduced in the 2.6.14 kernel released in October 2005, enables Linux to use filesystems that run as ordinary processes. FUSE already hosts an implementation of the NTFS filesystem, NTFS-3g, that runs with decent performance.

In a project originally funded under Google's 2006 Summer of Code program, Correia has converted the ZFS implementation from OpenSolaris into a server or daemon program that runs on Linux.

The project is working, with several users running and even booting from a ZFS volume. Correia has not undertaken any performance tuning yet, and one sysadmin, Chris Samuel, has posted benchmarks that clock only about half the speed of another Linux filesystem, XFS.

NTFS-3g, however, has results comparable to a native Linux filesystem, so "at least NTFS-3g does show that good performance is quite possible for a FUSE filesystem," Samuel says in an e-mail interview.

Correia says in an e-mail interview that he's working on memory problems with ZFS. When many ZFS threads try to allocate memory at once, the system ends up with badly fragmented memory and a ZFS daemon using more than 500MB. There are many alternatives to the standard malloc function for managing memory, however, and Correia is looking for answers. "I'm trying to see if I can get tcmalloc [a fast memory allocator invented by Google engineers] to work better," he says.

One advantage to putting ZFS into a separate daemon is the same as something that microkernel operating system developers have been talking up for years: You can kill and restart the filesystem independently of the operating system. "There are still a few cases that ZFS can't handle, like a write failure on a nonreplicated pool. This will cause a panic on Solaris/FreeBSD/Mac OSX. On the other hand, in zfs-fuse, it's just a matter of restarting the zfs-fuse daemon and remounting the filesystems," Correia says.

Samuel says he's using zfs-fuse already for backing up his home directory, because the ZFS snapshot feature is handy for dealing with multiple backups of the same data. "I'm hoping that once its performance gets to an acceptable fraction of XFS's, then I will migrate my home directory to it and see what happens," he says.

Samuel has already found a ZFS bug, and Correia has submitted a fix back upstream. So, the first real users to benefit from this Linux project will be those running Solaris.

如何在Centos7上安装和使用ZFS

导读 ZFS文件系统的英文名称为ZettabyteFileSystem,也叫动态文件系统(DynamicFileSystem),是第一个128位文件系统。最初是由Sun公司为Solaris10操作系...
  • linuxnews
  • linuxnews
  • 2016年04月30日 14:15
  • 4968

1.django学习:安装django并且部署一个应用

安装django并且部署一个应用django是python一个应用广泛的web开发框架,关于django的使用介绍在中文官方文档中已经有了详细的介绍,有兴趣的同学可以学习django的基础内容,地址如...
  • linux_player_c
  • linux_player_c
  • 2016年12月22日 17:14
  • 2741

快速掌握sinox2014激动人心的ZFS和RAID技术

Sinox2014引入激动人心的zfs系统以及其支持的RAID,让用户快速打造廉价的高可靠性文件服务器。 ZFS文件系统的英文名称为Zettabyte File System...
  • sinox2010p1
  • sinox2010p1
  • 2014年08月20日 13:24
  • 3289

It's Alive Artificial Intelligence from the Logic Piano to Killer Robots epub

  • 2017年10月06日 18:44
  • 1.14MB
  • 下载

It's Alive Artificial Intelligence from the Logic Piano to Killer Robots 无水印pdf

  • 2017年10月06日 18:46
  • 1.67MB
  • 下载

Introducing ZFS on Linux Understand the Basics of Storage with ZFS epub

  • 2017年12月16日 13:07
  • 711KB
  • 下载

Introducing ZFS on Linux Understand the Basics of Storage with ZFS 无水印原版pdf

  • 2017年12月16日 23:36
  • 1.31MB
  • 下载

A*- not a star in the space, it's on you hands

A*游戏中的常用寻路算法,做游戏的孩子人手一个的轮子,be a gooleplayer。我也是这样的一个孩子,还想造很多轮子的孩子。   上周一位新同学问我A*,哈哈,整好去年细看了,给简单描画了一...
  • ericchn007
  • ericchn007
  • 2012年08月05日 21:42
  • 1479

MVC is dead, it's time to MOVE on.

MVC is a phenomenal idea. You have models, which are nice self-contained bits of state, views which ...
  • killer000777
  • killer000777
  • 2012年07月15日 21:16
  • 865

在Linux上使用原生ZFS文件系统

转【http://blog.csdn.net/opendba/archive/2010/11/09/5998500.aspx】到网站:https://github.com/behlendorf/zfs...
  • KKSamoyed
  • KKSamoyed
  • 2011年06月17日 22:05
  • 527
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:ZFS on Linux, It's alive
举报原因:
原因补充:

(最多只允许输入30个字)