Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • clusterfs does not dismount when service is stopped

    Posted on

    OK, I have another cluster problem maybe someone can help me with. I want my clustered filesystems to unmount when the service is stopped and then get mounted on the other node when the service gets started on it. This is not occuring and I get the following error:

     

    Sep 22 18:24:56 etvfdpd3 clurgmgrd[5837]: Stopping service service:etvfdpd3svc
    Sep 22 18:24:56 etvfdpd3 clurgmgrd: [5837]: Removing IPv4 address 166.68.70.157/24 from bond0
    Sep 22 18:25:06 etvfdpd3 clurgmgrd: [5837]: Not unmounting clusterfs:db2 - still in use by 1 other service(s)
     

    It also appears that a service is still using the clustered filesystems:

     

    root@etvfdpd3:/etc/cluster # cman_tool services
    type             level name           id       state

    dlm              1     lvdb2          00150001 none
    [1]

    gfs              2     lvdb2          00140001 none
    [1]
     

    Whats intersting is using rg_test seems to work just fine:

     

    root@etvfdpd3:/etc/cluster # rg_test test cluster.conf start service etvfdpd3svc
    Running in test mode.
    Starting etvfdpd3svc...

      mount -t gfs2  /dev/mapper/vgdb2-lvdb2 /db2
       Adding IPv4 address 166.68.70.157/24 to bond0
      Pinging addr 166.68.70.157 from dev bond0
      Sending gratuitous ARP: 166.68.70.157 f0:4d:a2:3d:cb:c8 brd ff:ff:ff:ff:ff:ff
    Start of etvfdpd3svc complete
     

    root@etvfdpd3:/etc/cluster # df -h /db2
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/vgdb2-lvdb2
                          1.4T  2.1G  1.4T   1% /db2
     

    root@etvfdpd3:/etc/cluster # rg_test test cluster.conf stop service etvfdpd3svc Running in test mode.
    Stopping etvfdpd3svc...
       Removing IPv4 address 166.68.70.157/24 from bond0
       unmounting /dev/mapper/vgdb2-lvdb2 (/db2)
    Stop of etvfdpd3svc complete

     

    And I see this in the message log:

     

    Sep 22 18:29:06 etvfdpd3 rg_test: [13420]: unmounting /dev/mapper/vgdb2-lvdb2 (/db2)
     

    I have my clusterfs setup in the service section like this:

     

       
          

          
     

    NOTE the force_unmount="1"

     

    Once again I am stumped and would appreciate any help.

     

    Mark

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.