From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

About LVM snapshots

About LVM snapshots

From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Start my 1-month free trial

About LVM snapshots

- [Instructor] One advantage to using LVM is its ability to snapshot volumes. When we want to do a backup of a live file system, we can run into problems because a file system is changing as we're backing it up, resulting in an inconsistent backup. One solution is to take the file system offline while we're backing up, including shutting down any services that are writing to it. This is not a valid solution for many production environments. LVM snapshots solve this problem. With LVM snapshots, we can freeze a view of the origin volume, the origin volume being the original system volume. I'll use an analogy of a camera. We can save an image of a place by taking a photo or snapshot of it with a camera. The place keeps on changing even though the photo exists. Anytime we want to reminisce about the place, we can refer to the photo, where it's frozen in time. If we destroy the photo, we can no longer see it. LVM snapshots are like this. When we create a snapshot, we have full read write…

Contents