[Ocfs2-users] ocfs2 initial beta release
Wim Coekaerts
wim.coekaerts at oracle.com
Fri Feb 27 19:32:37 CST 2004
http://oss.oracle.com/projects/ocfs2/
our initial test release for v2, see readme below.
rpms can be found in the Files section
note you also need to update the ocfstools
which can be found under
http://oss.oracle.com/projects/ocfs-tools/
please do not use oracle support for bugs for ocfs2
use the bugzilla setup on oss.oracle.com for the ocfs2 project
thanks
Wim
OCFS Version 2 BETA 1
*** WARNING WARNING WARNING ***
This is BETA software. It should absolutely NOT be run on production
systems. If you are looking to run OCFS on a production system, check
out OCFS version 1.
WHAT IS OCFS2?
OCFS2 is the latest version of the Oracle Cluster File System
software. Where OCFS1 was designed specifically "for Oracle Database
files", OCFS2 supports a shared ORACLE_HOME installation. New features
include:
* Shared ORACLE_HOME
* Improved performance of meta data operations (space allocation,
locking, etc).
* Improved meta data caching.
* Improved data caching (for files such as oracle binaries, libraries, etc)
* Network based DLM is used by default.
* Improved journaling / node recovery - we now use the Linux Kernel "JBD"
subsystem
* Keep the same performance for Oracle data files as OCFS1.
* CDSL for node specific files
Some features are planned for the production release but are missing
in this beta:
* Migration from OCFS1 file systems and back
* Fsck and other standard OCFS tools
INSTALLING OCFS2
WARNING: you will likely have to reformat OCFS2 beta1 file systems when
the production version of OCFS2 is released. No other migration path
(from Beta file systems) will be provided.
Step 1: Download and install OCFS2 and OCFS-tools
To install you need to download the OCFS2 Beta RPMS for your system
from the following location:
http://oss.oracle.com/projects/ocfs2/files/
You will need the module RPM for your kernel version and the
ocfs2-support rpm for your distribution.
Also, download the latest OCFS-tools rpm (version 1.1.0) from the
following location:
http://oss.oracle.com/projects/ocfs-tools/files/
Install the packages using your package manager. The OCFS2 packages
are designed to co-exist with an existing OCFS1 installation.
Step 2: Create / Convert a file system
Two options are provided at this time to get an OCFS2 file system.
Regardless of which option you choose, you will no longer be able to
mount the OCFS2 file system with OCFS1. A back wards migration path will be
provided at a later date.
The examples below assume you want an OCFS2 file system on
"/dev/sdb1" and are mounting it at "/ocfs2". Replace those values with
your own.
Creating a new OCFS2 file system is nearly exactly like creating an
OCFS1 file system, except you should run "mkfs.ocfs2" instead of
"mkfs.ocfs". Also, if you're planning to run Oracle in a shared home
configuration, we recommend you use a block size of 4K, rather than the
128K we recommend for OCFS1. An example follows:
$ mkfs.ocfs2 -b 4 -L ocfs2_test -m /ocfs2 /dev/sdb1
If you have an existing OCFS1 file system which you'd like to convert
to OCFS2 (this will preserve your data), you can use the '-c 2' option
to the tuneocfs binary to upgrade the file system version. Make sure
that the OCFS1 file system was cleanly unmounted from ALL nodes, then
run the following command:
$ tuneocfs -c 2 /dev/sdb1
Again, you will NOT be able to convert your file system back to OCFS1
after either of these two options.
REPORTING BUGS
To report OCFS2 bugs, please use bugzilla:
http://oss.oracle.com/bugzilla/buglist.cgi?product=OCFS%20v2%20(WIP)
Please try to be as verbose in bug reports as possible.
MAILING LISTS
Please join the OCFS2 mailing lists at:
http://oss.oracle.com/projects/ocfs2/mailman/
More information about the Ocfs2-users
mailing list