Dne 9.4.2017 v 09:17 Roger Morton napsal(a):
I wanted to merge a old snap shot (root_snap10) of my root file system back into root. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home_lv kubuntu-vg rwi-aor--- 1000.00g 100.00 root kubuntu-vg owi-aor--- 50.00g 100.00 root_snap10 kubuntu-vg swi-a-s--- 50.00g root 28.42 root_snap14 kubuntu-vg swi-a-s--- 50.00g root 0.00
In genernal - Once the merge IS started - you see immediately 'the merged state' and the blocks are moved in background (they are moved back from COW to origin - while you already see a device in 'merged-state'). While the merge IS happening you can't merge another LV. So you need to wait till merge of snap10 is finished (0%).
sudo lvcreate -s -n root_snap10b -L 50G /dev/kubuntu-vg/root Snapshots of an origin that has a merging snapshot is not supported So the system still thinks /dev/kubuntu-vg/root is in the middle of merging. Which worries me - my root file system might be in some half and half state between two different snapshots
As said there is never 'half and half state' - this would clearly never work ;) you can't see old & new data mixed at the same time.
Regards Zdenek _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/