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.

Create LVM rollback snapshots

Create LVM rollback snapshots

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

Start my 1-month free trial

Create LVM rollback snapshots

- [Narrator] Rollback snapshots are set up just regular snapshots. The difference only exists when the snapshot is deleted. In the case of rollback snapshots, the frozen state is merged back into the live file system. What this effectively does is roll the live file system back to the snapshot estate. To set this up, let's verify that our previous snapshot is gone and that we have room in the volume group. Type in sudo space L-V-S and hit Enter. Type in your password if prompted. The previous snapshot is gone. Now let's check the free space in the volume group. Type in sudo space V-G-S and hit Enter. We have 496 megabytes in the volume group free. Now let's create our new snapshot. Type in clear, and then type in sudo space L-V create space dash dash snapshot space dash dash size space 100 capital M space dash dash name space L-V datarollback space slash dev slash V-G data slash L-V data, which is is our origin volume, and hit enter. This looks just like the snapshot we did in the…

Contents