1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/scripts
Peter Rajnoha 546db1c4be udev+systemd: make pvscan --cache -aay run as systemd background job from udev
The new lvm2-pvscan@.service is responsible for on-demand execution
of "pvscan --cache --activate ay" which causes lvmetad to be
updated and LVM activation done if the VG is complete.

Also, use udev-systemd mechanism to instantiate the job as the
lvm2-pvscan@$devnode.service on each newly appeared PV in the system.
This prevents the background job to be killed (that would happen
if it was directly forked from udev rule - this behaviour is seen
in recent versions of udev with the help of systemd that can track
detached processes - the detached process would still be in the same
cgroup).

To enable this official udev-systemd protocol for instantiating
background jobs, use new --enable-udev-systemd-background-jobs
configure switch (it's disabled by default). This option is highly
recommended wherever systemd is used!
2013-10-18 11:38:49 +02:00
..
lvm2create_initrd Add .gitignore files for an in-source-tree build. 2012-06-08 16:26:21 +01:00
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
blk_availability_init_red_hat.in scripts: blk-availability - use full name for clarity 2012-10-15 16:10:58 +02:00
blk_availability_systemd_red_hat.service.in scripts: blk-availability should be stopped before FCoE 2012-10-15 15:00:12 +02:00
blkdeactivate.sh.in blkdeactivate: add support for bind mounts 2013-08-13 17:51:40 +02:00
clvmd_fix_conf.sh Use /bin/bash for scripts with bashisms 2010-05-14 11:33:20 +00:00
clvmd_init_red_hat.in initscripts: add pidfile reference in chkconfig header for clvmd and cmirrord 2013-06-07 14:07:56 +02:00
cmirrord_init_red_hat.in initscripts: add pidfile reference in chkconfig header for clvmd and cmirrord 2013-06-07 14:07:56 +02:00
dm_event_systemd_red_hat.service.in systemd: Add Documentation references 2012-06-20 14:23:50 +02:00
dm_event_systemd_red_hat.socket.in systemd: add doc reference in dm-event.socket 2012-06-29 13:54:35 +02:00
fsadm.sh locales: use higher prio LC_ALL variable 2013-01-22 11:25:02 +01:00
gdbinit RAID: Add writemostly/writebehind support for RAID1 2013-04-15 13:59:46 -05:00
lvm2_activation_generator_systemd_red_hat.c systemd: run lvm2-activation-net.service after lvm2-activation.service 2013-09-16 11:47:09 +02:00
lvm2_lvmetad_init_red_hat.in Remove pvscan --cache from lvm2-lvmetad init script. 2012-10-15 12:58:23 +02:00
lvm2_lvmetad_systemd_red_hat.service.in systemd: remove ExecStartPost from lvm2-lvmetad.service. 2012-10-08 16:49:54 +02:00
lvm2_lvmetad_systemd_red_hat.socket.in systemd: Add Documentation references 2012-06-20 14:23:50 +02:00
lvm2_monitoring_init_red_hat.in Use also normalized output for vgchange command in lvm2-monitor init script. 2011-12-16 11:42:56 +00:00
lvm2_monitoring_init_rhel4 Use also normalized output for vgchange command in lvm2-monitor init script. 2011-12-16 11:42:56 +00:00
lvm2_monitoring_systemd_red_hat.service.in systemd: remove quotes in lvm2-monitor.service ExecStop 2012-11-02 20:32:28 +01:00
lvm2_pvscan_systemd_red_hat@.service.in udev+systemd: make pvscan --cache -aay run as systemd background job from udev 2013-10-18 11:38:49 +02:00
lvm2_tmpfiles_red_hat.conf.in Use 'd' instead of 'D' in tmpfiles configuration to not overwrite any existing directory. 2012-02-23 14:24:30 +00:00
lvmconf_lockingtype2.sh Use /bin/bash for scripts with bashisms 2010-05-14 11:33:20 +00:00
lvmconf.sh lvmconf: use_lvmetad=0 on --enable-cluster, reset to default on --disable-cluster 2013-09-24 14:03:42 +02:00
lvmdump.sh lvmdump: Add -l, to collect a state dump from lvmetad. 2012-10-11 22:42:20 +02:00
Makefile.in udev+systemd: make pvscan --cache -aay run as systemd background job from udev 2013-10-18 11:38:49 +02:00
relpath.awk Fix scripts/relpath.awk to work with mawk 2010-05-21 15:28:16 +00:00
vg_convert change two files in different directories 2006-06-06 17:44:11 +00:00
vgimportclone.sh vgimportclone: override global_filter in lvm.conf 2013-06-02 00:47:17 +02:00
VolumeGroup.ocf Add OCF support 2010-11-05 16:18:38 +00:00