0% found this document useful (0 votes)
7 views14 pages

ZFS on Linux: Features & Setup Guide

ZFS is an advanced file system and logical volume manager designed for reliability, efficiency, and scalability, featuring attributes like snapshots, clones, and copy-on-write. It is implemented on Linux through various methods including ZFS-FUSE and native modules, and is utilized in disaster recovery services for its high density and fault tolerance. Benchmarks and comparisons with other file systems like EXT4 and Btrfs highlight its performance capabilities.

Uploaded by

Sam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views14 pages

ZFS on Linux: Features & Setup Guide

ZFS is an advanced file system and logical volume manager designed for reliability, efficiency, and scalability, featuring attributes like snapshots, clones, and copy-on-write. It is implemented on Linux through various methods including ZFS-FUSE and native modules, and is utilized in disaster recovery services for its high density and fault tolerance. Benchmarks and comparisons with other file systems like EXT4 and Btrfs highlight its performance capabilities.

Uploaded by

Sam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ZFS on Linux

Mircea MITU – Co-Founder IT Assist / CTO


[Link]

[Link]
ZFS (quotes)
● “ZFS is the most advanced file system ever
invented” - [Link]
● “ZFS is a new kind of file system that provides
simple administration, transactional semantics,
end-to-end data integrity, and immense
scalability” - [Link]
● “ZFS is a combined file system and logical
volume manager designed by Sun
Microsystems. “ - [Link]

[Link]
ZFS (translation)
● Storage manager
● Modern
● Smart
● Reliable
● Efficient
● Scalable

[Link]
ZFS attributes
● Storage manager:
● Storage pools
– Devices, Blocks, Files
– Raid arrays
zpool create pool raidz /dev/dsk1 /tmp/file cache /dev/shm/zfscache
● Volume Manager
– Snapshots, clones, volumes
● File System
zfs create pool/root; zfs snapshot pool/root@today

[Link]
ZFS attributes
● Reliable
● Checksums
● Intent log
● Detects & protects against silent disk corruption (bit
rot)
● Avoids RAID5 write hole
Story: [Link]

[Link]
ZFS attributes
● Efficient
● Copy-on-write
● Deduplication
● Dynamic stripping
● Cache
● Scalable
● 128bit File System
● “640K ought to be enough for anybody”

[Link]
Cool stuff
● Instant snapshots: zfs snapshot pool/filesystem@2011-02-24
● Real Copy-on-Write
● Clone/rollback snapshots
● Cache on dedicated fast device (SSD)
● Filesystem migration (to another pool / host)
● zfs send pool/filesystem@2011-02-24 | ssh newhost zfs
receive pool/newfs
● Dynamic stripping (hot add/remove/replace devices from pools)
● Disc scrubbing

[Link]
NAME USED AVAIL REFER MOUNTPOINT

zfspool/zabbix 157G 2.53T 46.3G /z


zfspool/zabbix@week3 20.7G - 45.5G -
zfspool/zabbix@week2 2.93G - 45.7G -
zfspool/zabbix@week1 2.91G - 45.7G -
zfspool/zabbix@week0 14.9G - 45.9G -
zfspool/zabbix@day7 5.47G - 46.1G -
zfspool/zabbix@day6 3.20G - 46.1G -
zfspool/zabbix@day5 3.65G - 46.1G -
zfspool/zabbix@day4 3.09G - 46.2G -
zfspool/zabbix@day3 3.69G - 46.2G -
zfspool/zabbix@day2 3.21G - 46.2G -
zfspool/zabbix@day1 3.07G - 46.2G -
zfspool/zabbix@day0 0 - 46.3G -

[Link]
How to get ZFS running on Linux
● On your distro
● [Link]
● Userland (FUSE) implementation
● Not very fast but stable & easy to run
● [Link]: native, sources
● [Link] (native)
● bins for RHEL6/Fedora 14 & Ubuntu 10.04/10.10

[Link]
How to get ZFS running on Linux
● Dedicated distros

● Debian GNU/kFreeBSD
● Nexenta (Ubuntu + OpenSolaris kernel)
● OpenSolaris

[Link]
Benchmarks (Phoronix)
● Benchmarks Of The Official KQ ZFS Linux
Module: [Link] (Jan 2011)
● Debian GNU/kFreeBSD Benchmarks With Its
New Kernel: [Link] (Oct 2010)
● Running The Native ZFS Linux Kernel Module,
Plus Benchmarks: [Link] (Nov 2010)
● Benchmarks Of ZFS-FUSE On Linux Against
EXT4, Btrfs: [Link] (Aug 2010)

[Link]
ZFS @ IT Assist
● Used in a Disaster Recovery Service
● Offsite ZFS storage for hundreds of servers
● Major benefits:
● High density (due to Copy-on-Write)
● Reliable (fault tolerant, atomic write, checksums)
● Ability to instantly clone current/previous versions of
critical servers

[Link]
IT Assist - IT as a Service
● Complete IT Outsourcing
● Dedicated services (i.e. Disaster Recovery)

[Link]
Contact

Thank you for your attention

More information:
Mircea MITU <[Link]@[Link]>
Co-Founder / Chief Technical Officer
IT Assist - Your IT Department
[Link]

[Link]/mirceamitu
[Link]/itassist

[Link]

You might also like