Hello everybody,<br><br>I'm working on a project of 'reverting to a snapshot' feature in ext4 filesystem. (ext4dev_restore tool)<br><a href="https://github.com/harshadshirwadkar/ext4-snapshot-revert">https://github.com/harshadshirwadkar/ext4-snapshot-revert</a><br>

<br>For that purpose, I'm making use of LVM. I have exported ext4 snapshot to lvm persistent snapshot store format. Now somehow, I need to associate it with the origin volume. So that lvm can merge it into the origin volume (lvconvert --merge).<br>

<br>So the ext4dev_restore tool can be used like this:<br><br>1) Take snapshot using snapshot take command in ext4 file system.<br>2) Export the created ext4 snapshot to lvm persistant snapshot format.<br># ext4dev_restore <snapshot_file> lvmexport<br>

3) Associate the exported snapshot as the snapshot of origin volume.<br>4) #lvconvert --merge <exported_snapshot><br><br>Can you help me to find out a way to make above mentioned association (in step 3) ?<br><br>Thanks,<br>

Harshad,<br>