[DRBD-user] /dev/drbd0 incorrect size

Lars Ellenberg lars.ellenberg at linbit.com
Thu Apr 29 09:51:17 CEST 2010

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, Apr 28, 2010 at 05:52:18PM -0400, Chad Sine wrote:
> DRBD Users,
> 
> I'm setting up 2 CentOS 5.4 x86_64 servers to use DRBD.  I set them up to do
> RAID1, but /dev/drbd0 only shows up at 12GB instead of the 1.8 TB that the
> underlying devices have.
> 
> Both boxes are configured just like this, with 1800GB for /dev/sda4
> 
> [root at centos54 etc]# parted
> GNU Parted 1.8.1
> Using /dev/sda
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) print
> 
> Model: Dell VIRTUAL DISK (scsi)
> Disk /dev/sda: 2000GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> 
> Number  Start   End     Size    Type     File system  Flags
>  1      32.3kB  206MB   206MB   primary  ext3         boot
>  2      206MB   108GB   107GB   primary  ext3
>  3      108GB   120GB   12.8GB  primary  ext3
  ^^^                     ^^^^^^

>  4      120GB   1920GB  1800GB  primary
> 
> Here is the /etc/drbd.conf used on each

>                 disk /dev/sda3;
                            ^^^^

> However, now if I run parted on /dev/drbd0, it is only 12 GB, instead of
                                                        ^^^^^^^

Hope that helps.

> 1.8TB.  I tried doing the following, but I still only get a 12GB partition
> 
> # mkfs.ext3 /dev/drbd0

wow.
what was supposed to be on sda3?
whatever it was, it is now gone.


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list