Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
hi all,
after restarting a cluster that is running heartbeat and drbd i found
the following
system message rigth after mounting the drbd device:
---------------------------------------------------------------------
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
---------------------------------------------------------------------
after umounting the drbd devic and doing a
fsck /dev/drbd0
i got the following message:
---------------------------------------------------------------------
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
/dev/drbd0: i.O., 1310/3728256 Dateien, 262988/7447497 Blöcke
---------------------------------------------------------------------
when doing a
fsck -n /dev/drbd0
while the filesystem is mounted i get the following messages:
---------------------------------------------------------------------
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
Warnung! /dev/drbd0 ist eingehängt.
/dev/drbd0 wurde nicht ordnungsgemäß ausgehängt, Prüfung erzwungen.
Durchgang 1: Prüfe Inodes, Blocks, und Größen
Inode 948427, i_Blocks ist 64, sollte sein 8. Repariere? nein
Durchgang 2: Prüfe Verzeichnis Struktur
Durchgang 3: Prüfe Verzeichnis Verknüpfungen
Durchgang 4: Überprüfe die Referenzzähler
Durchgang 5: Überprüfe Gruppe Zusammenfassung
Block Bitmap differieren: -(1906210--1906216)
Repariere? nein
/dev/drbd0: ********** WARNUNG: Noch Fehler im Dateisystem **********
/dev/drbd0: 1312/3728256 Dateien (0.5% nicht zusammenhängend),
262997/7447497 Blöcke
---------------------------------------------------------------------
i created the filesystem (with drbd running on both nodes)
entering the following command on the primary node:
mkfs -t ext2 /dev/drbd0
my drbd.conf is following:
resource r0 {
protocol C;
incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt
-f";
startup {
degr-wfc-timeout 120; # 2 minutes.
}
syncer {
rate 60M;
group 1;
al-extents 257;
}
on linux05-ma {
device /dev/drbd0;
disk /dev/sda4;
address 192.168.1.121:7788;
meta-disk internal;
}
on linux05-sl01 {
device /dev/drbd0;
disk /dev/sda4;
address 192.168.1.122:7788;
meta-disk internal;
}
}
my system setup is following:
drbd version 0.7.6
debian sarge with linux kernel 2.4.28 running on two fujitsu-siemens
tx200 boxes without scsi raid
drbd is connected over a twisted cable using the internal gig device of
the boxes.
besides the fsck problem the system is running without troubles for 3
weeks now.
did i do something wrong when setting up drbd?
any hints are welcome
thanks
johann sattler