I get the following error when trying to mount: Nothing changed (in any
case not that I know of). I get the same error from both nodes. Please
assist.
# mount /u02
mount.ocfs2: Invalid argument while mounting /dev/sdd1 on /u02. Check
'dmesg' for more information on this error.
/etc/fstab:
/dev/sdd1 /u02 ocfs2
_netdev,datavolume,nointr 0 0
Tail of dmesg:
ocfs2_dlm: Nodes in domain ("A7C5B0954A074B36A99739A15F640F2A"): 0
(11528,3):ocfs2_read_locked_inode:374 ERROR: Invalid dinode #0:
signature =
(11528,3):ocfs2_iget:131 ERROR: status = -116
(11528,3):ocfs2_iget:141 ERROR: status = -116
(11528,3):_ocfs2_get_system_file_inode:122 ERROR: status = -116
(11528,3):ocfs2_init_local_system_inodes:273 ERROR: status=-22,
sysfile=7, slot=0
(11528,3):ocfs2_mount_volume:1092 ERROR: status = -22
ocfs2: Unmounting device (8,49) on (node 0)
# uname -a
Linux panoramix.mweb.co.za 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:28:02
EDT 2006 i686 i686 i386 GNU/Linux
# rpm -qa | grep ocfs
ocfs2-tools-debuginfo-1.2.2-1
ocfs2-tools-devel-1.2.7-1.el4
ocfs2-2.6.9-42.0.3.ELsmp-1.2.7-1.el4
ocfs2-tools-1.2.7-1.el4
ocfs2console-1.2.7-1.el4
# cat /etc/ocfs2/cluster.conf
node:
ip_port = 8888
ip_address = 10.10.46.188
number = 0
name = panoramix.mweb.co.za
cluster = ocfs2
node:
ip_port = 8888
ip_address = 10.10.46.189
number = 1
name = amerix.mweb.co.za
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
Pieter Viljoen
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080624/9386a28b/attachment.html
SUNIL.MUSHRAN at ORACLE.COM
2008-Jun-24 15:39 UTC
[Ocfs2-users] Invalid argument while mounting
Run fsck to repair that inode. fsck.ocfs2 -f /dev/sdd1 Also, better if you upgrade the fs to 1.2.9-1. -------------- next part -------------- An embedded message was scrubbed... From: "Pieter Viljoen - MWEB" <PViljoen at mweb.com> Subject: [Ocfs2-users] Invalid argument while mounting Date: Tue, 24 Jun 2008 15:02:03 +0200 Size: 23360 Url: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080624/dfc4692c/attachment-0001.mht
Hi Sunil I get the following when running the fsck. # fsck.ocfs2 -f /dev/sdd1 Checking OCFS2 filesystem in /dev/sdd1: label: u02 uuid: a7 c5 b0 95 4a 07 4b 36 a9 97 39 a1 5f 64 0f 2a number of blocks: 52428096 bytes per block: 4096 number of clusters: 1638378 bytes per cluster: 131072 max slots: 6 /dev/sdd1 was run with -f, check forced. Pass 0a: Checking cluster allocation chains Pass 0b: Checking inode allocation chains pass0: Bad magic number in inode reading inode alloc inode 84 for verification fsck.ocfs2: Bad magic number in inode while performing pass 0 On updating I currently have kernel 2.6.9-42.0.3.ELsmp. up2date only takes me to ocfs2-2.6.9-42.0.3.ELsmp-1.2.7-1.el4. Will ocfs2-2.6.9-42.0.3.0.2.ELsmp-1.2.9-1.el4.i686 work for my kernel? Thanks! Pieter Viljoen -----Original Message----- From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of SUNIL.MUSHRAN at ORACLE.COM Sent: Tuesday, June 24, 2008 17:39 To: Pieter Viljoen - MWEB; ocfs2-users at oss.oracle.com Subject: Re: [Ocfs2-users] Invalid argument while mounting Run fsck to repair that inode. fsck.ocfs2 -f /dev/sdd1 Also, better if you upgrade the fs to 1.2.9-1. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080625/05515682/attachment.html