Rollback snapshots allow us to roll our system back to the state it was in before the file system was modified. This works really well for system updates. If the update does not go well, we can roll back to the pre-update state. In order to do rollback snapshots of the root file system, however, a reboot is in order because the volume needs to be deactivated and reactivated. In order to be deactivated, we need to unmount it and we can't unmount the root file system while we're using it.
- [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 previous video.…Verify with LVS.…
Author
Updated
5/1/2019Released
4/9/2018Note: This course also helps you study to pass the Red Hat Certified Engineer (RHCE) exam—the benchmark certification for Red Hat Enterprise Linux.
- Create partitions
- Backing up the partition table
- Resize partitions
- Managing LVM volumes
- Creating LVM rollback and roll-forward snapshots
- Extending and shrinking LVM volume groups
- Replacing physical volumes in LVM volume groups
- Creating Linux file systems
- Managing swap
- Creating RAID arrays using LVM
- Backing up and restoring files and file systems
Skill Level Advanced
Duration
Views
Related Courses
-
Setting up a Red Hat Enterprise Linux Server
with Sandra Toner2h 46m Intermediate -
Linux: Desktops and Remote Access
with Grant McWilliams1h 44m Intermediate
-
Introduction
-
What you should know1m 21s
-
OS installation9m 50s
-
Lab setup5m 41s
-
Install Guest Additions4m 22s
-
1. Manage and Partition Disks
-
Backup the partition table3m 32s
-
2. Manage Logical Volumes
-
Replace a physical volume3m 58s
-
3. Use Logical Volume Snapshots
-
About LVM snapshots3m 13s
-
-
4. Manage Linux File Systems
-
Create EXT file systems3m 25s
-
Migrate EXT3 to EXT42m 26s
-
Repair EXT file systems4m 55s
-
EXT optimizations5m 50s
-
Using System Storage Manager4m 34s
-
-
5. Manage Swap
-
Create temporary swap files2m 25s
-
Change system swapiness2m 22s
-
6. Create RAID arrays
-
MDRAID or DMRAID?1m 43s
-
Create an LVM RAID 13m 43s
-
Create an LVM RAID 54m 10s
-
-
7. Back Up and Restore
-
Archive files4m 41s
-
Compress files3m 54s
-
Conclusion
-
Next steps40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Create LVM rollback snapshots