[Linux-cluster] Cman tool leave remove, device or resource busy

David Teigland teigland at redhat.com
Wed Oct 24 18:50:06 UTC 2007


On Mon, Oct 22, 2007 at 02:05:16PM -0600, Josh Gray wrote:
> I see in the FAQ the proper way to leave a cluster is with 'cman_tool leave
> remove'  I am getting a  'device or resource busy' error when I do that even
> with GFS mounts removed and stopped.   What am I missing?  The only service
> I see up is a "fence" type called "default"  do I have to stop one more
> thing?
> 
> Basically doing this:
> 
> service nfs stop
> umount /export
> service gfs stop
> service rgmanager stop
> service clvmd stop
> cman_tool leave remove
> 
> Tells me this:
> cman_tool: Error leaving cluster: Device or resource busy


> [root at nfs-6 ~]# cman_tool services
> type             level name     id       state
> fence            0     default  00010003 none
> [1 2 3]

You need to run 'fence_tool leave' before trying to leave the cluster, or
use 'service cman stop' which does that prior to cman_tool leave.

Dave




More information about the Linux-cluster mailing list