SlideShare a Scribd company logo
1 of 42
Download to read offline
2
Isn't one type of car enough?
C. Nocke
MgE
3
Isn't one type of car enough?
C. Nocke
MgE
4
Isn't one type of car enough?
C. Nocke
MgE
• Old – Basic Functionality
• Small – Space efficient
• Slow – low risk
• Charged with emotions
5
Isn't one type of car enough?
C. Nocke
MgE
• New – Fancy Functions
• Large – less space
efficient
• Fast – high risk
• Charged with emotions
• Old – Basic Functionality
• Small – Space efficient
• Slow – low risk
• Charged with emotions
6
Isn't one type of filesystem enough?
C. Nocke
MgE
• Functionality
• Efficiency
• Performance
• Reliability
• Charged with Emotions
Why btrfs is the Bread and
Butter of Filesystems
… and why you may need other Filesystems as well ...
LinuxCon 2013 NA
2013-09-12 21:15 UTC
Matthias G. Eckermann
Senior Product Manager
mge@suse.com
8
Agenda
• Local Linux Filesystems
• Copy on Write
• Filesystem recommendations
• CoW – and what to do with it
‒ Using “snapper”
to manage Operating System activities
‒ Snapshotting on the Desktop
‒ Server Side Snapshots
‒ Other features – Future
Linux (Local) Filesystems
10
Major Linux (local) Filesystems
Feature ext 2/3 reiserfs xfs ext4 btrfs
Data/Metadata Journaling •/• •/• CoW
Journal internal/external •/• •/• •/• •/• CoW
Offline extend/shrink •/• •/• •/• •/•
Online extend/shrink •/•
Inode-Allocation-Map table u.B*-tree B+-tree table B-tree
Sparse Files • • • • •
Tail Packing ○ • ○ ○ •
Defrag ○ ○ • • •
ExtAttr / ACLs •/• •/• •/• •/• •/•
Quotas • • • • Subvol.
max. Filesystemsize 16 TiB 16 TiB 8 EiB 1 EiB 16 EiB
max. Filesize 2 TiB 1 EiB 8 EiB 1 EiB 16 EiB
•/• ○/•
○/○
•/○ •/○ •/○ •/○
11
Major Linux (local) Filesystems
Feature ext 2/3 reiserfs xfs ext4 btrfs
Data/Metadata Journaling •/• •/• CoW
Journal internal/external •/• •/• •/• •/• CoW
Offline extend/shrink •/• •/• •/• •/•
Online extend/shrink •/•
Inode-Allocation-Map table u.B*-tree B+-tree table B-tree
Sparse Files • • • • •
Tail Packing ○ • ○ ○ •
Defrag ○ ○ • • •
ExtAttr / ACLs •/• •/• •/• •/• •/•
Quotas • • • • Subvol.
max. Filesystemsize 16 TiB 16 TiB 8 EiB 1 EiB 16 EiB
max. Filesize 2 TiB 1 EiB 8 EiB 1 EiB 16 EiB
•/• ○/•
○/○
•/○ •/○ •/○ •/○
12
Copy on Write (1)
“Normal” Write
• Existing blocks of a file are
overwritten, when
the content changes
Copy on Write
• If content of a block
changes, the changed block
is put besides the
non-changed block
• Instead the metadata
(block-list) changes
Benefit
• Implementation of
“transactions” in the
filesystem is easy, as old
content is still available
13
Copy on Write (2)
“Normal” Write Copy on Write
Sun
is
shining
FREE
Sun
is
shining
FREE
Sun
was
shining
FREE
Sun
is
shining
was
14
Copy on Write (3)
Disadvantages Advantages
Performance impact on Efficient Storage
specific workloads, such Deduplication
as storing VMs Snapshots
Integrity beyond Journalling
15
Btrfs
Main features and concepts
Features
• Extents
‒ Use only what's needed
‒ Contiguous runs of disk
blocks
• Copy-on-write
‒ Never overwrite data!
‒ Similar to CoW in VM
• Snapshots
‒ Light weight
‒ At filesystem level
Concepts
• B-Tree
‒ Index data structure
‒ Fast search, insert, delete
• Subvolume
‒ Filesystem inside the
filesystem
• Metadata
‒ “normal” metadata
‒ B-Tree structures
• Raw data
‒ Actual content of files
16
Major Linux (local) Filesystems
Feature ext 2/3 reiserfs xfs ext4 btrfs
Data/Metadata Journaling •/• •/• CoW
Journal internal/external •/• •/• •/• •/• CoW
Offline extend/shrink •/• •/• •/• •/•
Online extend/shrink •/•
Inode-Allocation-Map table u.B*-tree B+-tree table B-tree
Sparse Files • • • • •
Tail Packing ○ • ○ ○ •
Defrag ○ ○ • • •
ExtAttr / ACLs •/• •/• •/• •/• •/•
Quotas • • • • Subvol.
max. Filesystemsize 16 TiB 16 TiB 8 EiB 1 EiB 16 EiB
max. Filesize 2 TiB 1 EiB 8 EiB 1 EiB 16 EiB
•/• ○/•
○/○
•/○ •/○ •/○ •/○
17
Filesystem recommendations
Type?
New Filesystem?
Purpose?
Snapshots?Snapshots?
ext4xfs
btrfs
OS Data
No
Yes Yes
Convert
No
ext2/3/4
xfs reiserfs
Yes No
18
Why xfs?
• Maturity
‒ comes from IRIX
‒ ported to Linux > 10 years ago
• Track record for
‒ Performance
‒ Scalability
‒ Stability
• Active Development community
‒ Checksums
‒ Self-identifying metadata
CoW – and what to do with it
20
btrfs Maturity
Mature / “Enterprise ready” Not (yet) mature
Copy on Write Inode Cache
Snapshots Auto Defrag
Subvolumes RAID
Metadata Integrity Compression
Data Integrity Send / Receive
Online metadata scrubbing Hot add / remove
Manual Defragmentation Seeding devices
Manual Deduplication Multiple Devices
Quota Groups “Big” Metadata
Using “snapper”
to manage Operating System activities
22
What is snapper?
• Tool to manage btrfs snapshots
• Functions:
‒ create, modify, delete
‒ status (=compare), diff
‒ undochange
‒ cleanup
• Integration with
‒ Package management stack (SUSE: zypper, yum)
‒ Systems management stack (SUSE: YaST)
• DBUS service
23
http://www.snapper.io/
24
snapper demonstration
for administrative tasks
Snapshotting on the Desktop
/home/$USER
26
Using snapper for User data
Requirements
• /home/$USER is a btrfs subvolume
• “snapperd” with DBUS interface
• snapper configuration per user
Additional options
• Automated snapshotting on login/logout
‒ Requires pam-snapper
• Automated snapshotting on Suspend
27
snapper demonstration for a user
Server Side Snapshots
Btrfs as a Samba backend
Server Side Copy
29
Traditional File Copy
• File data takes disk and
network round-trips
• Duplicate data stored
on disk
Read
Write
Read
Write
30
Server-Side Copy
• Network round-trip
avoided
• Server copies file data
locally
• Duplicate data stored
on disk
Server-Side
Copy
Read
Write
31
Btrfs Enhanced Server-Side Copy
• Data avoids network
and disk round-trips
• No duplication of file
data
Server-Side
Copy
Clone
Range
Server Side Snapshots
Btrfs as a Samba backend
“Recovery Point”
33
Samba4 and btrfs, snapper
Prototype Samba implementation of
“Recovery Point”
File
share
Linux + Samba 4
Windows 7,
Vista or XP
Samba4
service
File “test.txt” is changed
Automatic snapshots by Snapper
File “test.txt” is created
Network
share
Now
Previous versions of “test.txt” in Explorer
Automated
snapshots
Other features – Future
35
Conversion to btrfs
• btrfs-convert
• offline in-place migration from
‒ ext2/3/4
and
‒ reiserfs
• Keeps metadata of the old filesystem for a roll-back
demonstration: convert reiserfs to btrfs
36
Continuously Running Systems
Snapshot / Rollback for full system – Based on
• btrfs
• Snapper
• Bootloader integration
‒ Booting directly from a btrfs snapshot
‒ Jump back to a former status of the OS,
including kernel / initrd
37
Btrfs – Planned features
• Data de-duplication:
– De-duplication during writes
– Manual De-duplication
• Tiered storage
– e.g.: combine SSD and HDD
Summary
39
Filesystem recommendations
Type?
New Filesystem?
Purpose?
Snapshots?Snapshots?
ext4xfs
btrfs
OS Data
No
Yes Yes
Convert
No
ext2/3/4
xfs reiserfs
Yes No
Thank you.
40
Go ahead, try btrfs and snapper
today!
Your questions!?
Corporate Headquarters
Maxfeldstrasse 5
90409 Nuremberg
Germany
+49 911 740 53 0 (Worldwide)
www.suse.com
Join us on:
www.opensuse.org
41
Unpublished Work of SUSE. All Rights Reserved.
This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE.
Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of
their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated,
abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE.
Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.
General Disclaimer
This document is not to be construed as a promise by any participating company to develop, deliver, or market a
product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making
purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document,
and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The
development, release, and timing of features or functionality described for SUSE products remains at the sole
discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at
any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in
this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All
third-party trademarks are the property of their respective owners.

More Related Content

What's hot

I can\'t believe this is butter - A Tour of btrfs
I can\'t believe this is butter - A Tour of btrfsI can\'t believe this is butter - A Tour of btrfs
I can\'t believe this is butter - A Tour of btrfsAvi Miller
 
Embedded Systems: Lecture 7: Lab 1: Preparing the Raspberry Pi
Embedded Systems: Lecture 7: Lab 1: Preparing the Raspberry PiEmbedded Systems: Lecture 7: Lab 1: Preparing the Raspberry Pi
Embedded Systems: Lecture 7: Lab 1: Preparing the Raspberry PiAhmed El-Arabawy
 
How to Install Gluster Storage Platform
How to Install Gluster Storage PlatformHow to Install Gluster Storage Platform
How to Install Gluster Storage PlatformGlusterFS
 
Unix memory management
Unix memory managementUnix memory management
Unix memory managementTech_MX
 
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...bupbechanhgmail
 
IBM System Storage LTO Ultrium 6 Tape Drive Performance White Paper
IBM System Storage LTO Ultrium 6 Tape Drive Performance White PaperIBM System Storage LTO Ultrium 6 Tape Drive Performance White Paper
IBM System Storage LTO Ultrium 6 Tape Drive Performance White PaperIBM India Smarter Computing
 
Embedded Linux Basics
Embedded Linux BasicsEmbedded Linux Basics
Embedded Linux BasicsMarc Leeman
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2iamumr
 
Linux操作系统01 简介
Linux操作系统01 简介Linux操作系统01 简介
Linux操作系统01 简介lclsg123
 
Embedded Systems: Lecture 7: Unwrapping the Raspberry Pi
Embedded Systems: Lecture 7: Unwrapping the Raspberry PiEmbedded Systems: Lecture 7: Unwrapping the Raspberry Pi
Embedded Systems: Lecture 7: Unwrapping the Raspberry PiAhmed El-Arabawy
 
Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers Ahmed El-Arabawy
 
[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game EnginePerforce
 

What's hot (20)

I can\'t believe this is butter - A Tour of btrfs
I can\'t believe this is butter - A Tour of btrfsI can\'t believe this is butter - A Tour of btrfs
I can\'t believe this is butter - A Tour of btrfs
 
Embedded Systems: Lecture 7: Lab 1: Preparing the Raspberry Pi
Embedded Systems: Lecture 7: Lab 1: Preparing the Raspberry PiEmbedded Systems: Lecture 7: Lab 1: Preparing the Raspberry Pi
Embedded Systems: Lecture 7: Lab 1: Preparing the Raspberry Pi
 
How to Install Gluster Storage Platform
How to Install Gluster Storage PlatformHow to Install Gluster Storage Platform
How to Install Gluster Storage Platform
 
Unix memory management
Unix memory managementUnix memory management
Unix memory management
 
Nim
NimNim
Nim
 
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
 
Olf2013
Olf2013Olf2013
Olf2013
 
IBM System Storage LTO Ultrium 6 Tape Drive Performance White Paper
IBM System Storage LTO Ultrium 6 Tape Drive Performance White PaperIBM System Storage LTO Ultrium 6 Tape Drive Performance White Paper
IBM System Storage LTO Ultrium 6 Tape Drive Performance White Paper
 
Grub
GrubGrub
Grub
 
Boot process: BIOS vs UEFI
Boot process: BIOS vs UEFIBoot process: BIOS vs UEFI
Boot process: BIOS vs UEFI
 
Asiabsdcon14
Asiabsdcon14Asiabsdcon14
Asiabsdcon14
 
Embedded Linux Basics
Embedded Linux BasicsEmbedded Linux Basics
Embedded Linux Basics
 
Linux basics 1/2
Linux basics 1/2Linux basics 1/2
Linux basics 1/2
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2
 
Scale9x sun
Scale9x sunScale9x sun
Scale9x sun
 
Linux操作系统01 简介
Linux操作系统01 简介Linux操作系统01 简介
Linux操作系统01 简介
 
Tlf2014
Tlf2014Tlf2014
Tlf2014
 
Embedded Systems: Lecture 7: Unwrapping the Raspberry Pi
Embedded Systems: Lecture 7: Unwrapping the Raspberry PiEmbedded Systems: Lecture 7: Unwrapping the Raspberry Pi
Embedded Systems: Lecture 7: Unwrapping the Raspberry Pi
 
Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers
 
[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine[Ubisoft] Perforce Integration in a AAA Game Engine
[Ubisoft] Perforce Integration in a AAA Game Engine
 

Similar to LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf

Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)MongoDB
 
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Gábor Nyers
 
LAS16-400: Mini Conference 3 AOSP (Session 1)
LAS16-400: Mini Conference 3 AOSP (Session 1)LAS16-400: Mini Conference 3 AOSP (Session 1)
LAS16-400: Mini Conference 3 AOSP (Session 1)Linaro
 
Introduction to DRBD
Introduction to DRBDIntroduction to DRBD
Introduction to DRBDdawnlua
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionSplunk
 
Leveraging Structured Data To Reduce Disk, IO & Network Bandwidth
Leveraging Structured Data To Reduce Disk, IO & Network BandwidthLeveraging Structured Data To Reduce Disk, IO & Network Bandwidth
Leveraging Structured Data To Reduce Disk, IO & Network BandwidthPerforce
 
Case study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File systemCase study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File systemKumar Amit Mehta
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerTeamstudio
 
Deployment Strategy
Deployment StrategyDeployment Strategy
Deployment StrategyMongoDB
 
Still All on One Server: Perforce at Scale
Still All on One Server: Perforce at Scale Still All on One Server: Perforce at Scale
Still All on One Server: Perforce at Scale Perforce
 
Taking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - ArchitectureTaking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - ArchitectureSplunk
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionSplunk
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment StrategiesMongoDB
 
ABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat InternalsABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat InternalsBenjamin Zores
 
10 Tips for AIX Security
10 Tips for AIX Security10 Tips for AIX Security
10 Tips for AIX SecurityHelpSystems
 
Oracle Performance On Linux X86 systems
Oracle  Performance On Linux  X86 systems Oracle  Performance On Linux  X86 systems
Oracle Performance On Linux X86 systems Baruch Osoveskiy
 

Similar to LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf (20)

Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)
 
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
 
LAS16-400: Mini Conference 3 AOSP (Session 1)
LAS16-400: Mini Conference 3 AOSP (Session 1)LAS16-400: Mini Conference 3 AOSP (Session 1)
LAS16-400: Mini Conference 3 AOSP (Session 1)
 
Introduction to DRBD
Introduction to DRBDIntroduction to DRBD
Introduction to DRBD
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Alfresco tuning part1
Alfresco tuning part1Alfresco tuning part1
Alfresco tuning part1
 
Alfresco tuning part1
Alfresco tuning part1Alfresco tuning part1
Alfresco tuning part1
 
Leveraging Structured Data To Reduce Disk, IO & Network Bandwidth
Leveraging Structured Data To Reduce Disk, IO & Network BandwidthLeveraging Structured Data To Reduce Disk, IO & Network Bandwidth
Leveraging Structured Data To Reduce Disk, IO & Network Bandwidth
 
Case study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File systemCase study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File system
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good Server
 
Deployment Strategy
Deployment StrategyDeployment Strategy
Deployment Strategy
 
Still All on One Server: Perforce at Scale
Still All on One Server: Perforce at Scale Still All on One Server: Perforce at Scale
Still All on One Server: Perforce at Scale
 
Os
OsOs
Os
 
Taking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - ArchitectureTaking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - Architecture
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Backups.pptx
Backups.pptxBackups.pptx
Backups.pptx
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment Strategies
 
ABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat InternalsABS 2014 - Android Kit Kat Internals
ABS 2014 - Android Kit Kat Internals
 
10 Tips for AIX Security
10 Tips for AIX Security10 Tips for AIX Security
10 Tips for AIX Security
 
Oracle Performance On Linux X86 systems
Oracle  Performance On Linux  X86 systems Oracle  Performance On Linux  X86 systems
Oracle Performance On Linux X86 systems
 

More from degarden

MICHELIN_-AGILIS-CrossClimate_GB
MICHELIN_-AGILIS-CrossClimate_GBMICHELIN_-AGILIS-CrossClimate_GB
MICHELIN_-AGILIS-CrossClimate_GBdegarden
 
ABC 2021 Guia del vino
ABC 2021 Guia del vinoABC 2021 Guia del vino
ABC 2021 Guia del vinodegarden
 
Audi-A3-Sportback-catalogo-es-1146
Audi-A3-Sportback-catalogo-es-1146Audi-A3-Sportback-catalogo-es-1146
Audi-A3-Sportback-catalogo-es-1146degarden
 
Why btrfs is the Bread and Butter of Filesystems
Why btrfs is the Bread and Butter of FilesystemsWhy btrfs is the Bread and Butter of Filesystems
Why btrfs is the Bread and Butter of Filesystemsdegarden
 
Toshiba X300 salessheet english-web_r2
Toshiba X300 salessheet english-web_r2Toshiba X300 salessheet english-web_r2
Toshiba X300 salessheet english-web_r2degarden
 
Toshiba N300 salessheet english-web_r2
Toshiba N300 salessheet english-web_r2Toshiba N300 salessheet english-web_r2
Toshiba N300 salessheet english-web_r2degarden
 
The 20 maps that will help you understand Spain - The Local
The 20 maps that will help you understand Spain - The LocalThe 20 maps that will help you understand Spain - The Local
The 20 maps that will help you understand Spain - The Localdegarden
 
Toshiba X300 Performance Internal Hard Drive
Toshiba X300 Performance Internal Hard DriveToshiba X300 Performance Internal Hard Drive
Toshiba X300 Performance Internal Hard Drivedegarden
 
Sper Food Safety Thermometer with IR
Sper Food Safety Thermometer with IRSper Food Safety Thermometer with IR
Sper Food Safety Thermometer with IRdegarden
 
Plarad Torque and tension systems
Plarad Torque and tension systemsPlarad Torque and tension systems
Plarad Torque and tension systemsdegarden
 
Plarad Hydraulikaggregate Hydraulic Power Packs
Plarad Hydraulikaggregate Hydraulic Power PacksPlarad Hydraulikaggregate Hydraulic Power Packs
Plarad Hydraulikaggregate Hydraulic Power Packsdegarden
 
Hands-Free Profile 1.7
Hands-Free Profile 1.7Hands-Free Profile 1.7
Hands-Free Profile 1.7degarden
 
Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...
Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...
Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...degarden
 
Reverse Engineering BLE Devices Documentation
Reverse Engineering BLE Devices DocumentationReverse Engineering BLE Devices Documentation
Reverse Engineering BLE Devices Documentationdegarden
 
pWeb: A P2P Web Hosting Framework
pWeb: A P2P Web Hosting FrameworkpWeb: A P2P Web Hosting Framework
pWeb: A P2P Web Hosting Frameworkdegarden
 
¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android
¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android ¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android
¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android degarden
 
Bose NC 700 - User manual English
Bose NC 700 - User manual EnglishBose NC 700 - User manual English
Bose NC 700 - User manual Englishdegarden
 
MICHELIN CrossCLIMATE+
MICHELIN CrossCLIMATE+MICHELIN CrossCLIMATE+
MICHELIN CrossCLIMATE+degarden
 
Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017
Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017
Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017degarden
 

More from degarden (20)

MICHELIN_-AGILIS-CrossClimate_GB
MICHELIN_-AGILIS-CrossClimate_GBMICHELIN_-AGILIS-CrossClimate_GB
MICHELIN_-AGILIS-CrossClimate_GB
 
ABC 2021 Guia del vino
ABC 2021 Guia del vinoABC 2021 Guia del vino
ABC 2021 Guia del vino
 
Audi-A3-Sportback-catalogo-es-1146
Audi-A3-Sportback-catalogo-es-1146Audi-A3-Sportback-catalogo-es-1146
Audi-A3-Sportback-catalogo-es-1146
 
Why btrfs is the Bread and Butter of Filesystems
Why btrfs is the Bread and Butter of FilesystemsWhy btrfs is the Bread and Butter of Filesystems
Why btrfs is the Bread and Butter of Filesystems
 
Toshiba X300 salessheet english-web_r2
Toshiba X300 salessheet english-web_r2Toshiba X300 salessheet english-web_r2
Toshiba X300 salessheet english-web_r2
 
Toshiba N300 salessheet english-web_r2
Toshiba N300 salessheet english-web_r2Toshiba N300 salessheet english-web_r2
Toshiba N300 salessheet english-web_r2
 
The 20 maps that will help you understand Spain - The Local
The 20 maps that will help you understand Spain - The LocalThe 20 maps that will help you understand Spain - The Local
The 20 maps that will help you understand Spain - The Local
 
Toshiba X300 Performance Internal Hard Drive
Toshiba X300 Performance Internal Hard DriveToshiba X300 Performance Internal Hard Drive
Toshiba X300 Performance Internal Hard Drive
 
Bronces
BroncesBronces
Bronces
 
Sper Food Safety Thermometer with IR
Sper Food Safety Thermometer with IRSper Food Safety Thermometer with IR
Sper Food Safety Thermometer with IR
 
Plarad Torque and tension systems
Plarad Torque and tension systemsPlarad Torque and tension systems
Plarad Torque and tension systems
 
Plarad Hydraulikaggregate Hydraulic Power Packs
Plarad Hydraulikaggregate Hydraulic Power PacksPlarad Hydraulikaggregate Hydraulic Power Packs
Plarad Hydraulikaggregate Hydraulic Power Packs
 
Hands-Free Profile 1.7
Hands-Free Profile 1.7Hands-Free Profile 1.7
Hands-Free Profile 1.7
 
Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...
Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...
Fingerprinting Bluetooth-Low-Energy Devices Based on the Generic Attribute Pr...
 
Reverse Engineering BLE Devices Documentation
Reverse Engineering BLE Devices DocumentationReverse Engineering BLE Devices Documentation
Reverse Engineering BLE Devices Documentation
 
pWeb: A P2P Web Hosting Framework
pWeb: A P2P Web Hosting FrameworkpWeb: A P2P Web Hosting Framework
pWeb: A P2P Web Hosting Framework
 
¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android
¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android ¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android
¿Qué esconde tu teléfono? Adquisición forense de dispositivos Android
 
Bose NC 700 - User manual English
Bose NC 700 - User manual EnglishBose NC 700 - User manual English
Bose NC 700 - User manual English
 
MICHELIN CrossCLIMATE+
MICHELIN CrossCLIMATE+MICHELIN CrossCLIMATE+
MICHELIN CrossCLIMATE+
 
Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017
Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017
Catálogo-Producto-Familia-A3-PI_MY17_Medidas-Semana-9_2017
 

Recently uploaded

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 

Recently uploaded (20)

Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 

LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf

  • 1.
  • 2. 2 Isn't one type of car enough? C. Nocke MgE
  • 3. 3 Isn't one type of car enough? C. Nocke MgE
  • 4. 4 Isn't one type of car enough? C. Nocke MgE • Old – Basic Functionality • Small – Space efficient • Slow – low risk • Charged with emotions
  • 5. 5 Isn't one type of car enough? C. Nocke MgE • New – Fancy Functions • Large – less space efficient • Fast – high risk • Charged with emotions • Old – Basic Functionality • Small – Space efficient • Slow – low risk • Charged with emotions
  • 6. 6 Isn't one type of filesystem enough? C. Nocke MgE • Functionality • Efficiency • Performance • Reliability • Charged with Emotions
  • 7. Why btrfs is the Bread and Butter of Filesystems … and why you may need other Filesystems as well ... LinuxCon 2013 NA 2013-09-12 21:15 UTC Matthias G. Eckermann Senior Product Manager mge@suse.com
  • 8. 8 Agenda • Local Linux Filesystems • Copy on Write • Filesystem recommendations • CoW – and what to do with it ‒ Using “snapper” to manage Operating System activities ‒ Snapshotting on the Desktop ‒ Server Side Snapshots ‒ Other features – Future
  • 10. 10 Major Linux (local) Filesystems Feature ext 2/3 reiserfs xfs ext4 btrfs Data/Metadata Journaling •/• •/• CoW Journal internal/external •/• •/• •/• •/• CoW Offline extend/shrink •/• •/• •/• •/• Online extend/shrink •/• Inode-Allocation-Map table u.B*-tree B+-tree table B-tree Sparse Files • • • • • Tail Packing ○ • ○ ○ • Defrag ○ ○ • • • ExtAttr / ACLs •/• •/• •/• •/• •/• Quotas • • • • Subvol. max. Filesystemsize 16 TiB 16 TiB 8 EiB 1 EiB 16 EiB max. Filesize 2 TiB 1 EiB 8 EiB 1 EiB 16 EiB •/• ○/• ○/○ •/○ •/○ •/○ •/○
  • 11. 11 Major Linux (local) Filesystems Feature ext 2/3 reiserfs xfs ext4 btrfs Data/Metadata Journaling •/• •/• CoW Journal internal/external •/• •/• •/• •/• CoW Offline extend/shrink •/• •/• •/• •/• Online extend/shrink •/• Inode-Allocation-Map table u.B*-tree B+-tree table B-tree Sparse Files • • • • • Tail Packing ○ • ○ ○ • Defrag ○ ○ • • • ExtAttr / ACLs •/• •/• •/• •/• •/• Quotas • • • • Subvol. max. Filesystemsize 16 TiB 16 TiB 8 EiB 1 EiB 16 EiB max. Filesize 2 TiB 1 EiB 8 EiB 1 EiB 16 EiB •/• ○/• ○/○ •/○ •/○ •/○ •/○
  • 12. 12 Copy on Write (1) “Normal” Write • Existing blocks of a file are overwritten, when the content changes Copy on Write • If content of a block changes, the changed block is put besides the non-changed block • Instead the metadata (block-list) changes Benefit • Implementation of “transactions” in the filesystem is easy, as old content is still available
  • 13. 13 Copy on Write (2) “Normal” Write Copy on Write Sun is shining FREE Sun is shining FREE Sun was shining FREE Sun is shining was
  • 14. 14 Copy on Write (3) Disadvantages Advantages Performance impact on Efficient Storage specific workloads, such Deduplication as storing VMs Snapshots Integrity beyond Journalling
  • 15. 15 Btrfs Main features and concepts Features • Extents ‒ Use only what's needed ‒ Contiguous runs of disk blocks • Copy-on-write ‒ Never overwrite data! ‒ Similar to CoW in VM • Snapshots ‒ Light weight ‒ At filesystem level Concepts • B-Tree ‒ Index data structure ‒ Fast search, insert, delete • Subvolume ‒ Filesystem inside the filesystem • Metadata ‒ “normal” metadata ‒ B-Tree structures • Raw data ‒ Actual content of files
  • 16. 16 Major Linux (local) Filesystems Feature ext 2/3 reiserfs xfs ext4 btrfs Data/Metadata Journaling •/• •/• CoW Journal internal/external •/• •/• •/• •/• CoW Offline extend/shrink •/• •/• •/• •/• Online extend/shrink •/• Inode-Allocation-Map table u.B*-tree B+-tree table B-tree Sparse Files • • • • • Tail Packing ○ • ○ ○ • Defrag ○ ○ • • • ExtAttr / ACLs •/• •/• •/• •/• •/• Quotas • • • • Subvol. max. Filesystemsize 16 TiB 16 TiB 8 EiB 1 EiB 16 EiB max. Filesize 2 TiB 1 EiB 8 EiB 1 EiB 16 EiB •/• ○/• ○/○ •/○ •/○ •/○ •/○
  • 18. 18 Why xfs? • Maturity ‒ comes from IRIX ‒ ported to Linux > 10 years ago • Track record for ‒ Performance ‒ Scalability ‒ Stability • Active Development community ‒ Checksums ‒ Self-identifying metadata
  • 19. CoW – and what to do with it
  • 20. 20 btrfs Maturity Mature / “Enterprise ready” Not (yet) mature Copy on Write Inode Cache Snapshots Auto Defrag Subvolumes RAID Metadata Integrity Compression Data Integrity Send / Receive Online metadata scrubbing Hot add / remove Manual Defragmentation Seeding devices Manual Deduplication Multiple Devices Quota Groups “Big” Metadata
  • 21. Using “snapper” to manage Operating System activities
  • 22. 22 What is snapper? • Tool to manage btrfs snapshots • Functions: ‒ create, modify, delete ‒ status (=compare), diff ‒ undochange ‒ cleanup • Integration with ‒ Package management stack (SUSE: zypper, yum) ‒ Systems management stack (SUSE: YaST) • DBUS service
  • 25. Snapshotting on the Desktop /home/$USER
  • 26. 26 Using snapper for User data Requirements • /home/$USER is a btrfs subvolume • “snapperd” with DBUS interface • snapper configuration per user Additional options • Automated snapshotting on login/logout ‒ Requires pam-snapper • Automated snapshotting on Suspend
  • 28. Server Side Snapshots Btrfs as a Samba backend Server Side Copy
  • 29. 29 Traditional File Copy • File data takes disk and network round-trips • Duplicate data stored on disk Read Write Read Write
  • 30. 30 Server-Side Copy • Network round-trip avoided • Server copies file data locally • Duplicate data stored on disk Server-Side Copy Read Write
  • 31. 31 Btrfs Enhanced Server-Side Copy • Data avoids network and disk round-trips • No duplication of file data Server-Side Copy Clone Range
  • 32. Server Side Snapshots Btrfs as a Samba backend “Recovery Point”
  • 33. 33 Samba4 and btrfs, snapper Prototype Samba implementation of “Recovery Point” File share Linux + Samba 4 Windows 7, Vista or XP Samba4 service File “test.txt” is changed Automatic snapshots by Snapper File “test.txt” is created Network share Now Previous versions of “test.txt” in Explorer Automated snapshots
  • 35. 35 Conversion to btrfs • btrfs-convert • offline in-place migration from ‒ ext2/3/4 and ‒ reiserfs • Keeps metadata of the old filesystem for a roll-back demonstration: convert reiserfs to btrfs
  • 36. 36 Continuously Running Systems Snapshot / Rollback for full system – Based on • btrfs • Snapper • Bootloader integration ‒ Booting directly from a btrfs snapshot ‒ Jump back to a former status of the OS, including kernel / initrd
  • 37. 37 Btrfs – Planned features • Data de-duplication: – De-duplication during writes – Manual De-duplication • Tiered storage – e.g.: combine SSD and HDD
  • 40. Thank you. 40 Go ahead, try btrfs and snapper today! Your questions!?
  • 41. Corporate Headquarters Maxfeldstrasse 5 90409 Nuremberg Germany +49 911 740 53 0 (Worldwide) www.suse.com Join us on: www.opensuse.org 41
  • 42. Unpublished Work of SUSE. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE. Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.