[Ocfs2-users] Get error on mount.ocfs2 "No such file or directory
while mounting ...."
Zosen Wang
wangz at rocketmail.com
Sun Apr 8 19:51:34 PDT 2007
I try to install 2 nodes RAC in Linux 2.6.9.-22.EL by using Jeffery Hunters paper. I am getting problem to mount the ocfs2 file system. The following is mount command error output:
[root at b30-rh1 ~]# mount -t ocfs2 /dev/sda2 /u02
mount.ocfs2: No such file or directory while mounting /dev/sda2 on /u02. Check 'dmesg' for more information on this error.
I can not get any error msg from dmesg or syslog.
Please help and thanks in advance.
Linux version:
[root at b30-rh1 init.d]# uname -a
Installed ocfs verion:
Linux b30-rh1.ameripride.org 2.6.9-22.EL #1 Sat Oct 8 17:48:27 CDT 2005 i686 i686 i386 GNU/Linux
[root at b30-rh2 Desktop]# rpm -Uvh ocfs2-2.6.9-22.EL-1.2.4-2.i686.rpm \
> ocfs2console-1.2.3-1.i386.rpm \
> ocfs2-tools-1.2.3-1.i386.rpm \
> ocfs2-tools-debuginfo-1.2.3-1.i386.rpm
[root at b30-rh1 init.d]# mkfs.ocfs2 -b 4k -C 32K -L "oracle_home" -N 4 /dev/sda1
mkfs.ocfs2 1.2.3
Overwriting existing ocfs2 partition.
Proceed (y/N): y
Filesystem label=oracle_home
Block size=4096 (bits=12)
Cluster size=32768 (bits=15)
Volume size=10248650752 (312764 clusters) (2502112 blocks)
10 cluster groups (tail covers 22460 clusters, rest cover 32256 clusters)
Journal size=67108864
Initial number of node slots: 4
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 2 block(s)
Formatting Journals: done
Writing lost+found: done
mkfs.ocfs2 successful
[root at b30-rh1 init.d]# mounted.ocfs2 -d
Device FS UUID Label
/dev/sda1 ocfs2 29b7d72e-6636-4c08-b074-457088efc329 oracle_home
/dev/sda2 ocfs2 6ba41200-7ebd-45ef-ad9f-dac33999ce64 oradatafiles
problem on mount:
[root at b30-rh1 init.d]# mount -t ocfs2 -o datavolume,nointr /dev/sda1 /u01
mount.ocfs2: No such file or directory while mounting /dev/sda1 on /u01. Check 'dmesg' for more information on this error.
[root at b30-rh1 init.d]# dmesg
Linux version 2.6.9-22.EL (buildcentos at louisa.home.local) (gcc version 3.4.4 200
50721 (Red Hat 3.4.4-2)) #1 Sat Oct 8 17:48:27 CDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
<snipped ..>
OCFS2 DLM 1.2.4 Thu Feb 1 15:42:23 PST 2007 (build 02079ab041256f2bdb27c5ee8984ff64)
OCFS2 DLMFS 1.2.4 Thu Feb 1 15:42:23 PST 2007 (build 02079ab041256f2bdb27c5ee8984ff64)
OCFS2 User DLM kernel interface loaded
ocfs2_dlm: Nodes in domain ("78899A7D35324B8F99E71F259F5E1876"): 0
ocfs2_dlm: Nodes in domain ("A37DF093FE3A48DF818061DF3BCE3F4F"): 0
[root at b30-rh1 init.d]# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Checking O2CB heartbeat: Not active
why is not active????
[root at b30-rh1 .ssh]# /sbin/fsck.ocfs2 -n /dev/sda1
Checking OCFS2 filesystem in /dev/sda1:
label: oracle_home
uuid: 29 b7 d7 2e 66 36 4c 08 b0 74 45 70 88 ef c3 29
number of blocks: 2502112
bytes per block: 4096
number of clusters: 312764
bytes per cluster: 32768
max slots: 4
/dev/sda1 is clean. It will be checked after 20 additional mounts.
Regards
Zosen Wang (wangz at rocketmail.com)
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070408/8e0d43ff/attachment-0001.html
More information about the Ocfs2-users
mailing list