diff options
author | Mario Preksavec <mario at slackware dot hr> | 2019-05-18 06:55:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-18 06:55:47 +0700 |
commit | 1599e63a2dd35c9b2e14dce34ed67dee4b404522 (patch) | |
tree | 0ca0f6827d49d99c6623ce4a081a2782dd6be47a /system/lvm2-lockd/README.SLACKWARE | |
parent | cfdf1e2c64ae2f7820ae18cc85d051929fb74873 (diff) | |
download | slackbuilds-1599e63a2dd35c9b2e14dce34ed67dee4b404522.tar.gz |
system/lvm2-lockd: Added (LVM in a shared storage environment).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lvm2-lockd/README.SLACKWARE')
-rw-r--r-- | system/lvm2-lockd/README.SLACKWARE | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/system/lvm2-lockd/README.SLACKWARE b/system/lvm2-lockd/README.SLACKWARE new file mode 100644 index 0000000000..5cd06a425c --- /dev/null +++ b/system/lvm2-lockd/README.SLACKWARE @@ -0,0 +1,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 ;-) |