[DRBD-user] Kernel OOPS.. when creating a file system

Rajkumar rajkumar.manicka at patni.com
Tue Jun 21 09:40:18 CEST 2005

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,

	I'm running two machines with SLES9 SP1(  2.6.5-7.139-default ). I 
have setup with drbd (drbd-0.7.5-0.3) and heartbeat (heartbeat-1.2.3-2.3) to 
form a HA cluster. Both the machines are of same configuration. Here comes the 
drbd.conf file


( I )
resource r01 {
    protocol C;
    incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -
f";
 
startup {
    	 wfc-timeout  0;
     	degr-wfc-timeout 120;    # 2 minutes.
  }

disk {
      	on-io-error   detach;
  }

net {
timeout       60;    #  6 seconds  (unit = 0.1 seconds)
      	connect-int   10;    # 10 seconds  (unit = 1 second)
ping-int      10;    # 10 seconds  (unit = 1 second)
max-buffers     32;
max-epoch-size  2048;
ko-count 4;
on-disconnect reconnect;
  }

syncer {
rate 10M;
      	group 1;
     	al-extents 257;
  }

on host1 {

    device     /dev/drbd0;
    disk       /dev/sde;
    address    10.0.0.10:7788;
    meta-disk  internal;
   }

  on host2{
    device    /dev/drbd0;
    disk      /dev/sdc;
    address   10.0.0.30:7788;
    meta-disk internal;
  }
}


( II ) DRBD status

on node1: 

/etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 0.7.5 (api:77/proto:74)
SVN Revision: 1621 build by root at dale, 2004-12-15 16:02:24
 0: cs:SyncTarget st:Primary/Secondary ld:Consistent
    ns:0 nr:195644 dw:195644 dr:0 al:0 bm:643 lo:32 pe:116 ua:32 ap:0
        [====>...............] sync'ed: 21.8% (723012/918528)K
        finish: 0:02:07 speed: 5,656 (5,584) K/sec

on node2:

 /etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 0.7.5 (api:77/proto:74)
SVN Revision: 1621 build by root at dale, 2004-12-15 16:02:24
 0: cs:SyncSource st:Secondary/Primary ld:Consistent
    ns:247800 nr:0 dw:0 dr:247920 al:0 bm:15 lo:30 pe:6 ua:30 ap:0
        [=====>..............] sync'ed: 27.6% (670752/918528)K
        finish: 0:01:40 speed: 6,696 (5,628) K/sec


( III )

After the device creation, I tried to create a filesystem on a particular drbd 
device. But after sometime the kernel panics.

Can anyone of you please tell me whether there is any problems in the setup or 
DRBD works only for local hard disk(IDE) and not for scsi device. Is my 
understanding is right??

Thanks in advance..


Cordially 
Rajkumar M R





More information about the drbd-user mailing list