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

Tina Soles tina.soles at strsoftware.com
Tue Jul 1 04:59:28 PDT 2008


Tao,

Thank you very much for your response.  I figured out the problem - it
was because (somehow) the file system was already mounted - DUH! So I
have it up and running now.

Again, thank you for your time and assistance!

-----Original Message-----
From: Tao Ma [mailto:tao.ma at oracle.com] 
Sent: Monday, June 30, 2008 9:35 PM
To: Tina Soles
Cc: V Srinivas; ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

Hi Tina,
	AFAIK, if you can see the same device from both 2 nodes, you
don't need 
to configure multipath(at least I never configure it when using ocfs2. 
;) ) You mean you see the same UUID when execute 'echo "stats" | 
debugfs.ocfs2 -n /dev/sdb1' in 2 nodes, right? If yes, then the device 
should be ok. So could you please do like this:
in node 2:
1. debugfs.ocfs2 -l DLM_DOMAIN SUPER JOURNAL allow
this will open the debug message in ocfs2.
2. do mount and wait until it fails.
3. debugfs.ocfs2 -l DLM_DOMAIN SUPER JOURNAL off
4. paste the error dmesg here.
Let us see what is going on there.

Regards,
Tao

Tina Soles wrote:
> Please forgive my ignorance here, but isn't the purpose of ocfs2 to 
> allow multiple nodes to access the same storage device at the same
time? 
> So I'm confused as to why I would have to issue these statements for 
> multipath.  I am attempting to setup an Oracle RAC system, using the 
> following instructions:
> 
>  
> 
>
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_2.html#16
> 
>  
> 
> Thanks.
> 
>  
> 
> *From:* V Srinivas [mailto:vaungasrinu at gmail.com]
> *Sent:* Monday, June 30, 2008 7:18 AM
> *To:* Tina Soles
> *Subject:* Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9
> 
>  
> 
> #mdadm --create /dev/md65 -l multipath -n 1 /dev/sdb1 on both nodes.
>   is sdb1 is raid with other.
> 
>  
> 
> On 30/06/2008, *Tina Soles* <tina.soles at strsoftware.com 
> <mailto:tina.soles at strsoftware.com>> wrote:
> 
> Sure, I'm using Fedora 9, kernel = 2.6.25-14.fc9.i686
> 
>  
> 
> *From:* V Srinivas [mailto:vaungasrinu at gmail.com 
> <mailto:vaungasrinu at gmail.com>]
> *Sent:* Monday, June 30, 2008 7:04 AM
> 
> 
> *To:* Tina Soles
> *Subject:* Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9
> 
>  
> 
> Hi ,
>   Can u tell me about OS u r using.
> Rgds,
>  Srinivas
> 
> On 30/06/2008, *Tina Soles* <tina.soles at strsoftware.com 
> <mailto:tina.soles at strsoftware.com>> wrote:
> 
> 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 
> <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 
> <mailto: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 
> <http://slingshot.strsoftware.com> (num 1)
> at 192.168.0.28:7777 <http://192.168.0.28:7777>
> o2net: no longer connected to node slingshot.strsoftware.com 
> <http://slingshot.strsoftware.com> (num 1) at
> 192.168.0.28:7777 <http://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 
> <http://skydive.strsoftware.com> (num 0) at
> 192.168.0.27:7777 <http://192.168.0.27:7777>
> OCFS2 1.5.0
> o2net: no longer connected to node skydive.strsoftware.com 
> <http://skydive.strsoftware.com> (num 0) at
> 192.168.0.27:7777 <http://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> 
> [mailto: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 <mailto: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 <mailto:Ocfs2-users at oss.oracle.com>
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
> 
>  
> 
>  
> 
>  
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list