.....
> > 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)

.... ok, "create-md" converts the 0.7 to 8.x meta-data. so you did upgrade 
(migration was the wrong term..) the meta-data ;-)

> has not been formatted...
>
> 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"/>
>         </attributes>
>       </instance_attributes>
>     </primitive>
>       ...
>           <nvpair name="type" value="ext3"/>
>         </attributes>
>       </instance_attributes>
>     </primitive>
>

hmmm ... and your colocation and order constraints? drbd has to be primary 
before the filesystem is mounted and the filesystem has to be mounted on the 
primary node ... there is a good example ... if you really want to go with a  
Master/Slave configuration:

http://www.linux-ha.org/DRBD/HowTov2

Regards,
Andreas

> 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


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to