OCFS2 in VMWARE ? (second try)

  • From: "Milen Kulev" <makulev@xxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 8 Mar 2006 23:58:37 +0100

Sorry, I forgot to send my Vmware confogurations (only the shared storage 
relevant part)

disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0" 
diskLib.dataCacheMaxReadAheadSize = "0" 
diskLib.dataCacheMinReadAheadSize = "0" 
diskLib.dataCachePageSize = "4096" 
diskLib.maxUnsyncedWrites = "0" 


scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic" 
scsi1.sharedBus = "VIRTUAL"

scsi1:1.present = "TRUE"
scsi1:1.deviceType = "disk"
scsi1:1.fileName = "F:\vmware\RAC\shared_disk\sdc.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:1.redo = ""

VMWare Workstation 5.0, build 13124

Regards, Milen 

-------------------------------------------------------------------
The Original post  was:





Hi Listers,

I am trying to setup 2 nodes RAC (10G R2, Linux) in  VMWARE (for 
self-educational purpose, of course).

After installing OCFS2 und mounting the "shared storage" in both nodes 
(Hostnames = node1 & node2) I have tried To
perform a simple test (copying and/or editing a file from node1 and read the 
same file on node2).

I am getting the following errors:

[root@node2 ORCL]# dmesg | tail -15
sde: assuming drive cache: write through
 sde: unknown partition table
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0376de0(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
Hangcheck: starting hangcheck timer 0.5.0 (tick is 30 seconds, margin is 180 
seconds).
eth0: no IPv6 routers present
eth1: no IPv6 routers present (2868,0):ocfs2_check_dir_entry:1721 ERROR: bad 
entry in directory #16923: rec_len is
smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 
(2909,0):ocfs2_check_dir_entry:1721 ERROR: bad entry in
directory #16923: rec_len is smaller than minimal - offset=0, inode=0, 
rec_len=0, name_len=0
(2910,0):ocfs2_check_dir_entry:1721 ERROR: bad entry in directory #16923: 
rec_len is smaller than minimal - offset=0,
inode=0, rec_len=0, name_len=0 (2911,0):ocfs2_check_dir_entry:1721 ERROR: bad 
entry in directory #16923: rec_len is
smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 
(2918,0):ocfs2_check_dir_entry:1721 ERROR: bad entry in
directory #16923: rec_len is smaller than minimal - offset=0, inode=0, 
rec_len=0, name_len=0
(2918,0):ocfs2_empty_dir:305 ERROR: bad directory (dir #16923) - no `.' or `..'

Here is my configuration:
A) OS version
[root@node2 ORCL]# uname -a
Linux node2.example.com 2.6.9-22.EL #1 Mon Sep 19 18:20:28 EDT 2005 i686 i686 
i386 GNU/Linux 

[root@node1 ORCL]# cat < /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 2)


B) OCFS2 , downloaded from  
http://oss.oracle.com/projects/ocfs2/dist/files/RedHat/RHEL4/i386/

[root@node2 ORCL]# rpm -qa  | grep ocfs2 ocfs2-2.6.9-22.EL-1.2.0-1 
ocfs2console-1.2.0-1 ocfs2-tools-1.2.0-1

[root@node2 ORCL]# cat /proc/fs/ocfs2/version
OCFS2 1.2.0 Thu Feb  2 17:48:56 PST 2006 (build 
db06cd9cd891710e73c5d89a6b4d8812)

C) mountpoints
[root@node1 ORCL]# mount | grep ocfs
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
/dev/sdc5 on /u02/oradata/ORCL type ocfs2 
(rw,_netdev,datavolume,heartbeat=local)

Any hints, suggestions, pointers are highly appreciated.

Regards, Milen

--
//www.freelists.org/webpage/oracle-l


Other related posts:

  • » OCFS2 in VMWARE ? (second try)