[Ocfs2-users] Mount fails with error status -22?

Sunil Mushran sunil.mushran at oracle.com
Wed Jan 28 15:42:26 PST 2009


What version of tools are you using?

It appears that you formatted the device with ocfs2-tools 1.4
but now are accessing it with ocfs2 1.2. SLES10 SP1 ships
ocfs2 1.2 and SLES10 SP2 ships ocfs2 1.4.

The incompatible feature is "sparse file" that was provided in
ocfs2 1.4.

If you want to mount this volume in SLES10 SP1, you will have to
disable this feature using ocfs2-tools 1.4.

$ tunefs.ocfs2 --fs-features=nosparse /dev/sdX

The 1.4 user's guide explains how to enable/disable these features.

Sunil

Ziemowit Pierzycki wrote:
> Hi,
>
> I am little puzzled.  I looked through the mailing list archive and 
> some other sources but doesn't seem like anything anyone encountered.
>
>  I have two systems with attached HP SAN.  I'm using SLES 10.1 with 
> multipath-tools.  When trying to mount OCFS2 device I get this:
>
> SERVER:/ # mount.ocfs2 /dev/mapper/mpath0 /mnt/temp/
> mount.ocfs2: Invalid argument while mounting /dev/mapper/mpath0 on 
> /mnt/temp/. Check 'dmesg' for more information on this error.
>
> So when I check dmesg I get:
>
> (8854,0):ocfs2_initialize_super:1418 ERROR: couldn't mount because of 
> unsupported optional features (10).
> (8854,0):ocfs2_fill_super:566 ERROR: status = -22
> ocfs2: Unmounting device (253,8) on (node 255)
>
> When looking at the command with strace I see this line:
>
> mount("/dev/mapper/mpath0", "/mnt/temp/", "ocfs2", 0, 
> "heartbeat=local") = -1 EINVAL (Invalid argument)
>
> What does this mean? The error is rather cryptic.  Thanks.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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