[Ocfs2-users] Problem while mounting on ocfs2 1.2.5.1

Yassine Diallo yassine.diallo at gmail.com
Tue May 29 13:57:10 PDT 2007


Sunil,

I've used the package from Red Hat 4 with kernel 2.6.9-55
because CentOs is based on it. But because the default version
2.6.9-55lacked the firewire module I did install the centosplus one.
That may
explain why.

[oracle at linuxbox2 opt]$ rpm -qa | grep ocfs2
ocfs2console-1.2.4-1
ocfs2-tools-1.2.4-1
ocfs2-2.6.9-55.ELsmp-1.2.5-1

Yassine

On 5/29/07, Sunil Mushran <Sunil.Mushran at oracle.com> wrote:
>
> debugfs is not shipped with rhel4. Hence bundled with the
> ocfs2 package.
>
> 2.6.9-55.plus.c4smp? We don't have any packages for that kernel
> on oss.oracle.com.
>
> Do:
> # rpm -qa | grep ocfs2
>
>
> Yassine Diallo wrote:
> > Hello Sunil,
> >
> > Well it seems that this kernel module is not present in the kernel
> > release :
> >
> > [root at linuxbox2 modules]#  rpm -qf /lib/modules/`uname
> > -r`/kernel/fs/debugfs/debugfs.ko
> > erreur: fichier /lib/modules/2.6.9-
> > 55.plus.c4smp/kernel/fs/debugfs/debugfs.ko: Aucun fichier ou
> > répertoire de ce type
> > [root at linuxbox2 modules]# lsmod
> > Module                  Size  Used by
> > parport_pc             28032  1
> > lp                     15661  0
> > parport                38025  2 parport_pc,lp
> > autofs4                25285  0
> > i2c_dev                14529  0
> > i2c_core               26049  1 i2c_dev
> > ocfs2_dlmfs            27272  1
> > ocfs2_dlm             199688  1 ocfs2_dlmfs
> > ocfs2_nodemanager     159616  5 ocfs2_dlmfs,ocfs2_dlm
> > configfs               28300  2 ocfs2_nodemanager
> > sunrpc                143909  1
> > dm_mirror              31429  0
> > dm_multipath           22985  0
> > dm_mod                 65000  2 dm_mirror,dm_multipath
> > button                 10705  0
> > battery                12997  0
> > ac                      8901  0
> > md5                     8129  1
> > ipv6                  243425  12
> > ohci1394               35289  0
> > snd_azx                21841  3
> > snd_hda_codec         126529  1 snd_azx
> > snd_pcm_oss            52729  0
> > snd_mixer_oss          21953  2 snd_pcm_oss
> > snd_pcm                92357  3 snd_azx,snd_hda_codec,snd_pcm_oss
> > snd_timer              28229  1 snd_pcm
> > snd                    57509  10
> > snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> > soundcore              13089  2 snd
> > snd_page_alloc         13897  2 snd_azx,snd_pcm
> > r8169                  31049  0
> > sk98lin               144553  1
> > floppy                 58193  0
> > sbp2                   25929  0
> > ieee1394              104825  2 ohci1394,sbp2
> > ext3                  119113  1
> > jbd                    59609  1 ext3
> > sata_uli               11973  4294967295
> > libata                105757  1 sata_uli
> > sd_mod                 20545  0
> > scsi_mod              119757  3 sbp2,libata,sd_mod
> > [root at linuxbox2 modules]# modinfo debugfs
> > modinfo: could not find module debugfs
> > [root at linuxbox2 modules]# uname -a
> > Linux linuxbox2 2.6.9-55.plus.c4smp #1 SMP Sun May 20 10:29:12 EDT
> > 2007 i686 i686 i386 GNU/Linux
> >
> > Yassine
> >
> > On 5/29/07, *Sunil Mushran* <Sunil.Mushran at oracle.com
> > <mailto:Sunil.Mushran at oracle.com>> wrote:
> >
> >     The debugfs module is bundled with the ocfs2 packages for 2.6.9
> >     (rhel4).
> >     Appears as if the module is not getting loaded.
> >
> >     Do:
> >     # rpm -qf /lib/modules/`uname -r`/kernel/fs/debugfs/debugfs.ko
> >     # lsmod
> >     # modinfo debugfs
> >     # uname -a
> >
> >     Yassine Diallo wrote:
> >     > Hello,
> >     >
> >     > I'm running two linux boxes with Centos kernel distribution with
> >     > kernel 2.6.9-55.plus.smp. My firewire disk is known by both
> machines
> >     > and the ocfs2 stack is loaded and up.
> >     >
> >     > But if I run the mount option I get the following error :
> >     >
> >     > /dev/sdb1               1         125     1004031   83  Linux
> >     > /dev/sdb2             126       14715   117194175   83  Linux
> >     > /dev/sdb3           14716       29305   117194175   83  Linux
> >     > /dev/sdb4           29306       38913    77176260   83  Linux
> >     > [root at linuxbox2 ~]#
> >     > [root at linuxbox2 ~]# mount -t ocfs2 -o datavolume,nointr
> >     /dev/sdb1 /oracrs
> >     > mount.ocfs2: No such device while mounting /dev/sdb1 on /oracrs.
> >     Check
> >     > 'dmesg' for more information on this error.
> >     >
> >     > [root at linuxbox2 ~]# dmesg | tail
> >     > i2c /dev entries driver
> >     > eth0: no IPv6 routers present
> >     > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> >     > parport0: irq 7 detected
> >     > lp0: using parport0 (polling).
> >     > lp0: console ready
> >     > eth1: no IPv6 routers present
> >     > ocfs2: Unknown symbol debugfs_remove
> >     > ocfs2: Unknown symbol debugfs_create_file
> >     > ocfs2: Unknown symbol debugfs_create_dir
> >     > [root at linuxbox2 ~]# uname -a
> >     > Linux linuxbox2 2.6.9-55.plus.c4smp #1 SMP Sun May 20 10:29:12 EDT
> >     > 2007 i686 i686 i386 GNU/Linux
> >     >
> >     > The log mentions the function related to debugfs. I did install
> the
> >     > ocfs2 from the rpm provided on the Oracle site and installed
> >     also the
> >     > ocfs2 tools, console and debug.
> >     >
> >     > Did somebody already have seen that problem ?
> >     >
> >     > Note : I tried to compile ocfs2 from the tarball but the configure
> >     > tool stopped and complained about unknown kernel version (
> probably
> >     > related to the centosplus kernel).
> >     >
> >     > Thanks in advance
> >     >
> >     > Yassine
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > 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
> >     <http://oss.oracle.com/mailman/listinfo/ocfs2-users>
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070529/77463e8e/attachment.html


More information about the Ocfs2-users mailing list