<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY>Hello,<br><br>First I would apologyze for my bad english speeking, but I will<br>try to do my best to explain my problem.<br><br>I'mrunning a two node ocsf2 cluster and tonight my filesystem stop<br>working dmesg give me this:<br><br>[ 3629.392558] ocfs2: Unmounting device (147,10) on (node 0)<br>[ 3642.161107] o2dlm: Nodes in domain 30E3C79CDAB54C6981FECA29F8668FD7: 0 <br>[ 3642.227347] ocfs2: Mounting device (147,10) on (node 0, slot 0) with ordered data mode.<br>[ 3652.743209] OCFS2: ERROR (device drbd10): ocfs2_validate_inode_block: Invalid dinode #6806075: OCFS2_VALID_FL not set<br>[ 3652.743210] <br>[ 3652.743212] File system is now read-only due to the potential of on-disk corruption. Please run fsck.ocfs2 once the file system is unmounted.<br>[ 3652.743215] (ls,24696,3):ocfs2_read_locked_inode:493 ERROR: status = -22<br>[ 3652.743830] OCFS2: ERROR (device drbd10): ocfs2_validate_inode_block: Invalid dinode #6806080: OCFS2_VALID_FL not set<br>[ 3652.743832] <br>[ 3652.743834] (ls,24696,3):ocfs2_read_locked_inode:493 ERROR: status = -22<br><br>this messages appears directly after trying to list the mounted directory<br>which give me this output:<br><br># ls /mnt/nfs/htdocs/<br>ls: impossible d'accéder à /mnt/nfs/htdocs/apache: Permission non accordée<br>ls: impossible d'accéder à /mnt/nfs/htdocs/postfix: Permission non accordée<br>total 0<br>d????????? ? ?&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? apache<br>drwxr-xr-x 2 root root 3,9K&nbsp; 4 févr.&nbsp; 2011 lost+found<br><br>from now I can't access to any data stored on the filesystem.<br>I run fsck.ocfs2 and it give me this output:<br><br>the first try give me nothing because it wasn't able to open DLM:<br><br># fsck.ocfs2 -f /dev/drbd10<br>fsck.ocfs2 1.6.4<br>fsck.ocfs2: Could not open dlm directory while initializing the DLM<br><br>so I try this:<br><br># fsck.ocfs2 -fFn /dev/drbd10<br>fsck.ocfs2 1.6.4<br><br>WARNING!!! You have disabled the cluster check. Continue only if you<br>are absolutely sure that NO node has this filesystem mounted or is<br>otherwise accessing it. If unsure, do NOT continue.<br><br>Do you really want to continue (y/N): y<br>Checking OCFS2 filesystem in /dev/drbd10:<br>&nbsp; Label:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ocfs2_xen<br>&nbsp; UUID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 30E3C79CDAB54C6981FECA29F8668FD7<br>&nbsp; Number of blocks:&nbsp;&nbsp; 7864320<br>&nbsp; Block size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096<br>&nbsp; Number of clusters: 7864320<br>&nbsp; Cluster size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096<br>&nbsp; Number of slots:&nbsp;&nbsp;&nbsp; 2<br><br>** Skipping slot recovery because -n was given. **<br>/dev/drbd10 was run with -f, check forced.<br>Pass 0a: Checking cluster allocation chains<br>Pass 0b: Checking inode allocation chains<br>Pass 0c: Checking extent block allocation chains<br>Pass 1: Checking inodes and blocks.<br>Duplicate clusters detected.&nbsp; Pass 1b will be run<br>[CLUSTER_ALLOC_BIT] Cluster 332429 is marked in the global cluster bitmap but it isn't in use.&nbsp; Clear its bit in the bitmap? n<br>[CLUSTER_ALLOC_BIT] Cluster 332435 is marked in the global cluster bitmap but it isn't in use.&nbsp; Clear its bit in the bitmap? n<br>[CLUSTER_ALLOC_BIT] Cluster 332436 is marked in the global cluster bitmap but it isn't in use.&nbsp; Clear its bit in the bitmap? n<br>[CLUSTER_ALLOC_BIT] Cluster 332437 is marked in the global cluster bitmap but it isn't in use.&nbsp; Clear its bit in the bitmap? n<br>[CLUSTER_ALLOC_BIT] Cluster 332438 is marked in the global cluster bitmap but it isn't in use.&nbsp; Clear its bit in the bitmap? n<br>[CLUSTER_ALLOC_BIT] Cluster 332439 is marked in the global cluster bitmap but it isn't in use.&nbsp; Clear its bit in the bitmap? n<br>[...]<br>Running additional passes to resolve clusters claimed by more than one inode...<br>Pass 1b: Determining ownership of multiply-claimed clusters<br>pass1b: Inode type does not contain extents while processing inode 5<br>fsck.ocfs2: Inode type does not contain extents while performing pass 1<br><br>not sure what I have to do to recover my data, perhaps someone<br>on this list will be able to give me some help to solve my issue?<br><br>Thanks in advance<br><br>=======================================<br>&nbsp;Fred.L<br>=======================================</BODY></HTML>