Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed


follow us on Twitter





Brocade Doubles Down on 16 Gbps Fibre Channel

Microsoft Wants iOS Apps to Run on WP7

Avaya Debuts New Virtual Services Switch
Database Journal |DBA Support |SQLCourse |SQLCourse2







Technical Specialist – Pre-sales (MA)
Next Step Systems
US-MA-Littleton

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

Oracle

May 5, 2006

Final Checks and OCFS2 Setup - Page 3

By Tarry Singh

Formatting the files with OCFS2

Note: Here we will only format the files where we will keep our OCR, CRS and ASMfile shared files. We will use ASMlibs for all other data files (which we will cover in the next article).

Note2: Unlike other operations, do this ONLY on ONE NODE, it propogates the changes to all nodes.

Choose format:

Here you get to pick the files which we partitioned with fdisk:

Click OK:

Yes and formatting:



Mountpoint:

After formatting , you will need to mount the disks on ALL nodes!

I did eventually end up adding the third (for my spasmfile), I just don't know why I didn't see it before, during formatting.

Configure OCFS to automatically mount on startup

Edit your /etc/fstab file like this:

Check it by typing "mount":

Note: Note that _netdev mount option. It is essential for OCFS2. It basically means that the volume must be mounted after the network is started and dismounted before the network is shutdown.

Also do chkconfig --list o2cb to see the startup options.

How about permissions?

Do the following (that chkconfig command is illustrated for the above mentioned instruction:

Conclusion:

Here we took a good look at OCFS2 and how it works. We formatted our raw devices with OCFS2 and mounted them on all nodes. We made adjustments to cope with the startup during system startup. In our next article, we will pick up the trail and go ahead with ASMlib installation and setup.

» See All Articles by Columnist Tarry Singh

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

Oracle Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 



Latest Forum Threads
Oracle Forum
Topic By Replies Updated
Is there any Issues in Oracle10g regarding UNION Mahesh A 2 January 18th, 05:54 PM
Activate SQLPLUS h4bibfigueredo 3 December 20th, 02:04 PM
DB Activity Monitoring cyrusking 4 December 14th, 09:07 PM
Monitor DBA Access to PHI data Tomson48187 1 November 7th, 03:03 PM