[Ocfs2-users] Invalid argument while mounting

Sunil Mushran Sunil.Mushran at oracle.com
Wed Jun 25 12:14:09 PDT 2008


$ dd if=/dev/sdd1 of=/tmp/out count=100 bs=4K

Can you file a bugzilla and attach the /tmp/out.

Looks like it is unable to read the inode because it's
signature if off. The above command will dump the first 400K
of the device.

I want to see what the extent of the corruption is. If it is
localized, we could just fix it up manually and get you started
asap.

Sunil

Pieter Viljoen - MWEB wrote:
>
> *I’ve upgraded both – still the same error:*
>
> * *
>
> *# rpm -qa | grep ocfs*
>
> *ocfs2-tools-debuginfo-1.2.2-1***
>
> *ocfs2-tools-devel-1.2.7-1.el4***
>
> *ocfs2-tools-1.2.7-1.el4***
>
> *ocfs2console-1.2.7-1.el4***
>
> *ocfs2-2.6.9-42.0.3.ELsmp-1.2.9-1.el4***
>
> * *
>
> *Pieter Viljoen*
>
> ------------------------------------------------------------------------
>
> *From:* ocfs2-users-bounces at oss.oracle.com 
> [mailto:ocfs2-users-bounces at oss.oracle.com] *On Behalf Of *Marcos E. 
> Matsunaga
> *Sent:* Wednesday, June 25, 2008 15:34
> *To:* Pieter Viljoen - MWEB
> *Cc:* SUNIL.MUSHRAN at oracle.com; ocfs2-users at oss.oracle.com
> *Subject:* Re: [Ocfs2-users] Invalid argument while mounting
>
> Pieter,
>
> Here is the 1.2.9 for your kernel:
>
> http://oss.oracle.com/projects/ocfs2/files/RedHat/RHEL4/i386/1.2.9-1/2.6.9-42.0.3.EL/
>
>
> The one you mention will not work.
>
> If still didn't get it, update the tools to 1.2.7-1 - 
> http://oss.oracle.com/projects/ocfs2-tools/files/RedHat/RHEL4/i386/1.2.7-1/
>
>
>
> Regards,
>  
> Marcos Eduardo Matsunaga
>  
> Oracle USA
> Linux Engineering
>  
> “The statements and opinions expressed here are my own and do not
> necessarily represent those of Oracle Corporation.”
>
>
>
> Pieter Viljoen - MWEB wrote:
>
> 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> 
> [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of 
> SUNIL.MUSHRAN at ORACLE.COM <mailto:SUNIL.MUSHRAN at ORACLE.COM>
> Sent: Tuesday, June 24, 2008 17:39
> To: Pieter Viljoen - MWEB; ocfs2-users at oss.oracle.com 
> <mailto: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.
>
>  
>
>
> ------------------------------------------------------------------------
>
>
>  
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com <mailto:Ocfs2-users at oss.oracle.com>
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users




More information about the Ocfs2-users mailing list