[Linux-HA] some beginner question about heartbeat 2.1 + drbd

John Hearns john.hearns at streamline-computing.com
Mon Dec 3 05:12:46 MST 2007


On Mon, 2007-12-03 at 12:17 +0100, Dejan Muhamedagic wrote:
> Hi,
> 
> On Fri, Nov 30, 2007 at 05:24:54PM +0100, Papp Tamas wrote:
> > On Thu, Nov 29, 2007 at 04:10:09PM +0100, Papp Tamas wrote:
> > > 
> > > OK, there is needed a slash at the end off expression, copy&paste:)
> > 
> > Well, it's almost working.
> > 
> > When I try to mount the filesistem (still lustre), I see in the log:
> > 
> > Nov 30 17:20:22 teszt1 crmd: [2768]: info: do_lrm_rsc_op: Performing
> > op=mount-mdt_start_0 key=34:4:cc234ee0-2545-474b-8ea3-dd61d5de47f2)
> > Nov 30 17:20:22 teszt1 Filesystem[3526]: INFO: Running start for
> > /dev/drbd0 on /mdt
> > Nov 30 17:20:22 teszt1 kernel: Lustre: OBD class driver,
> > info at clusterfs.com
> > Nov 30 17:20:22 teszt1 kernel:         Lustre Version: 1.6.3
> > Nov 30 17:20:22 teszt1 kernel:         Build Version:
> > 1.6.3-19691231190000-PRISTINE-.cache.build.BUILD.lustre-kernel-2.6.18.lustre.linux-2.6.18-8.1.14.el5_lustre.1.6.3smp
> > Nov 30 17:20:22 teszt1 kernel: Lustre: Added LNI 192.168.0.66 at tcp
> > [8/256]
> > Nov 30 17:20:22 teszt1 kernel: Lustre: Accept secure, port 988
> > Nov 30 17:20:22 teszt1 kernel: Lustre: Lustre Client File System;
> > info at clusterfs.com
> > Nov 30 17:20:22 teszt1 Filesystem[3526]: INFO: Starting filesystem
> > check on /dev/drbd0
> > Nov 30 17:20:22 teszt1 lrmd: [2765]: info: RA output:
> > (mount-mdt:start:stdout) fsck 1.40.2.cfs1 (12-Jul-2007)
> > Nov 30 17:20:22 teszt1 lrmd: [2765]: info: RA output:
> > (mount-mdt:start:stderr) fsck: fsck.lustre: not found
> 
> Could this be a problem?

Yes, this is a problem.
We have worked on Lustre storage using Linux-HA, and I've come across
this problem.

You need to patch the /usr/lib/ocf/resource.d/heartbeat  script and
add 'lustre' into the list of filesystems which contains ext3 xfs etc.

I don't have the exact patch to hand (sorry)
Please could you try that and report back what the result is when you do
it?

Adding 'lustre' to this list of filesystems says "don't run an fsck on
me before mounting"













More information about the Linux-HA mailing list