[Lustre-discuss] heartbeat + drbd +lustre

Andreas Dilger adilger at sun.com
Mon Dec 3 00:03:07 PST 2007


On Nov 30, 2007  18:06 +0100, Papp Tamas wrote:
> (mount-mdt:start:stderr) fsck: Error 2 while executing fsck.lustre for
> /dev/drbd0

You need to make the "fsck pass" number in your /etc/fstab be 0 (skip).
It isn't safe to run e2fsck on a shared device except as part of the
failover itself.  If you are doing this ONLY as part of the failover,
then you can link e2fsck to fsck.lustre (using Lustre-patched e2fsprogs
only).

> Nov 30 17:20:23 teszt1 crmd: [2768]: ERROR: process_lrm_event: LRM
> operation mount-mdt_start_0 (call=14, rc=1) Error unknown error
> Nov 30 17:20:23 teszt1 crmd: [2768]: info: build_operation_update:
> Digest for 4:1;34:4:cc234ee0-2545-474b-8ea3-dd61d5de47f2
> (mount-mdt_start_0) was 5e579999da68f8d23996cdfcde038242
> Nov 30 17:20:23 teszt1 crmd: [2768]: info: log_data_element:
> build_operation_update: digest:source <parameters fstype="lustre"
> directory="/mdt" target_role="started" device="/dev/drbd0"/>
> Nov 30 17:20:24 teszt1 crmd: [2768]: info: do_lrm_rsc_op: Performing
> op=mount-mdt_stop_0 key=1:5:cc234ee0-2545-474b-8ea3-dd61d5de47f2)
> Nov 30 17:20:24 teszt1 Filesystem[3659]: INFO: Running stop for
> /dev/drbd0 on /mdt
> Nov 30 17:20:24 teszt1 crmd: [2768]: info: process_lrm_event: LRM
> operation mount-mdt_stop_0 (call=15, rc=0) complete
> 
> 
> 
> 
> But it's working if the fstype is ext3. I'm out of ideas. Please
> somebody give me a push:)
> 
> It's working from command line:
> 
> mount -t lustre /dev/drbd0 /mdt
> 
> 
> This is the relevant xml:
> 
> <primitive class="ocf" provider="heartbeat" type="Filesystem"
> id="mount-mdt">
>   <instance_attributes id="ia_mount-mdt">
>     <attributes>
>       <nvpair id="mount-mdt_fstype" name="fstype" value="lustre"/>
>       <nvpair id="mount-mdt_mountpoint" name="directory"
> value="/mdt"/>
>       <nvpair id="mount-mdt_device" name="device" value="/dev/drbd0"/>
>     </attributes>
>   </instance_attributes>
> </primitive>

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.




More information about the lustre-discuss mailing list