<div dir="ltr">I want to install drbd8 but i have many pb<br><br><br>################################" my config<br>root@djakarta:# dpkg -l | grep ^ii | grep drbd<br>ii drbd0.7-module-source 0.7.25-1.1 RAID 1 over tcp/ip for Linux module source<br>
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<br>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<br>
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<br>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<br>
ii drbd8-utils 2:8.0.13-2 RAID 1 over tcp/ip for Linux utilities<br>root@djakarta:/usr/src/drbd-8.2.6# cat /etc/drbd.conf<br>global { <br> usage-count yes; <br>}<br>
common {<br> protocol C;<br>}<br><br>resource datas {<br><br> on <a href="http://djakarta.lipn.univ-paris13.fr">djakarta.lipn.univ-paris13.fr</a> {<br> device /dev/drbd0;<br> disk /dev/hda4;<br> address <a href="http://192.168.10.9:7788">192.168.10.9:7788</a>;<br>
meta-disk internal;<br> }<br><br> on <a href="http://seoul.lipn.univ-paris13.fr">seoul.lipn.univ-paris13.fr</a> {<br> device /dev/drbd0;<br> disk /dev/hda4;<br> address <a href="http://192.168.10.10:7788">192.168.10.10:7788</a>;<br>
meta-disk internal;<br> }<br>}<br><br>################<br>root@djakarta# drbdadm create-md datas<br>v08 Magic number not found<br>md_offset 5733015552<br>al_offset 5732982784<br>bm_offset 5732806656<br><br>Found ext3 filesystem which uses 5598652 kB<br>
current configuration leaves usable 5598444 kB<br><br>Device size would be truncated, which<br>would corrupt data and result in<br>'access beyond end of device' errors.<br>You need to either<br> * use external meta data (recommended)<br>
* shrink that filesystem first<br> * zero out the device (destroy the filesystem)<br>Operation refused.<br><br>Command 'drbdmeta /dev/drbd0 v08 /dev/hda4 internal create-md' terminated with exit code 40<br>drbdadm aborting<br>
r<br>root@djakarta:/usr/src/drbd-8.2.6# ls -l /dev/drbd0<br>brw-rw---- 1 root disk 147, 0 oct 2 12:04 /dev/drbd0<br><br clear="all"><br>-- <br>Antares Atlantide<br>
</div>