ZFS unter Linux
Upcoming SlideShare
Loading in...5
×
 

ZFS unter Linux

on

  • 2,055 views

 

Statistics

Views

Total Views
2,055
Views on SlideShare
2,055
Embed Views
0

Actions

Likes
0
Downloads
10
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

ZFS unter Linux ZFS unter Linux Presentation Transcript

  • ZFS unter Linux Lenz Grimmer <lenz@grimmer.com> < http://lenzg.net/ 2010-08-22 | FrOSCon 2010 | Sankt Augustin, DE
  • $ whoami 1998 2002 2008 2010
  • ZFS Features (1) ● 128bit POSIX-Dateisystem ● Volume Management ● Copy on write (COW) Transaktionen ● „End-to-end“ Checksummen ● RAID-Level: 0/1/5 (aka RAIDZ/Z2/Z3) ● Hot spares ● Snapshots & Clones
  • ZFS Features (2) ● Quotas & Reservierungen ● Kompression ● Deduplizierung ● Striping ● Dateisysteme wachsen dynamisch ● Nur zwei Tools: zpool(1M), zfs(1M)
  • FUSE ● File System in User Space ● Linux-Kernel-Modul (fuse.ko) ● User Space Bibliothek (libfuse.so) ● Zugriff auf Dateisysteme im „User Space“ (z.B. NTFS) ● Zugriff auf andere Resourcen (z.B. WebDAV, SSH, Google Mail)
  • ZFS-FUSE ● Mai 2006: GSoC Projekt (Ricardo Correia) ● Nov. 2009: ● Neue Website (http://zfs-fuse.net/) ● Neue Maintainer ● Neue Releases/Features ● Umzug von Mercurial nach git
  • zfs-fuse Architektur Quelle: http://en.wikipedia.org/wiki/File:FUSE_structure.svg
  • zfs-fuse Architektur zfs-fuse glibc User Space Kernel VFS XFS blkdev sda sdb
  • XFS auf LVM/RAID5 # Create the RAID mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda /dev/sdb /dev/sdc # Create the physical and logical volumes pvcreate /dev/md0 vgcreate volgroup /dev/md0 lvcreate -L 200M -n lvol volgroup # Create file system and mount it mkfs.xfs /dev/volgroup/lvol mkdir /lvol mount -t xfs /dev/volgroup/lvol /lvol vi /etc/fstab
  • ZFS mit RAIDZ # Create a pool named „mypool“, using three # disk drives in a RAID-Z configuration # and mount it to /mypool by default zpool create mypool raidz /dev/sda /dev/sdb /dev/sdc # (Optional) Create and mount file system # „myfiles“ zfs create mypool/myfiles
  • ZFS Live Demo ● Zpool anlegen ● ZFS anlegen ● Snapshots erstellen ● ZFS send/receive ● Zpool mirror
  • Fragen / Diskussion Vielen Dank! Lenz Grimmer <lenz@grimmer.com> http://lenzg.net/