[dm-devel] howto create read-only thin snapshot with lvm2app
Eivind Sarto
eivindsarto at gmail.com
Sun Feb 25 23:19:10 UTC 2018
I am using liblvm2app to create thin snapshots by doing:
* params = lvm_lv_params_create_snapshot(thin_lv, snapname, 0ULL);*
* snap_lv = lvm_lv_create(params);*
The snapshots are read-write permission by default. But, I cannot figure
out howto create a read-only snapshot. l cannot seem to find the right
API/arguments to modify the params before calling lvm_lv_create(). What do
I need to do?
-eivind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20180225/6537b9df/attachment.htm>
More information about the dm-devel
mailing list