[DRBD-user] Kernel Panics when creating file system on the drbd device

Rajkumar rajkumar.manicka at patni.com
Tue Jun 21 19:49:16 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:Inconsistent
    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
Patni Computer Systems Ltd.,




Cordially
Rajkumar M R
Patni Computer Systems Ltd.,
Tower-1, Unit No .141/151, IIP,
Vashi Rly. Station Complex, Vashi,
Navi Mumbai - 400 705.
Tel : +91 22 55910849  extn. 343
Fax : +91 22 55910855
mobile : +91 9820298697




http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin at patni.com and delete this mail. 
_____________________________________________________________________


More information about the drbd-user mailing list