[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [BUG] /etc/init.d/cman unmounts configfs unconditionally



There is more than one user of configfs.  When you run "/etc/init.d/cman
stop", the script unmounts configfs even if there are other users.  This
is unexpected (and antisocial, really) behavior.

In o2cb.init, we do it like this:

    # Only unmount configfs if there are no other users
    if [ -z "$(ls -1 "$(configfs_path)")" ]
    then 
        unmount_filesystem "configfs" "$(configfs_path)"
        if_fail $?
    fi   

Joel

-- 

Life's Little Instruction Book #207

	"Swing for the fence."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel becker oracle com
Phone: (650) 506-8127


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]