IT Assist - ZFS on linux

2,023 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,023
On SlideShare
0
From Embeds
0
Number of Embeds
191
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

IT Assist - ZFS on linux

  1. 1. ZFS on LinuxMircea MITU – Co-Founder IT Assist / CTOwww.itassist.ro www.itassist.ro
  2. 2. ZFS (quotes)● “ZFS is the most advanced file system ever invented” - zfs-fuse.net● “ZFS is a new kind of file system that provides simple administration, transactional semantics, end-to-end data integrity, and immense scalability” - opensolaris.org● “ZFS is a combined file system and logical volume manager designed by Sun Microsystems. “ - wikipedia.org www.itassist.ro
  3. 3. ZFS (translation)● Storage manager ● Modern ● Smart ● Reliable ● Efficient ● Scalable www.itassist.ro
  4. 4. 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 www.itassist.ro
  5. 5. ZFS attributes● Reliable ● Checksums ● Intent log ● Detects & protects against silent disk corruption (bit rot) ● Avoids RAID5 write hole Story: http://blogs.sun.com/elowe/entry/zfs_saves_the_day_ta www.itassist.ro
  6. 6. ZFS attributes● Efficient ● Copy-on-write ● Deduplication ● Dynamic stripping ● Cache● Scalable ● 128bit File System ● “640K ought to be enough for anybody” www.itassist.ro
  7. 7. 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 www.itassist.ro
  8. 8. NAME USED AVAIL REFER MOUNTPOINTzfspool/zabbix 157G 2.53T 46.3G /zzfspool/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 - www.itassist.ro
  9. 9. How to get ZFS running on Linux● On your distro● ZFS-FUSE.net ● Userland (FUSE) implementation ● Not very fast but stable & easy to run● ZFSonLINUX.org: native, sources● KQStor.com (native) ● bins for RHEL6/Fedora 14 & Ubuntu 10.04/10.10 www.itassist.ro
  10. 10. How to get ZFS running on Linux● Dedicated distros● Debian GNU/kFreeBSD● Nexenta (Ubuntu + OpenSolaris kernel)● OpenSolaris www.itassist.ro
  11. 11. Benchmarks (Phoronix)● Benchmarks Of The Official KQ ZFS Linux Module: http://xurl.ro/1nq0 (Jan 2011)● Debian GNU/kFreeBSD Benchmarks With Its New Kernel: http://xurl.ro/75n0 (Oct 2010)● Running The Native ZFS Linux Kernel Module, Plus Benchmarks: http://xurl.ro/73020 (Nov 2010)● Benchmarks Of ZFS-FUSE On Linux Against EXT4, Btrfs: http://xurl.ro/67p0 (Aug 2010) www.itassist.ro
  12. 12. 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 www.itassist.ro
  13. 13. IT Assist - IT as a Service● Complete IT Outsourcing● Dedicated services (i.e. Disaster Recovery) www.itassist.ro
  14. 14. ContactThank you for your attentionMore information: Mircea MITU <mircea.mitu@itassist.ro> Co-Founder / Chief Technical Officer IT Assist - Your IT Department www.itassist.ro twitter.com/mirceamitu twitter.com/itassist www.itassist.ro

×