1

In this page of Linux LVM Howto it's said that "LVM2 creates read/write snapshots by default". In this other page of Red Hat docs it's said that "Because the snapshot is read/write, you can test applications against production data by taking a snapshot and running tests against the snapshot, leaving the real data untouched.".

Other sources on internet say that the mount should be read only to preserve original data.

My use case is pretty typical, I want to take a snapshot of my laptop home partition, mount and backup it somewhere else (usb drive). I just wonder, should I mount the snapshot read-only or read-write?

1
  • If you are just backing up the home partition on a laptop that is single user and not running a databases, then there may not be a benefit to taking a snapshot since there is nothing to keep in a consistent state. Commented Oct 30, 2014 at 18:26

1 Answer 1

2

If you do not plan to change the data just mount it read-only. (This sounds fine for taking a backup.)

If you do plan to change the data, e.g. for running a test against it, then a read-write snapshot is what you want.

Pretty straightforward. :)

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.