On Fri, Jul 25, 2008 at 2:43 PM, ZiLioN ZilLioN <[EMAIL PROTECTED]> wrote: > > > >> From: [EMAIL PROTECTED] >> To: [email protected] >> Subject: Re: [Linux-HA] Hearbeat2 & DRBD8.2. >> Date: Fri, 25 Jul 2008 22:00:52 +0200 >> >> On Friday 25 July 2008, ZiLioN ZilLioN wrote: >> > > Date: Fri, 25 Jul 2008 11:40:53 -0600> From: [EMAIL PROTECTED]> To: >> > > [email protected]> Subject: Re: [Linux-HA] Hearbeat2 & >> > > DRBD8.2.> > Have you created a filesystem on /dev/drbd0? Can you mount it >> > > manually> without using Heartbeat? >> > >> > Yes I did with DRBD v0.7. A filesystem ext3. >> > I mounted today /dev/drbd0 and I make a folder in it. Apparenttly is ok. >> > >> > I think that I should create again... >> > >> > What else can it be? /dev/drbd0: Wrong medium type >> >> drbd0 was Primary at this time and on this node? ... this error would >> indicate >> that drbd0 was Secondary when Heartbeat tried to mount the filesystem. > > mmmm Do not heartbeat is responsible for that? Heartbear should set as > Primary on this node... > >> >> You created the filesystem on /dev/drbd0 with DRBD 0.7 and now upgraded to >> DRBD 8.2 ... did you also made a migration of the meta-data to and tested >> DRBD without heartbeat? > > I didn´t made a migration, I did "create-md", however the partition (data) > has not been formatted...
If you recreate filesystem you'll lose all you old data, and you said that you'd been able to mount that filesystem manually after migration. > > This is section resource: > > <primitive id="drbd_mysql" class="ocf" provider="heartbeat" type="drbd"> > <instance_attributes> > <attributes> > <nvpair name="drbd_resource" value="r0"/> > </attributes> > </instance_attributes> > <operations> > <op name="monitor" interval="29s" timeout="10s"/> > </operations> > </primitive> > </master_slave> > <group id="rg_mysql"> > <primitive class="ocf" type="Filesystem" > provider="heartbeat" id="fs_mysql"> > <instance_attributes> > <attributes> > <nvpair name="device" value="/dev/drbd0"/> > <nvpair name="directory" value="/media/replica"/> > <nvpair name="type" value="ext3"/> shouldn't it be fstype not just type? > </attributes> > </instance_attributes> > </primitive> > ... > <nvpair name="type" value="ext3"/> > </attributes> > </instance_attributes> > </primitive> > > With DRBDv0.7 the partition was formatted with the type "ext3" > >> > >> > _________________________________________________________________ >> > La última hora de tu ciudad en MSN Noticias >> > http://noticias.es.msn.com/_______________________________________________ >> > Linux-HA mailing list >> > [email protected] >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha >> > See also: http://linux-ha.org/ReportingProblems >> >> >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems > > _________________________________________________________________ > Hazte tu propia televisión a la carta. Música, noticias, estrenos, cine, > humor y viajes en MSN Vídeo > http://video.msn.com/?mkt=es-es_______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
