Re: [DRBD-user] DRBD without secondary

2010-04-29 Thread Joseph L. Casale
>>How do I make it UpToDate and Primary without a Secondary disk up yet? > ># drbdadm -- 61 set-gi drbd-data Should have refreshed my own memory, probably a better/supported way is to follow the last few comments in this thread: http://old.nabble.com/Skipping-initial-sync,-and-full-sync-after

Re: [DRBD-user] DRBD without secondary

2010-04-29 Thread Alex Dean
On Apr 29, 2010, at 12:47 PM, Chad Sine wrote: How do I make it UpToDate and Primary without a Secondary disk up yet? http://www.drbd.org/users-guide/s-initial-full-sync.html Since there's no secondary node, your device will become primary, and have a connection state WFConnection (waitin

Re: [DRBD-user] DRBD without secondary

2010-04-29 Thread Joseph L. Casale
>How do I make it UpToDate and Primary without a Secondary disk up yet? # drbdadm -- 61 set-gi drbd-data ___ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user

Re: [DRBD-user] DRBD without secondary

2010-04-29 Thread Chad Sine
After I create the primary /dev/drbd0 with `drbdadm create-md drbd-data`, how the state is inconsistent and it is Secondary [r...@centos54 ~]# cat /proc/drbd version: 8.3.2 (api:88/proto:86-90) GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by mockbu...@v20z-x86-64.home.local, 2009-08-29

Re: [DRBD-user] DRBD without secondary

2010-04-29 Thread Derek Danks
On Thursday 29 April 2010 16:33:27 Brian R. Hellman wrote: > On 04/29/2010 08:25 AM, Chad Sine wrote: > > Is it possible to create a DRBD device on the Primary and use it > > without a Secondary? I'd like to partition, and place files on the > > primary before putting the secondary online and then

[DRBD-user] Delayed initial synchronisation

2010-04-29 Thread Derek Danks
Hi, As a newbie to DRBD could anyone answer the following or make reasonable suggestions? Is it possible to create a DRBD cluster with only 1 node initialised? If it is how long would it work before lack of resources (disk space, I guess) would break it? Scenario: We

Re: [DRBD-user] DRBD without secondary

2010-04-29 Thread Brian R. Hellman
On 04/29/2010 08:25 AM, Chad Sine wrote: > Is it possible to create a DRBD device on the Primary and use it > without a Secondary? I'd like to partition, and place files on the > primary before putting the secondary online and then and then > synchronize the secondary at a later time. > > Thank Y

[DRBD-user] DRBD without secondary

2010-04-29 Thread Chad Sine
Is it possible to create a DRBD device on the Primary and use it without a Secondary? I'd like to partition, and place files on the primary before putting the secondary online and then and then synchronize the secondary at a later time. Thank You, Chad ___

Re: [DRBD-user] can I drbd an existing ext3 partition ?

2010-04-29 Thread Brian R. Hellman
On 04/29/2010 04:00 AM, Miles Fidelman wrote: > Bernd Petrovitsch wrote: >> A usual workaround is to create a degenerated cluster and move the files >> to the degenerated DRBD device. And then lets the original one resync >> it. >> >> > Could you elaborate just a little on the steps invo

Re: [DRBD-user] /dev/drbd0 incorrect size

2010-04-29 Thread Chad Sine
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 wrote: > On Wed, Apr 28, 2010 at 05:52:18PM -0400, Chad Sine wrote: > > DRBD Users, > > > > I'm setting up 2 Ce

Re: [DRBD-user] can I drbd an existing ext3 partition ?

2010-04-29 Thread Miles Fidelman
Bernd Petrovitsch wrote: A usual workaround is to create a degenerated cluster and move the files to the degenerated DRBD device. And then lets the original one resync it. Could you elaborate just a little on the steps involved in doing this? Thanks, Miles Fidelman -- In theory,

Re: [DRBD-user] Drbd io wait ?

2010-04-29 Thread Joseph L. Casale
>I seem to be having a problem with load. I have four servers. > >Two are web servers and the other two are MySQL (Master - Master >Replication) and NFS servers. Between the two SQL, I have DRBD running >in Active / Passive setup. So MySQL is Master/Master, but drbd is Active/Passive? What is wr

Re: [DRBD-user] can I drbd an existing ext3 partition ?

2010-04-29 Thread Florian Haas
On 2010-04-29 10:38, Bernd Petrovitsch wrote: > On Don, 2010-04-29 at 09:35 +0100, Joao Ferreira gmail wrote: >> can I "install" drbd on an existing ext3 formated partition that already >> contains data written on it ? > > If you do that, you will overwrite all the data (and the filesystem as > su

Re: [DRBD-user] can I drbd an existing ext3 partition ?

2010-04-29 Thread Bernd Petrovitsch
On Don, 2010-04-29 at 09:35 +0100, Joao Ferreira gmail wrote: > can I "install" drbd on an existing ext3 formated partition that already > contains data written on it ? If you do that, you will overwrite all the data (and the filesystem as such). > or does the drbd setup process force me to start

Re: [DRBD-user] can I drbd an existing ext3 partition ?

2010-04-29 Thread Bart Coninckx
On Thursday 29 April 2010 10:35:08 Joao Ferreira gmail wrote: > can I "install" drbd on an existing ext3 formated partition that already > contains data written on it ? > > or does the drbd setup process force me to start with a raw unformated > partition ? > > (I'm 99% sure this is not possible

[DRBD-user] can I drbd an existing ext3 partition ?

2010-04-29 Thread Joao Ferreira gmail
can I "install" drbd on an existing ext3 formated partition that already contains data written on it ? or does the drbd setup process force me to start with a raw unformated partition ? (I'm 99% sure this is not possible but... fingers crossed and hope for the best ) Thank you Joao ___

Re: [DRBD-user] /dev/drbd0 incorrect size

2010-04-29 Thread Lars Ellenberg
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

Re: [DRBD-user] /dev/drbd0 incorrect size

2010-04-29 Thread Mike Lovell
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 [r...@centos54 et

[DRBD-user] migrating to DRBD (newbie question)

2010-04-29 Thread Miles Fidelman
Hi, I'm trying to take a production system, and create a hot-spare - using DRBD and Xen live migration. Pretty much all of the documentation I've seen talks about starting with two bare-iron boxes, and setting up a replicated environment. What I haven't seen is any guidance on whether one c

[DRBD-user] /dev/drbd0 incorrect size

2010-04-29 Thread Chad Sine
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 [r...@centos54 etc]# parted GNU Parted