[DRBD-user] .... exit code 40 drbdadm aborting wi

antares atlantide antares.atlantide at gmail.com
Thu Oct 2 14:23:18 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I want to install drbd8 but i have many pb


################################" my config
root at djakarta:# dpkg -l | grep ^ii | grep drbd
ii  drbd0.7-module-source
0.7.25-1.1                       RAID 1 over tcp/ip for Linux module source
ii  drbd8-2.6.24-1-686
2:8.0.13-1+2.6.24-5              RAID 1 over tcp/ip for Linux kernel module
ii  drbd8-2.6.26-1-686
2:8.0.13-2+2.6.26-5              RAID 1 over tcp/ip for Linux kernel module
ii  drbd8-modules-2.6-686
2:2.6.26-3                       RAID 1 over TCP/IP for Linux 2.6 on
PPro/Celeron/PII/PIII/P4
ii  drbd8-modules-2.6.26-1-686
2.6.26+8.0.13-3                  RAID 1 over TCP/IP for Linux 2.6.26 on
PPro/Celeron/PII/PIII/P4
ii  drbd8-utils
2:8.0.13-2                       RAID 1 over tcp/ip for Linux utilities
root at djakarta:/usr/src/drbd-8.2.6# cat /etc/drbd.conf
global {
  usage-count yes;
}
common {
  protocol C;
}

resource datas {

  on djakarta.lipn.univ-paris13.fr {
    device     /dev/drbd0;
    disk       /dev/hda4;
    address    192.168.10.9:7788;
    meta-disk  internal;
  }

  on seoul.lipn.univ-paris13.fr {
    device    /dev/drbd0;
    disk      /dev/hda4;
    address   192.168.10.10:7788;
    meta-disk internal;
  }
}

################
root at djakarta# drbdadm create-md datas
v08 Magic number not found
md_offset 5733015552
al_offset 5732982784
bm_offset 5732806656

Found ext3 filesystem which uses 5598652 kB
current configuration leaves usable 5598444 kB

Device size would be truncated, which
would corrupt data and result in
'access beyond end of device' errors.
You need to either
   * use external meta data (recommended)
   * shrink that filesystem first
   * zero out the device (destroy the filesystem)
Operation refused.

Command 'drbdmeta /dev/drbd0 v08 /dev/hda4 internal create-md' terminated
with exit code 40
drbdadm aborting
r
root at djakarta:/usr/src/drbd-8.2.6# ls -l /dev/drbd0
brw-rw---- 1 root disk 147, 0 oct  2 12:04 /dev/drbd0


-- 
Antares Atlantide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081002/df4dce1a/attachment.htm>


More information about the drbd-user mailing list