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

Prahladkr prankplayer at gmail.com
Wed Oct 14 16:16:13 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.


Hello Mark,

          Thank you very much for your reply.

Now i dont have access to server and soon its going to be holiday at my
place.

I will send you the o/p when i come back from holiday :)

Thanks,



Mark Watts wrote:
> 
> 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
> 
>  
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> 

-- 
View this message in context: http://www.nabble.com/Size-of--dev-drbd0-is-only-in-MB-tp25889732p25891919.html
Sent from the DRBD - User mailing list archive at Nabble.com.




More information about the drbd-user mailing list