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

2008-07-29 Thread Tina Soles
OK, another snag.  Fedora 9 does not support RAW devices, so I can't
configure the voting disk or OCR disk to be as such.  Any suggestions? I
think I'm up a creek here...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


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

2008-07-01 Thread Tina Soles
Sunil,

I am setting up an Oracle RAC using these instructions
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_2.html#16

which states the following:

Note: You are using the datavolume option to mount the new filesystem
here. Oracle database users must mount any volume that will contain the
Voting Disk file, Cluster Registry (OCR), Data files, Redo logs, Archive
logs, and Control files with the datavolume mount option so as to ensure
that the Oracle processes open the files with the o_direct flag. The
nointr option ensures that the I/O's are not interrupted by signals.

It is my understanding that the Voting Disk and OCR files must reside on
shared storage. I'm using a firewire drive for my shared storage. Is
there anywhere else I can place the voting disk and OCR files other than
my firewire drive? It is the only shared storage device that I have
setup.

Sorry about the confusion. Any help you can give me would be most
appreciated.

Thanks.  



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


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

2008-06-30 Thread Tina Soles
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:
o2net: no longer connected to node slingshot.strsoftware.com (num 1) at
192.168.0.28:

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:
OCFS2 1.5.0
o2net: no longer connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:

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

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


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

2008-06-30 Thread Tina Soles
P.S., I also executed the following, and get the same results for UUID
and ls -l on both nodes:

#echo stats | debugfs.ocfs2 -n /dev/sdb1
Revision: 0.90
Mount Count: 0   Max Mount Count: 20
State: 0   Errors: 0
Check Interval: 0   Last Check: Sun Jun 29 16:33:16 2008
Creator OS: 0
Feature Compat: 1 BackupSuper
Feature Incompat: 16 Sparse
Tunefs Incomplete: 0 None
Feature RO compat: 0 None
Root Blknum: 17   System Dir Blknum: 18
First Cluster Group Blknum: 8
Block Size Bits: 12   Cluster Size Bits: 15
Max Node Slots: 4
Label: oradatafiles
UUID: 43CB1E6A5E4D465CAFC11A3C22BDC851
Inode: 2   Mode: 00   Generation: 2444960055 (0x91bb2137)
FS Generation: 2444960055 (0x91bb2137)
Type: Unknown   Attr: 0x0   Flags: Valid System Superblock
User: 0 (root)   Group: 0 (root)   Size: 0
Links: 0   Clusters: 15262000
ctime: 0x4867f18c -- Sun Jun 29 16:33:16 2008
atime: 0x0 -- Wed Dec 31 19:00:00 1969
mtime: 0x4867f18c -- Sun Jun 29 16:33:16 2008
dtime: 0x0 -- Wed Dec 31 19:00:00 1969
ctime_nsec: 0x -- 0
atime_nsec: 0x -- 0
mtime_nsec: 0x -- 0
Last Extblk: 0
Sub Alloc Slot: Global   Sub Alloc Bit: 65535


echo ls -l / | debugfs.ocfs2 -n /dev/sdb1
17  drwxr-xr-x   3 0 04096
29-Jun-2008 1
6:33 .
17  drwxr-xr-x   3 0 04096
29-Jun-2008 1
6:33 ..
258057  drwxr-xr-x   2 0 04096
29-Jun-2008 1
6:34 lost+found

-Original Message-
From: Tina Soles 
Sent: Monday, June 30, 2008 6:39 AM
To: '[EMAIL PROTECTED]'; Tao Ma
Cc: ocfs2-users@oss.oracle.com
Subject: RE: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

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:
o2net: no longer connected to node slingshot.strsoftware.com (num 1) at
192.168.0.28:

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:
OCFS2 1.5.0
o2net: no longer connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:

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

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


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

2008-06-30 Thread Tina Soles
How do I do that? Sorry, I'm brand new to ocfs2, so I need explicit
instructions... J

 

From: V Srinivas [mailto:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 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:
o2net: no longer connected to node slingshot.strsoftware.com (num 1) at
192.168.0.28:

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:
OCFS2 1.5.0
o2net: no longer connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:

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

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

 

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

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

2008-06-30 Thread Tina Soles
Sure, I'm using Fedora 9, kernel = 2.6.25-14.fc9.i686

 

From: V Srinivas [mailto:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] wrote:

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

 

From: V Srinivas [mailto:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 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:
o2net: no longer connected to node slingshot.strsoftware.com (num 1) at
192.168.0.28:

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:
OCFS2 1.5.0
o2net: no longer connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:

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

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

 

 

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

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

2008-06-30 Thread Tina Soles
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:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] wrote:

Sure, I'm using Fedora 9, kernel = 2.6.25-14.fc9.i686

 

From: V Srinivas [mailto:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] wrote:

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

 

From: V Srinivas [mailto:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 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:
o2net: no longer connected to node slingshot.strsoftware.com (num 1) at
192.168.0.28:

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:
OCFS2 1.5.0
o2net: no longer connected to node skydive.strsoftware.com (num 0) at
192.168.0.27:

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

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 29, 2008 11:20 PM
To: Tao Ma; Tina Soles
Cc: ocfs2-users@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@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

 

 

 

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

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

2008-06-29 Thread Tina Soles
Thanks!

I installed the tools rpm and the console as well.  I've successfully
formatted the ocfs2 system, but when trying to mount it, I'm getting the
following:

#mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs2/oradata/orcl
mount.ocfs2: Invalid argument while mounting /dev/sdb1 on
/ocfs2/oradata/orcl

Here is dmesg output:

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
OCFS2 1.5.0
(19226,0):ocfs2_parse_options:870 ERROR: Unrecognized mount option
datavolume or missing value

I googled this, and after researching it, I'm still not quite sure what
to do. Is it ok to use the mount command above without the
datavolume,nointr parameters? If so, then do I have to include something
in init.ora? I'm a bit confused. Any help you can give me would be
appreciated, as I am brand new to all of this.

My versions are:

# rpm -qa | grep ocfs2
ocfs2console-1.3.9-8.20080221git.fc10.i386
ocfs2-tools-1.3.9-8.20080221git.fc10.i386

# find /lib/modules/`uname -r` -name \*ocfs2\*
/lib/modules/2.6.25-14.fc9.i686/kernel/fs/ocfs2
/lib/modules/2.6.25-14.fc9.i686/kernel/fs/ocfs2/cluster/ocfs2_nodemanage
r.ko
/lib/modules/2.6.25-14.fc9.i686/kernel/fs/ocfs2/ocfs2.ko
/lib/modules/2.6.25-14.fc9.i686/kernel/fs/ocfs2/dlm/ocfs2_dlmfs.ko
/lib/modules/2.6.25-14.fc9.i686/kernel/fs/ocfs2/dlm/ocfs2_dlm.ko

#./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
Heartbeat dead threshold = 31
  Network idle timeout: 3
  Network keepalive delay: 2000
  Network reconnect delay: 2000

Thanks in advance!

-Original Message-
From: Sunil Mushran [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2008 4:57 PM
To: Tina Soles
Cc: ocfs2-users@oss.oracle.com
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

ocfs2 fs module is shipped with the kernel. So no need to worry there.

$ find /lib/modules/`uname -r` -name \*ocfs2\*
Should return you 4 modules... fs, dlm, nm and userdlm.

The ocfs2-tools rpm should be available tomorrow for download.
Fingers crossed.

Tina Soles wrote:
 Thanks for the reply. Can you be more specific and give me the exact 
 name of the native Fedora 9 rpm(s) that I need for ocfs2 and
ocfs2-tools?
 Thanks.


 *From:* Sunil Mushran [mailto:[EMAIL PROTECTED]
 *Sent:* Fri 6/27/2008 1:16 PM
 *To:* Tina Soles
 *Cc:* ocfs2-users@oss.oracle.com
 *Subject:* Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9

 Fedora ships ocfs2 fs modules natively. You don't have to do all this.
 What is missing is the tools rpm.

 But the good news is that that should be available any day now
 literally speaking.

 Tina Soles wrote:
 
  Hello,
 
  I'm brand new to RAC and ocfs2. I need to install ocfs2, but there
is
  no distribution for Fedora 9, for kernel 2.6.25-14.fc9.i686.
 
  I have obtained the ocfs2-1.3.9-0.1.tar.gz source file, unzipped, it
  and am following the instructions found here:
  

http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#B
UILD
 
  My .rpmmacros file looks like this: (the /usr/src/redhat and all
  subdirectories exist)
 
  %_topdir /usr/src/redhat
 
  %_tmppath /usr/src/redhat/tmp
 
  %_sourcedir /usr/src/redhat/SOURCES
 
  %_specdir /usr/src/redhat/SPECS
 
  %_srcrpmdir /usr/src/redhat/SRPMS
 
  %_rpmdir /usr/src/redhat/RPMS
 
  %_builddir /usr/src/redhat/BUILD
 
  I'm logged in as root.
 
  Here's a list of my kernel* packages installed:
 
  kernel.i686 2.6.25-14.fc9 installed
 
  kernel-PAE-devel.i686 2.6.25.6-55.fc9 installed
 
  kernel-devel.i686 2.6.25-14.fc9 installed
 
  kernel-devel.i586 2.6.25.6-55.fc9 installed
 
  kernel-headers.i386 2.6.25.6-55.fc9 installed
 
  kernel-xen-devel.i686 2.6.25.3-2.fc9 installed
 
  kerneloops.i386 0.10-11.fc9 installed
 
  Here's the contents of /usr/src/kernels:
 
  drwxr-xr-x 19 root root 4096 2008-06-26 13:11 2.6.25-14.fc9.i686
 
  drwxr-xr-x 19 root root 4096 2008-06-26 14:34
2.6.25.3-2.fc9.i686.xen
 
  drwxr-xr-x 19 root root 4096 2008-06-26 14:37 2.6.25.6-55.fc9.i586
 
  drwxr-xr-x 19 root root 4096 2008-06-26 14:33
2.6.25.6-55.fc9.i686.PAE
 
  When I attempt to issue ./vendor/rhel5/kernel.guess targets, it 
 returns me back to the # prompt with no output. I think this is 
 indicative of my problem, but I'm not sure what to do!
 
  I can run ./configure with no problem (see below), but when I
attempt
  to execute the make statement, I get make: *** No rule to make
target
  'rhel5_2.6.25-14.fc9_rpm'. Stop. (see below).
 
  Has anyone successfully built this on Fedora 9, or does anyone have
  any suggestions?
 
  #./configure --with-kernel=/usr/src/kernels/2.6.25-14.fc9.i686
 
  checking build system type... i686-pc-linux-gnu

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

2008-06-27 Thread Tina Soles
... yes

checking for mandatory_lock() in fs.h... yes

checking for range prefix in struct writeback_control... yes

checking for SYNC_FILE_RANGE flags... yes

checking for blkcnt_t in types.h... yes

checking for i_private in struct inode... yes

checking for page_mkwrite in struct vm_operations_struct... yes

checking for get_sb_bdev() with 5 arguments in fs.h... no

checking for read_mapping_page in pagemap.h... yes

checking for ino_t in filldir_t in fs.h... no

checking for invalidatepage returning int in fs.h... no

checking for get_blocks_t type... no

checking for linux/uaccess.h... yes

checking for system_utsname in utsname.h... no

checking for MS_LOOP_NO_AOPS flag defined... no

checking for fops-sendfile() in fs.h... no

checking for task_pid_nr in sched.h... yes

configure: creating ./config.status

config.status: creating Config.make

config.status: creating vendor/rhel5/ocfs2.spec-generic

config.status: creating vendor/suse-kmp/ocfs2.spec-generic

 

#make rhel5_2.6.25-14.fc9_rpm

make: *** No rule to make target `rhel5_2.6.25-14.fc9_rpm'.  Stop.

 

My problem 

Tina Soles

Senior Analyst

 

  http://www.strsoftware.com/ 

 

11505 Allecingie Parkway
Richmond, VA 23235
email. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

phone. 804.897.1600 
fax. 804.897.1638 

web. www.strsoftware.com http://www.strsoftware.com/ 

 

image001.gif___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

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

2008-06-27 Thread Tina Soles
Thanks for the reply. Can you be more specific and give me the exact name of 
the native Fedora 9 rpm(s) that I need for ocfs2 and ocfs2-tools?
 
Thanks.



From: Sunil Mushran [mailto:[EMAIL PROTECTED]
Sent: Fri 6/27/2008 1:16 PM
To: Tina Soles
Cc: ocfs2-users@oss.oracle.com
Subject: Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9



Fedora ships ocfs2 fs modules natively. You don't have to do all this.
What is missing is the tools rpm.

But the good news is that that should be available any day now
literally speaking.

Tina Soles wrote:

 Hello,

 I'm brand new to RAC and ocfs2. I need to install ocfs2, but there is
 no distribution for Fedora 9, for kernel 2.6.25-14.fc9.i686.

 I have obtained the ocfs2-1.3.9-0.1.tar.gz source file, unzipped, it
 and am following the instructions found here:
 http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#BUILD

 My .rpmmacros file looks like this: (the /usr/src/redhat and all
 subdirectories exist)

 %_topdir /usr/src/redhat

 %_tmppath /usr/src/redhat/tmp

 %_sourcedir /usr/src/redhat/SOURCES

 %_specdir /usr/src/redhat/SPECS

 %_srcrpmdir /usr/src/redhat/SRPMS

 %_rpmdir /usr/src/redhat/RPMS

 %_builddir /usr/src/redhat/BUILD

 I'm logged in as root.

 Here's a list of my kernel* packages installed:

 kernel.i686 2.6.25-14.fc9 installed

 kernel-PAE-devel.i686 2.6.25.6-55.fc9 installed

 kernel-devel.i686 2.6.25-14.fc9 installed

 kernel-devel.i586 2.6.25.6-55.fc9 installed

 kernel-headers.i386 2.6.25.6-55.fc9 installed

 kernel-xen-devel.i686 2.6.25.3-2.fc9 installed

 kerneloops.i386 0.10-11.fc9 installed

 Here's the contents of /usr/src/kernels:

 drwxr-xr-x 19 root root 4096 2008-06-26 13:11 2.6.25-14.fc9.i686

 drwxr-xr-x 19 root root 4096 2008-06-26 14:34 2.6.25.3-2.fc9.i686.xen

 drwxr-xr-x 19 root root 4096 2008-06-26 14:37 2.6.25.6-55.fc9.i586

 drwxr-xr-x 19 root root 4096 2008-06-26 14:33 2.6.25.6-55.fc9.i686.PAE

 When I attempt to issue ./vendor/rhel5/kernel.guess targets, it returns me 
 back to the # prompt with no output. I think this is indicative of my 
 problem, but I'm not sure what to do!

 I can run ./configure with no problem (see below), but when I attempt
 to execute the make statement, I get make: *** No rule to make target
 'rhel5_2.6.25-14.fc9_rpm'. Stop. (see below).

 Has anyone successfully built this on Fedora 9, or does anyone have
 any suggestions?

 #./configure --with-kernel=/usr/src/kernels/2.6.25-14.fc9.i686

 checking build system type... i686-pc-linux-gnu

 checking host system type... i686-pc-linux-gnu

 checking for gcc... gcc

 checking for C compiler default output file name... a.out

 checking whether the C compiler works... yes

 checking whether we are cross compiling... no

 checking for suffix of executables...

 checking for suffix of object files... o

 checking whether we are using the GNU C compiler... yes

 checking whether gcc accepts -g... yes

 checking for gcc option to accept ANSI C... none needed

 checking how to run the C preprocessor... gcc -E

 checking for a BSD-compatible install... /usr/bin/install -c

 checking whether ln -s works... yes

 checking for egrep... grep -E

 checking for ANSI C header files... yes

 checking for an ANSI C-conforming const... yes

 checking for vendor... not found

 checking for vendor kernel... not supported

 checking for debugging... no

 checking for directory with kernel build tree...
 /usr/src/kernels/2.6.25-14.fc9.i686

 checking for kernel version... 2.6.25-14.fc9.i686

 checking for directory with kernel sources...
 /usr/src/kernels/2.6.25-14.fc9.i686

 checking for kernel source version... 2.6.25-14.fc9.i686

 checking for struct delayed_work in workqueue.h... yes

 checking for uninitialized_var() in compiler-gcc4.h... yes

 checking for zero_user_page() in highmem.h... no

 checking for do_sync_mapping_range() in fs.h... yes

 checking for fault() in struct vm_operations_struct in mm.h... yes

 checking for f_path in fs.h... yes

 checking for enum umh_wait in kmod.h... yes

 checking for inc_nlink() in fs.h... yes

 checking for drop_nlink() in fs.h... yes

 checking for kmem_cache_create() with dtor arg in slab.h... no

 checking for flag FS_RENAME_DOES_D_MOVE in fs.h... yes

 checking for enum FS_OCFS2 in sysctl.h... yes

 checking for configfs_depend_item() in configfs.h... no

 checking for register_sysctl() with two args in sysctl.h... no

 checking for su_mutex in struct configfs_subsystem in configfs.h... yes

 checking for struct subsystem in kobject.h... no

 checking for is_owner_or_cap() in fs.h... yes

 checking for fallocate() in fs.h... yes

 checking for struct splice_desc in splice.h... yes

 checking for MNT_RELATIME in mount.h... yes

 checking for should_remove_suid() in fs.h... no

 checking for generic_segment_checks() in fs.h... no

 checking for s_op declared as const in struct super_block in fs.h... yes

 checking for i_op declared as const in struct inode in fs.h