Hello,
I am now trying to not call external LVM commands, but to use LVM
library calls instead. Now I have another problem:
lvm_vg_create_lv_linear(vg, pam_user, LVSIZE) returns NULL, what means
an error. Normally I would think that I made a mistake, but when I
manually call lvdisplay, I can see the LV and I can activate it with
lvchange. How can it happen that lvm_vg_create_lv_linear() returns NULL
though the LV was created?
And a minor problem: The LVM library logs with syslog(), but I use my
own syslog() calls in my program and as soon as lvm_init() has been
called, both the identifier and the log facility change, so that logs go
to another file. Can I somehow disable that?
Regards
Christoph
_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/