Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

11g R2 RAC on VMWare - ocfs2 problem

user130038Jul 11 2011 — edited Jul 12 2011
Hi there

I am creating two node 11gR2 RAC using VMWare. I have successfully installed Grid Infrastructure. The next step in the guide I am following is to configure OCFS2.

I installed the 3-required RPMs (ocfs2-tools-1.*, ocfs2-el5- and ocfs2console-* on both VMs as root). I ran "ocfs2console" and created cluster configuration successfully. See the cluster.conf contents below:
[root@collabn1 Server]# more /etc/ocfs2/cluster.conf
node:
        ip_port = 7777
        ip_address = 172.16.100.51
        number = 0
        name = collabn1
        cluster = ocfs2
 
node:
        ip_port = 7777
        ip_address = 172.16.100.52
        number = 1
        name = collabn2
        cluster = ocfs2
 
cluster:
        node_count = 2
        name = ocfs2
I propagated the configuration to 2nd node successfully using menu option and I can see the cluster.conf file with same contents as above on 2nd node as well.

The next step is to "*format*" the device for OCFS filesystem. When I try this, I get an error:
ocfs2console
   TASKS
        FORMAT
              Error: No unmounted partitions
root@collabn1 Server]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       22G  5.4G   15G  27% / 
/dev/sda1              99M   12M   82M  13% /boot
tmpfs                 760M  154M  606M  21% /dev/shm
.host:/               454G  404G   50G  90% /mnt/hgfs
/dev/hdc              2.9G  2.9G     0 100% /media/Enterprise Linux dvd 20100405
[root@collabn1 Server]# fdisk -l
 
Disk /dev/sda: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        3263    26105625   8e  Linux LVM
 
Disk /dev/sdb: 3489 MB, 3489660928 bytes
255 heads, 63 sectors/track, 424 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         424     3405748+  da  Non-FS data
 
Disk /dev/sdc: 3489 MB, 3489660928 bytes
255 heads, 63 sectors/track, 424 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         424     3405748+  da  Non-FS data
[root@collabn1 Server]#
Could someone please help me figure out what the problem is? Please let me know if any further info is required to analyze the issue.

Regards

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 8 2011
Added on Jul 11 2011
9 comments
1,442 views