[DRBD-user] Size of /dev/drbd0 is only in MB

Mark Watts m.watts at eris.qinetiq.com
Wed Oct 14 14:53:57 CEST 2009

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


On Wed, 2009-10-14 at 05:00 -0700, Prahladkr wrote:
> Hello EevryOne,
> 
>             I am new to DRBD so please don't mind my silly questions if i
> ask any.  :)
> 
> I have installed and configured DRBD on two servers after bit of struggle
> but strangely what i am noticing that 
> the size of /dev/drbd0 is only in MBs where as i had expected it to be in
> GBs.
> 
> My drbd.conf file is as follows.
> 
> ----------
> global {
>   usage-count no;
> }
> 
> resource mysql {
> 	protocol C;
> 	#incon-degr-cmd "halt-f";
> #	handlers { pri-on-incon-degr-cmd "halt-f"; }
> 	startup {
> 	   degr-wfc-timeout 120; #2 minutes
> 		}
> 	disk {
> 	   on-io-error detach;
> 	     }
> 	net {
> 	}
> 	syncer {
> 	   rate 10M;
> 	   #group 1;
> 	   al-extents 257;
> 	}
> 	on WFMS_DB1 {
> 		device	/dev/drbd0;
> 		disk 	/dev/sda3;
> 		address 10.7.1.54:8000;
> 		meta-disk internal;
> 		     }
> 	on WFMS_DB2 {
> 		device  /dev/drbd0;
> 		disk 	/dev/sda3;
> 		address 10.7.1.55:8000;
> 		meta-disk internal;
> 		     }
> }
> ---------
> 
> Here is the size of /dev/drbd0 which i have mounted over /drbd .
> 
> ---------
> dev/drbd0            137M  5.6M  125M   5% /drbd
> ---------
> 
> /dev/sda3 is having around 125Gb space available.
> 
> 
> Please suggest any solution for this. Did i do anything wrong in
> installation ?

DRBD has no problem with block devices in the hundreds of GB, so DRBD
should see as much as the underlying block devices let it.

Please can you post "fdisk -l /dev/sda" output from each server?

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091014/64d602ba/attachment.pgp>


More information about the drbd-user mailing list