Apr 102013
 

Come prima cosa una piccola lezione su ZFS:

ZFS è una combinazione tra file di sistema e logical volume manager progettato da Sun Microsystems. Le caratteristiche di ZFS comprendono la protezione contro il danneggiamento dei dati, il supporto per elevate capacità di memorizzazione, l’integrazione dei concetti di filesystem e gestione del volume, snapshot e cloni copy-on-write, il controllo dell’integrità continuo e la riparazione automatica, RAID-Z ed ACL native per NFSv4. ZFS è implementato come software open-source, rilasciato sotto licenza Common Development and Distribution License (CDDL). Il nome di ZFS è stato registrato come marchio di Oracle fino al 20 settembre 2011

E ora, dopo più di due anni nella fase sperimentale, il file system ZFS per Linux è pronto per l’uso diffuso.



O almeno queste sono le parole dello sviluppatore Brian Behlendorf, che ha annunciato la versione numero 0.6.1. Brian dice che ZFS per Linux è pronto per l’uso su una vasta base di dispositivi, dai desktop ai supercomputer.

ZFS nativo per Linux è basatp su Solaris Porting layer (SPL), che a sua volta emula le caratteristiche di base di Solaris su kernel Linux. A differenza della implementazione per FUSE (Filesystem in userspace) di ZFS, questo porting nativo fornisce prestazioni molto migliori a causa della realizzazione del file system come modulo nel kernel.

ZFS 0.6.1 per Linux fornisce numerose correzioni di bug, una nuova pagina con le istruzioni e il supporto per il kernel Linux 3.9, che è ancora in fase di sviluppo.

Il codice sorgente può essere scaricato da github e compilato per il proprio sistema o si possono utilizzare i repository della vostra distribuzione (Debian, Fedora, RHEL / CentOS, Ubuntu, Arch, ecc.)

Per semplificare l’installazione e la gestione di ZFS la squadra ZFS ha preparato i repository per Debian, Fedora e RHEL / CentOS.

In realtà per semplificare l’installazione e la gestione di ZFS la squadra ZFS ha preparato repository per Debian, Fedora e RHEL/CentOS.

Possono essere trovati ai seguenti URL.

Debian: aggiungere a /etc/apt/sources.list
deb http://archive.zfsonlinux.org/debian wheezy main
deb-src deb http://archive.zfsonlinux.org/debian wheezy main

Fedora: Vedere http://zfsonlinux.org/fedora per le istruzioni.
rpm http://archive.zfsonlinux.org/fedora/$releasever/$basearch
srpm http://archive.zfsonlinux.org/fedora/$releasever/SRPMS

RHEL/CentOS: Vedere http://zfsonlinux.org/epel per le istruzioni.
rpm http://archive.zfsonlinux.org/epel/$releasever/$basearch
spms http://archive.zfsonlinux.org/epel/$releasever/SRPMS

Popular Posts:

Flattr this!

  8 Responses to “ZFS è pronto per il Desktop Linux”

  1. What’s the benefit of ZFS over ext* filysystem?

    • Quite a bit. It scales quite a bit larger and is faster in operation overall- the reliability and speed are what’s important to desktop users, rather than scalability. Biggest drawback is the CDDL license they’re required to use with it. It’s incompatible with the GPL- so a distribution can’t really USE this- you have to add it in after the fact yourself when you build up a system and it can’t really be a boot volume filesystem as a result. Btrfs is intended to bring pretty much all of the ZFS ability with a differing filesystem under the GPL license. Shame, really- a respin of it could be wired into a NAS linux distribution like a custom Linkstation firmware and make the thing that much better.

    • Particularly with regards to my linux desktop?

    • Theres a few for a start basically all the numbers are better a quick comparison between ext4 and ZFS

      ext4 ZFS
      Max file size 16 TiB 2^64 B (16 EiB)
      Max num files 2^30 2^48
      Max volume 1 EiB 16 Eib

      OK so those numbers are not really relevent to most people on the desktop (or many server applications), ext4 is more than good enpugh on those fronts but if you need these then ZFS is the only way to go.

      There are some other cool features that ZFS supports as well. storage pools are cool it allows you to adstract way from block devices and create virtual disks over multiple partions even on seperate disks, you can also create redundancy. In many ways it works like RAID but it’s all handled by th FS and can have better performance then SW RAID. It is also more stable and more reliable than ext4 as it supports lots of features to ensure data integrity. There are many other cool features that work over and above that in stock ext4.

      A closer rival is BTRFS but this is still considerd unstable. I have shied away from ZFS in the past as I prefer to have the FS in kernal and use GNU/Linux, I would still not use this not until I have seen that it really is stable. Still a very exciting time for FSs.

    • “What’s the benefit of ZFS over ext* filysystem?”

      Like comparing 16bit real mode to 64bit with virtualization. It just seem “cool” at first, then if you go back, it turns into a necessity.

  2. So many, it is hard to list here.

    Copy On Write is a big one. The fact that all files have 2 copies of there SHA256 checksum means any hardware corruption of files will be picked up, whereas ext* would not. The list goes on…

  3. Nice, but can you boot linux from a zfs filesystem? Sun did it with grub on Solaris x86, so we know it’s possible.

  4. >The fact that all files have 2 copies of there SHA256 checksum means any hardware corruption of files will be picked up,
    > whereas ext* would not.

    ext4 is recently just added checksumming of the metadata

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

*