swapping LVs about

Gabriel M Dragffy dragffy at yandex.ru
Sun Sep 3 20:53:43 UTC 2006


On Sun, 2006-09-03 at 20:22 +1000, ruscook wrote:
> Gabe,
> my understanding is a snapshot is only able to give you a freeze on a
> partition at a point in time and then manage changed blocks, not allow
> it to be treated as a whole nother file system. You would need to copy
> that snapshot to a whole new partition to have a full filesystem with
> integrity  and then mount that partition possibly in a fake root
> (????) - not sure how to use fake roots. 
> 
> the snapshot works as it records only changed blocks not the whole
> file system.
> 
> Russ

Well I was think along the lines of the LVM HowTo at
http://www.tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html

Where it says (amongst other things)....:

"...
This opens up many new possibilities that were not possible with LVM1's
read-only snapshots. One example is to snapshot a volume, mount the
snapshot, and try an experimental program that change files on that
volume. If you don't like what it did, you can unmount the snapshot,
remove it, and mount the original filesystem in its place.
..."

So I was wondering if I could swap my different LVs in and out for
snapshot volumes to try things out.





More information about the ubuntu-users mailing list