This video is part of a course titled Linux LVM Fundamentals using Ubuntu 18.04. Here is a link to the course: https://dev9.us/course/linux-lvm-fund...
Video objectives:
Mount a snapshot to the operating system
Restore a Logical Volume to previous snapshot
Deactivating a Logical Volume
Activating a Logical Volume
Remove old snapshots
Commands used:
lvs
mount /dev/mydata-vg/snap2 /mnt/storage2
df -h
nano test.txt
umount /mnt/storage2
rm -rf /mnt/storage1
umount /mnt/storage1
lvconvert –merge /dev/mydata-vg/snap2
mount /dev/mydata-vg/volume1-lv /mnt/storage1
lvconvert –merge /dev/mydata-vg/snap3
umount /mnt/storage1
lvchange –activate n mydata-vg/volume1-lv
lvchange –activate y mydata-vg/volume1-lv
lvremove mydata-vg/snap1