Using Next-Gen FS asynchronous filesystem replication

Slides:



Advertisements
Similar presentations
A SMALL TRUTH TO MAKE LIFE 100%
Advertisements

CTE Revitalization - Using Secure File Transfer and Last Minute Questions During this webinar… Please mute any microphones or phones A copy of the RFP.
Routing with Linux 'cause you really love the command line
Suspend to Disk Why it doesn't work, can't work and never worked in the first place (and what to do about it) Matthew Garrett.
Bup: the git-based backup system Avery Pennarun
Linux and File Systems What is a file system?.
Make Money Doing What You Love
What will your answer be?
OSS Network Testing breaking the network, not the bank
What they are and how to protect against them
Converting Percents to fractions
Protecting Interprocess Communications
What is next for the REDCap Mobile App?
BOYS AND GIRLS There are many different kinds of friends. It is nice to have lots of friends Friends are people who talk together and play games. Friends.
BOYS AND GIRLS There are many different kinds of friends. It is nice to have lots of friends Friends are people who talk together and play games. Friends.
Outline Basic concepts in computer security
Protecting Interprocess Communications
COMMON BELIEFS MEN HAVE ABOUT WOMEN
Walk-in SIT AT YOUR OLD TABLE FOR NOW! A – get your group’s plant!
Global Eloqua Training
hyperconverged infrastructure for the masses
Discussion 11 Final Project / Git.
Introduction to Programming in MATLAB
Exponents Scientific Notation
What does “assertiveness” mean?
Practical ZFS best practices and first considerations
God Makes the World Genesis 1
Introduction to Lime Survey
Adam Thompson, Manitoba UNIX User Group, 2016-Feb-09
Handling Complaints.
GRADE ONE HIGH FREQUENCY WORD LIST
I’m going to talk about my vision for the future of system administration, and a question for you to contemplate.
The Really Really Really Really Hard Game of “PassPlay”
What to Do About Gossip and Rumors
One hundred flat counts as 100. One cube counts as 1. One ten long counts as 10. One hundred flat counts as 100. Remember that one cube counts as.
A Dozen reasons to absolutely never use OneNote
Getting Your DB Schema Under Control With SSDT
Container technology. Let’s dive into the world of docker and kubernetes Bjarte Brandt, DevOps Architect TV2.
MUD MIND vs. CLEAR MIND. MUD MIND vs. CLEAR MIND.
Organization Leadership Skill Area
Welcome Back to the Summer Term.
I Can Follow Directions!
A SMALL TRUTH TO MAKE LIFE 100%
Sometimes, Parents Need Time to Think
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
Git Best Practices Jay Patel Git Best Practices.
Computer Lab Directions for Electricity Projects
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
SCIENCE APP REVIEW BY: SARAH SMITH.
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
Your Last Lesson on Theme
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
A SMALL TRUTH TO MAKE LIFE 100%
Protecting Interprocess Communications
cREATIVE pRESENTATION
Help the Environment!.
A SMALL TRUTH TO MAKE LIFE 100%
Optional Module 7—Mindset
Adam Thompson, Manitoba UNIX User Group, 2016-Feb-09
A SMALL TRUTH TO MAKE LIFE 100%
Today we are going to learn a story
A Good Detective
Presentation transcript:

Using Next-Gen FS asynchronous filesystem replication rsync isn't always the answer anymore These slides are © 2013 Jim Salter, with license Creative Commons Attribution-ShareAlike 3.0 unported. http://creativecommons.org/licenses/by-sa/3.0/deed.en_US

Today's slides can be found at: First of all: Who? Jim Salter Technomancer, Mercenary Sysadmin, Small Business Owner 6 years of ZFS in production 6 [units of time] of btrfs in test Today's slides can be found at: http://jrs-s.net/presentations/fs_replication/

What, Which, Why What is “asynchronous filesystem replication”? Which filesystems can do this? Why is it any better than rsync?

What does “asynchronous filesystem replication” mean? You take a snapshot, copy it, and apply it on another system Block-level duplication Differential replication == awesome Doesn't directly know or care about files, folders, or anything else. This is a feature, not a bug!

Which filesystems can asynchronously replicate?

Why do I really care about this stuff? Preserve ALL the metadata! Preserve snapshots, hardlinks, data deduplication, compression, encryption... Faster... sometimes much, much faster Much, much less load on the system

Demo Time!!!1 Finagle, please look the other way Let's hit a shell and play with this stuff, people.

Just In Case... (sometimes, things don't go as planned) If you rename a file, rsync copies it as new If you rename a folder, rsync copies it and everything beneath it as new If you change a file, rsync can propagate only the changed data... but it has to read and tokenize every single block on both ends in order to do so rsync can't handle snapshots, has trouble with hard links, doesn't know about subvolumes... If everything went right, you just saw rsync take 30 seconds to do what zfs send | zfs receive managed in 0.5.

Just In Case... (part deux – the basics look like this) you@box1:~$ sudo zfs create zpool/filesystem you@box1:~$ [[put all your precious datas in the new filesystem]] you@box1:~$ sudo zfs snapshot zpool/filesystem@1 you@box2:~$ ssh root@box1 zfs send zpool/filesystem@1 | sudo zfs receive zpool/filesystem you@box1:~$ [[put more precious datas in the filesystem]] you@box1:~$ sudo zfs snapshot zpool/filesystem@2 you@box2:~$ sudo zfs rollback zpool/filesystem@1 you@box2:~$ ssh root@box1 zfs send -i zpool/filesystem@1 zpool/filesystem@2 | sudo zfs receive zpool/filesystem

(further testing may be in order) Maturity (n / 2) + 7 Been doing this stuff for years... and years. In testing, in production. Totally had a patch applied recently, which everybody loved! And it was merged in! I'm pretty sure btrfs can do this now! Yay! (further testing may be in order)

The Bottom Line lern 2 replicate snapshots, n00b Questions?