drbddisk

Script to mark devices as primary and mount file systems

drbddisk

8 System Administration

          /etc/ha.d/resource.d/drbddisk

            resource

              start
              stop
              status

## Introduction

The `/etc/ha.d/resource.d/drbddisk` script brings the local device of `resource` into primary role. It is designed to be used by Heartbeat.

In order to use `/etc/ha.d/resource.d/drbddisk` you must define a resource, a host, and any other configuration options in the DRBD configuration file. See `/etc/drbd.conf` for details. If `resource` is omitted, then all of the resources listed in the config file are affected.

## Version

This document was revised for version 8.0.14 of the DRBD distribution.

## Author

Written by Philipp Reisner philipp.reisner@linbit.com and Lars Ellenberg lars.ellenberg@linbit.com.

## Reporting Bugs

Report bugs to drbd-user@lists.linbit.com.

## Copyright

Copyright 2001-2008 LINBIT Information Technologies, Philipp Reisner, Lars Ellenberg. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## See Also

drbd.conf

5,

drbd

8,

drbdsetup

8

drbdadm

8 DRBD Homepage