Forum Discussion

cowboycraig's avatar
17 years ago

howto unmount cfs mount?

  

I am running a SFRAC (Veritas VCS 5.0) cluster and want to remove a CFS mount.

It is the one cut and pasted from the main.cf below.

 

        CFSMount cfsmount_devdata (

                Critical = 0

                MountPoint = "/oradata/data/dev"

                BlockDevice = "/dev/vx/dsk/oradatadg/devdatavol"

                MountOpt = "suid,rw"

                )

 

How do I remove that from the clusters config?

 

 

Thanks!

Craig

  • Hello Craig,

    you have two options:

    1.- remove this resource with de java cluster manager.

    2.- remove this resource manually in the main.cf file, executing this steps:
            a.- haconf -dump -makero -(close cluster configuration)
            b.- hastop -all -force (stop cluster service without stop service) in 1 node.
            c.- cp /etc/VRTSvcs/conf/config/main.cf /etc/VRTSvcs/conf/config/main.cf_old
            d.- vi main.cf and remove:

    CFSMount cfsmount_devdata (

                    Critical = 0

                    MountPoint = "/oradata/data/dev"

                    BlockDevice = "/dev/vx/dsk/oradatadg/devdatavol"

                    MountOpt = "suid,rw"

                    )

              And remove all dependencies that have to resource cfsmount_devdata

              e.- hacf -verify /etc/VRTSvcs/conf/config/.
              f.- hastart node 1
              g.- hastatus (review startup)
              h.- hastart node 2

    EnD..