'\" t
.\"     Title: drbd-lvchange@.service
.\"    Author: LINBIT HA Solutions GmbH https://linbit.com
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 2021-06-11
.\"    Manual: DRBD Manual
.\"    Source: drbd-utils 9.27.0
.\"  Language: English
.\"
.TH "DRBD\-LVCHANGE@\&.SE" "7" "2021-06-11" "drbd\-utils 9\&.27\&.0" "DRBD Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------

.SH "NAME"
drbd-lvchange@.service \- System unit to (de)activate backing LVM2 LVs for a specific DRBD resource
.SH "SYNOPSIS"

.sp
\fBdrbd\-lvchange@\fR\fIRESNAME\fR\fB\&.service\fR

.SH "DESCRIPTION"

.sp
If you try to start (configure) a DRBD using the \fBdrbd@\fR\fIRESNAME\fR\fB\&.service\fR, chances are that this fails because at the time its backing block devices are not (yet) available\&.
.sp
If you know those backing devices are LVM2 LVs, enable this optional service, to add an explicit dependency on those LVs and try to activate them first\&. It will also de\-activate them on stop\&.
.sp
systemctl enable drbd\-lvchange@RESNAME\&.service

.SH "SEE ALSO"

.sp
\fBdrbd@.service\fR(7), \fBdrbd@.target\fR(7), \fBlvm\fR(8), \fBlvchange\fR(8)

.SH "AUTHORS"
.PP
\fBLINBIT HA Solutions GmbH https://linbit.com\fR
