1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/libdm
Jonathan Earl Brassow 405c4a45d8 It's not enough to check for the kernel module in the case of cluster
mirrors, we must also check that the log daemon (cmirrord) is running.
The log module can be auto-loaded, but the daemon cannot be
"auto-started".  Failing to check for the daemon produces cryptic
messages that customers have a hard time deciphering.  (The system
messages do report that the log daemon is not running, but people
don't seem to find this message easily.)

Here are examples of what is printed when the module is available,
but the log daemon has not been started.

[root@bp-01 LVM2]# lvcreate -m1 -l1 -n lv vg
  Shared cluster mirrors are not available.

[root@bp-01 LVM2]# lvcreate -m1 -l1 -n lv vg -v
    Setting logging type to disk
    Finding volume group "vg"
    Archiving volume group "vg" metadata (seqno 3).
    Creating logical volume lv
    Executing: /sbin/modprobe dm-log-userspace
    Cluster mirror log daemon is not running
  Shared cluster mirrors are not available.
    Creating volume group backup "/etc/lvm/backup/vg" (seqno 4).
2010-07-21 13:40:21 +00:00
..
datastruct Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
ioctl Fix typo: "INTERNAL ERROR" -> "INTERNAL_ERROR" 2010-06-23 12:54:46 +00:00
misc Use flexible data[] in cmirrord request to prevent abort in runtime size checks. 2010-06-22 13:11:29 +00:00
mm Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
regex [REGEX] calculate dfa states on demand 2010-07-21 12:09:12 +00:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h It's not enough to check for the kernel module in the case of cluster 2010-07-21 13:40:21 +00:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
libdm-common.h Several changes to udev support code: 2009-10-26 14:29:33 +00:00
libdm-deptree.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
libdm-file.c It's not enough to check for the kernel module in the case of cluster 2010-07-21 13:40:21 +00:00
libdm-report.c Remove C++ private keyword from headers. 2010-06-16 13:01:25 +00:00
libdm-string.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
Makefile.in Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00