howto create read-only thin snapshot with lvm2app

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux