[Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

Tina Soles tina.soles at strsoftware.com
Mon Jun 30 03:58:30 PDT 2008


How do I do that? Sorry, I'm brand new to ocfs2, so I need explicit
instructions... J

 

From: V Srinivas [mailto:vaungasrinu at gmail.com] 
Sent: Monday, June 30, 2008 6:57 AM
To: Tina Soles
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

 

Hi tina ,
   I think u need to configure multipathing if u want to access the same
sdb1 from both nodes.

Regards,
 Srinivas

On 30/06/2008, Tina Soles <tina.soles at strsoftware.com> wrote:

OK, so I mounted the disk from node 1, using:

mount -t ocfs2 -o nointr /dev/sdb1 /ocfs2/oradata/orcl

works great:

#mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev)
configfs on /sys/kernel/config type configfs (rw)
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
/dev/sdb1 on /ocfs2/oradata/orcl type ocfs2
(rw,_netdev,nointr,heartbeat=local)

however, trying to execute the same command from node 2 results in the
following:

mount -t ocfs2 -o nointr /dev/sdb1 /ocfs2/oradata/orcl
mount.ocfs2: Device or resource busy while mounting /dev/sdb1 on
/ocfs2/oradata/orcl. Check 'dmesg' for more information on this error.

dmesg on node 1 shows:

ocfs2: Mounting device (8,17) on (node 0, slot 0) with ordered data
mode.
o2net: accepted connection from node slingshot.strsoftware.com (num 1)
at 192.168.0.28:7777
o2net: no longer connected to node slingshot.strsoftware.com (num 1) at
192.168.0.28:7777

dmesg on node 2 shows:

EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
OCFS2 Node Manager 1.5.0
OCFS2 DLM 1.5.0
OCFS2 DLMFS 1.5.0
OCFS2 User DLM kernel interface loaded
OCFS2 Node Manager 1.5.0
OCFS2 DLM 1.5.0
OCFS2 DLMFS 1.5.0
OCFS2 User DLM kernel interface loaded
o2net: connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:7777
OCFS2 1.5.0
o2net: no longer connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:7777

Do I have something configured incorrectly, or do I need an additional
option in my mount command?

Thanks....


-----Original Message-----
From: SUNIL.MUSHRAN at ORACLE.COM [mailto:SUNIL.MUSHRAN at ORACLE.COM]
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

datavolume mount option is only on ocfs2 for enterprise kernels.

For most part, you shouldn't require it for using it as a datastore.
Instead set init.ora param filesystemio_options to directio (or is it
odirect).

The only bit that won't work here is using ocfs2 for the voting disk and
ocr... as datavolume is necessary to force enable odirect.
But you can always use raw for that.

Sunil

_______________________________________________
Ocfs2-users mailing list
Ocfs2-users at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080630/4f0160f8/attachment.html 


More information about the Ocfs2-users mailing list