[DRBD-user] /dev/drbd0 incorrect size

Chad Sine chad at unixenthusiast.org
Thu Apr 29 15:36:47 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.


Well, that about sums that up.  Ugh.  My ego was just hit by a Buick. :-)

btw, /dev/sda3 was just swap.

Thanks for your help guys

Chad

On Thu, Apr 29, 2010 at 3:51 AM, Lars Ellenberg
<lars.ellenberg at linbit.com>wrote:

> 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
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100429/49c80091/attachment.htm>


More information about the drbd-user mailing list