If I create a new logical volume like this:
Code:
lvcreate -L512M -s -n backups /dev/ubuntu/vms
Where /dev/ubuntu/vms is a logical volume containing my VM's disks
Then, mount the new volume, like this
Code:
mkdir -p /mnt/backups && mount -t ext3 /dev/ubuntu/backups
And then, make some changes to the source volume (/dev/ubuntu/vms/) either by creating files or by changing something onthe VMs themself. Should the snapshot update too?
I am unsure if I am confused about how LVM snapshots work but I thought that if I mount one and make changes to the source that the mounted snapshot would change also, but I can't get it to work. The file system mounts fine and I can see the files/folders but I can't get an update to reflect in the snapshot. The snapshot is LVM2 and I can see it is read/write.
Can anyone help?