8 Replies Latest reply: Jul 31, 2013 12:16 PM by Catch_22 RSS

    files aren't showing on another node in newly created ocfs2 partition

    Hungry DBA

      Hi Guys,

       

      Configured /u01 as ocfs2 partition for shared storage on OEL5U4 (64 bit)

       

      [root@ebs1 u01]# /etc/init.d/ocfs2 status

      Configured OCFS2 mountpoints:  /u01

      Active OCFS2 mountpoints:  /u01

       

      [root@ebs1 u01]# /etc/init.d/o2cb status

      Driver for "configfs": Loaded

      Filesystem "configfs": Mounted

      Driver for "ocfs2_dlmfs": Loaded

      Filesystem "ocfs2_dlmfs": Mounted

      Checking O2CB cluster ocfs2: Online

      Heartbeat dead threshold = 31

        Network idle timeout: 30000

        Network keepalive delay: 2000

        Network reconnect delay: 2000

      Checking O2CB heartbeat: Active

       

      [root@ebs1 u01]# mounted.ocfs2 -f

      Device                FS     Nodes

      /dev/sdb1             ocfs2  ebs1

       

       

      [root@ebs2 u01]# /etc/init.d/ocfs2 status

      Configured OCFS2 mountpoints:  /u01

      Active OCFS2 mountpoints:  /u01

       

      [root@ebs2 u01]# /etc/init.d/o2cb status

      Driver for "configfs": Loaded

      Filesystem "configfs": Mounted

      Driver for "ocfs2_dlmfs": Loaded

      Filesystem "ocfs2_dlmfs": Mounted

      Checking O2CB cluster ocfs2: Online

      Heartbeat dead threshold = 31

        Network idle timeout: 30000

        Network keepalive delay: 2000

        Network reconnect delay: 2000

      Checking O2CB heartbeat: Active

       

      [root@ebs2 u01]# mounted.ocfs2 -f

      Device                FS     Nodes

      /dev/sdb1             ocfs2  ebs2

       

       

      ]# cat /etc/fstab [On Both Nodes]

      LABEL=/                 /                       ext3    defaults        1 1

      LABEL=/boot             /boot                   ext3    defaults        1 2

      tmpfs                   /dev/shm                tmpfs   defaults        0 0

      devpts                  /dev/pts                devpts  gid=5,mode=620  0 0

      sysfs                   /sys                    sysfs   defaults        0 0

      proc                    /proc                   proc    defaults        0 0

      LABEL=SWAP-sda2         swap                    swap    defaults        0 0

      /dev/sdb1              /u01                    ocfs2   _netdev,datavolume     0 0

       

      Also tried to mount /u01 with 'nointr' but no luck,

       

      [root@ebs2 u01]# touch a z

       

      total 0

      drwxrwxr-x 2 applmgr oinstall 3896 Jan 17 04:49 lost+found

      drwxrwxr-x 3 applmgr oinstall 3896 Jan 17 05:24 app

      -rw-r--r-- 1 root    root        0 Jan 17 08:29 a

      -rw-r--r-- 1 root    root        0 Jan 17 08:37 z

       

      [root@ebs1 u01]# touch b r

       

      [root@ebs1 u01]# ls -lrt

      total 0

      drwxr-xr-x 2 root root 3896 Jan 17 08:33 lost+found

      -rw-r--r-- 1 root root    0 Jan 17 08:34 b

      -rw-r--r-- 1 root root    0 Jan 17 08:37 r

       

       

      So Basically files are not showing in each /u01 common mount point.

       

      Any help would be appreciated...

       

       

      Thanks,

      Manish Nashikkar