1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-28 11:22:15 +03:00
lvm2/lib/metadata
Jonathan Earl Brassow 56fe3c6176 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
..
lv_alloc.h Fix pvmove allocation to take existing parallel stripes into account. 2010-04-08 00:28:57 +00:00
lv_manip.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
merge.c Replicator: check replicator segment 2010-05-21 12:43:02 +00:00
metadata-exported.h Pass metadataignore to pv_create, pv_setup, _mda_setup, and add_mda. 2010-07-08 18:24:29 +00:00
metadata.c Add log_error when strdup fails in {vg|lv}_change_tag(). 2010-07-09 16:57:44 +00:00
metadata.h Pass metadataignore to pv_create, pv_setup, _mda_setup, and add_mda. 2010-07-08 18:24:29 +00:00
mirror.c It's not enough to check for the kernel module in the case of cluster 2010-07-21 13:40:21 +00:00
pv_alloc.h Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_manip.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_map.c Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
pv_map.h Remove superfluous fn prototypes. 2010-07-09 15:21:10 +00:00
replicator_manip.c Replicator: add read and release VGs for rsites 2010-05-21 14:07:16 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Account for mirror transient status when doing lvconvert --repair. 2010-05-24 15:32:20 +00:00
snapshot_manip.c When removing a snapshot avoid preloading the origin if the 2010-04-23 02:57:39 +00:00