How to Take ‘Snapshot of Logical Volume and Restore’ in LVM – Part III

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

21 Responses

  1. Alex says:

    After the step to create the snapshot via “lvcreate”, the next step says to “Let’s add some new files into tecmint_datas”, but you cannot copy anything to it because it has not been mounted yet.

    I think you’re missing the step of mounting the snapshot.

    • pepa65 says:

      The snapshot is not tecmint_datas (but tecmint_datas_snap), and indeed the snapshot is not mounted at this point. But the volume that the snapshot was taken off (tecmint_datas) was and is still mounted, and the point is to move some files to the ‘original‘, which doesn’t affect the snapshot. But if the amount of changes is larger than the storage space allows, the snapshot is (silently) dropped.

  2. marc DECHICO says:

    Of course I have limited experience and knowledge in system admin and LVM, but this is the kind of additional info that I would like to find about LVM snapshot concept in your page:

    typical use

    create the snapshot in few seconds without having to umount the volume that is snapshoted and backup immediately the system without having to stop access to system-users during the backup.
    possible use (? because I have no experience) :

    create the snapshot it in order to have the possibility to return back very quickly by mounting read-write the snapshot itself. I mean: to avoid merging.

    create some kind of version control using snapshot like branches (of course several snapshots used simultaneously will increase dramatically IO traffic.

    hope it will help.

Leave a Reply to pepa65 Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.