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
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel