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