aboutsummaryrefslogtreecommitdiff
path: root/system/lvm2-lockd/README.SLACKWARE
blob: 5cd06a425c44f738fcd295bb81cb45ccb6696f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Starting the daemon on boot
---------------------------

You may wish to add these lines to /etc/rc.d/rc.local to start the service:

  if [ -x /etc/rc.d/rc.lvmetad ]; then
    /etc/rc.d/rc.lvmetad start
  fi

  if [ -x /etc/rc.d/rc.lvmlockd ]; then
    /etc/rc.d/rc.lvmlockd start
  fi

You may also add these lines to /etc/rc.d/rc.local_shutdown:

  if [ -x /etc/rc.d/rc.lvmlockd ]; then
    /etc/rc.d/rc.lvmlockd stop
  fi

  if [ -x /etc/rc.d/rc.lvmetad ]; then
    /etc/rc.d/rc.lvmetad stop
  fi

Remember to give executable permission to /etc/rc.d/rc.local_shutdown:

  chmod 0755 /etc/rc.d/rc.local_shutdown

Running the LVM locking system
------------------------------

Make sure to read USAGE section in lvmlockd man pages ;-)