drbd will not start with given default global configuration

Bug #696832 reported by Thomas Schweikle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
drbd8 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Install ubuntu 10.04 or 10.10, then add drbd8-utils. Configure two nodes.
Try to get them up using

drbdadm up node

watch the error message:
--- snip ----
root@web01:/etc/drbd.d# drbdadm attach home
on-io-error-handler 'detatch' not known
known on-io-error-handlers:
        pass_on
        call-local-io-error
        detach
Command 'drbdsetup 0 disk /dev/vg00/home /dev/vg00/home internal --set-defaults --create-device --on-io-error=detatch' terminated with exit code 20
drbdadm attach home: exited with code 20
--- snap ----

showing up.
drbd-devices remain unavailable.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: drbd8-utils 2:8.3.8.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-24.42-server 2.6.35.8
Uname: Linux 2.6.35-24-server x86_64
Architecture: amd64
Date: Mon Jan 3 16:07:47 2011
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 SHELL=/bin/bash
 LANG=de_DE.UTF-8
SourcePackage: drbd8

Revision history for this message
Thomas Schweikle (tps) wrote :
Revision history for this message
Thomas Schweikle (tps) wrote :

After solving the above error, by correcting a typo in /etc/drbd.d/global_common.conf:
--- snip ----
root@web02:/etc/drbd.d# mkfs -t ext4 /dev/drbd0
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: Wrong medium type while trying to determine filesystem size
--- snap ----

Revision history for this message
Florian Haas (fghaas) wrote :

AFAICT, the /etc/drbd.d/global_common.conf that ships in maverick does not contain any (enabled) on-io-error option, thus the default of pass_on applies.

And, please follow http://www.drbd.org/users-guide/s-first-time-up.html (and the following pages).

Scott Moser (smoser)
Changed in drbd8 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.