<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Palatino Linotype">Hi Sunil,<br>
<br>
OK, I've done a fresh install to test this.&nbsp; I'm using Sun VirtualBox
by the way.<br>
<br>
Here's what I do:<br>
<br>
<font face="Courier New, Courier, monospace">[root@OELTEST ~]#
mkfs.ocfs2 -T datafiles -N 1 -M local -L "Data" /dev/sdb1<br>
mkfs.ocfs2 1.4.1<br>
Filesystem Type of datafiles<br>
Filesystem label=Data<br>
Block size=4096 (bits=12)<br>
Cluster size=262144 (bits=18)<br>
Volume size=85899083776 (327679 clusters) (20971456 blocks)<br>
11 cluster groups (tail covers 5119 clusters, rest cover 32256 clusters)<br>
Journal size=33554432<br>
Initial number of node slots: 1<br>
Creating bitmaps: done<br>
Initializing superblock: done<br>
Writing system files: done<br>
Writing superblock: done<br>
Writing backup superblock: 4 block(s)<br>
Formatting Journals: done<br>
Formatting slot map: done<br>
Writing lost+found: done<br>
mkfs.ocfs2 successful<br>
<br>
[root@OELTEST ~]# mkdir /u01<br>
[root@OELTEST ~]# mount /dev/sdb1 /u01<br>
mount.ocfs2: No such device while mounting /dev/sdb1 on /u01. Check
'dmesg' for more information on this error.</font><br>
<br>
I can't see ANY errors in /var/log/messages, even with tracing turned
on!<br>
</font><br>
<font face="Courier New, Courier, monospace">[root@OELTEST ~]# date<br>
Thu Feb 12 00:02:39 PST 2009<br>
[root@OELTEST ~]# tail -3 /var/log/messages<br>
</font><font face="Courier New, Courier, monospace">Feb 11 23:37:13
OELTEST kernel: sdb: Write Protect is off<br>
</font><font face="Courier New, Courier, monospace">Feb 11 23:37:13
OELTEST kernel: SCSI device sdb: drive cache: write back<br>
</font><font face="Courier New, Courier, monospace">Feb 11 23:37:13
OELTEST kernel:&nbsp; sdb: sdb1<br>
</font><font face="Courier New, Courier, monospace">[root@OELTEST ~]#
debugfs.ocfs2 -l ENTRY EXIT SUPER allow;<br>
</font><font face="Courier New, Courier, monospace">[root@OELTEST ~]#
mount /dev/sdb1 /u01<br>
</font><font face="Courier New, Courier, monospace">mount.ocfs2: No
such device while mounting /dev/sdb1 on /u01. Check 'dmesg' for more
information on this error.<br>
</font><font face="Courier New, Courier, monospace">[root@OELTEST ~]#
debugfs.ocfs2 -l ENTRY EXIT deny SUPER off;<br>
</font><font face="Courier New, Courier, monospace">[root@OELTEST ~]#
tail -3 /var/log/messages<br>
</font><font face="Courier New, Courier, monospace">Feb 11 23:37:13
OELTEST kernel: sdb: Write Protect is off<br>
</font><font face="Courier New, Courier, monospace">Feb 11 23:37:13
OELTEST kernel: SCSI device sdb: drive cache: write back<br>
</font><font face="Courier New, Courier, monospace">Feb 11 23:37:13
OELTEST kernel:&nbsp; sdb: sdb1</font><br>
<br>
Any ideas?&nbsp; As I said before, this works fine with the version of OCFS2
1.2 that comes on the DVD.<br>
<br>
Cheers,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bruce<br>
<br>
Sunil Mushran wrote:
<blockquote cite="mid:4990B290.7000004@oracle.com" type="cite">I hope
the tools are 1.4.
  <br>
  <br>
Enable some tracing. Do:
  <br>
$ debugfs.ocfs2 -l ENTRY EXIT SUPER allow;
  <br>
$ mount ...
  <br>
$ debugfs.ocfs2 -l ENTRY EXIT deny SUPER off;
  <br>
  <br>
The logs will be in /var/log/messages.
  <br>
  <br>
Bruce MacDonald wrote:
  <br>
  <blockquote type="cite">Thanks for replying Sunil.&nbsp; No, nothing in
dmesg.
    <br>
    <br>
On 9-Feb-09, at 13:41, Sunil Mushran <a class="moz-txt-link-rfc2396E" href="mailto:sunil.mushran@oracle.com">&lt;sunil.mushran@oracle.com&gt;</a>
wrote:
    <br>
    <br>
    <blockquote type="cite">Bruce MacDonald wrote:
      <br>
      <blockquote type="cite">I'm playing around with OCFS2 as a local
filesystem, as an alternative to using XFS for a multi-terabyte
database.&nbsp; Using OEL 5.2 from the demo DVD, I download the latest OCFS2
1.4 packages and format the filesystem, but when I try to mount it, I
get a "file not found" error, as if "/u01" doesn't exist (which it
does).
        <br>
        <br>
If I do the same thing but install OCFS2 1.2 from the DVD, this works
without problem.
        <br>
        <br>
Should 1.4 work as a local filesystem, or am I missing something?
        <br>
      </blockquote>
      <br>
Support for local mounts is in OCFS2 1.4. Does dmesg say anything?
      <br>
    </blockquote>
  </blockquote>
  <br>
  <br>
</blockquote>
</body>
</html>