IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 8 replies
  • Latest Post - ‏2007-01-23T00:13:50Z by SystemAdmin
SystemAdmin
SystemAdmin
47293 Posts

Pinned topic Error when stopping ClearCase in Linux

‏2007-01-22T04:18:40Z |
I get the following error when attempting to stop CC on a RedHat ES4machine. Don't think it's a big problem since CC does stop, but does anyone know why this is happening? I closed all applications, terminal windows, remote users and stopped the Samba processes.

root@redhat ~# /sbin/service clearcase stop
Unmounting VOBs...
ERROR: Module mvfs is in use
Trouble unloading the mvfs module(8:1)

Thanks,

Jozef
Updated on 2007-01-23T00:13:50Z at 2007-01-23T00:13:50Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re:Error when stopping ClearCase in Linux

    ‏2007-01-22T07:19:01Z  
    Hi Josef,

    If the mounts exceed more than 1024 , that time if you try to mount the vob
    , mvfs module will get crash. That time usually ClearCase will through this
    error message.

    Red hat support maximum 1024 mounts on account you are getting this error
    message.

    Reboot only is the recommended solution.

    Thanks
    Thanigainesan

    On 1/22/07, Jozef <disadmin@us.ibm.com> wrote:
    >
    > I get the following error when attempting to stop CC on a RedHat
    > ES4machine. Don't think it's a big problem since CC does stop, but does
    > anyone know why this is happening? I closed all applications, terminal
    > windows, remote users and stopped the Samba processes.
    >
    > root@redhat ~# /sbin/service clearcase stop
    > Unmounting VOBs...
    > ERROR: Module mvfs is in use
    > Trouble unloading the mvfs module(8:1)
    >
    > Thanks,
    >
    > Jozef
    >
    > _______________________________________________
    > cciug mailing list
    > cciug@lists.ca.ibm.com
    > Unsubscribe:cciug-leave@lists.ca.ibm.com
    >

    Hi
    Josef,

    If the mounts exceed more than 1024 , that time if you try to mount the vob ,
    mvfs module will get crash. That time usually ClearCase will through this error
    message.


    Red
    hat support maximum 1024 mounts on account you are getting this error message.


    Reboot
    only is the recommended solution.

    Thanks
    Thanigainesan



    On 1/22/07, Jozef <disadmin@us.ibm.com> wrote:
    I get the following error when attempting to stop CC on a RedHat ES4machine. Don't think it's a big problem since CC does stop, but does anyone know why this is happening? I closed all applications, terminal windows, remote users and stopped the Samba processes.


    root@redhat ~# /sbin/service clearcase stop
    Unmounting VOBs...
    ERROR: Module mvfs is in use
    Trouble unloading the mvfs module(8:1)

    Thanks,

    Jozef

    _______________________________________________

    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com

    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Error when stopping ClearCase in Linux

    ‏2007-01-22T18:27:37Z  
    I run into this occasionally with RHEL3, and here's the work-around I came up with:

    As root, run the following:
    • do a 'df' and note the problem VOBs still mounted
    • do a 'umount -f <mount>' on each problem VOB above
    • do a 'rmmod mvfs vnode' to clean up the MVFS-related kernel modules still hanging around

    ClearCase will then be properly stopped, including MVFS.

    I turned this into a better stop script (in Bash), so if you're interested in it, perhaps I'll post it.

    Hope this helps,
    -Marc
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Re:Error when stopping ClearCase in Linux

    ‏2007-01-22T18:50:48Z  
    Hi Josef,

    If the mounts exceed more than 1024 , that time if you try to mount the vob
    , mvfs module will get crash. That time usually ClearCase will through this
    error message.

    Red hat support maximum 1024 mounts on account you are getting this error
    message.

    Reboot only is the recommended solution.

    Thanks
    Thanigainesan

    On 1/22/07, Jozef <disadmin@us.ibm.com> wrote:
    >
    > I get the following error when attempting to stop CC on a RedHat
    > ES4machine. Don't think it's a big problem since CC does stop, but does
    > anyone know why this is happening? I closed all applications, terminal
    > windows, remote users and stopped the Samba processes.
    >
    > root@redhat ~# /sbin/service clearcase stop
    > Unmounting VOBs...
    > ERROR: Module mvfs is in use
    > Trouble unloading the mvfs module(8:1)
    >
    > Thanks,
    >
    > Jozef
    >
    > _______________________________________________
    > cciug mailing list
    > cciug@lists.ca.ibm.com
    > Unsubscribe:cciug-leave@lists.ca.ibm.com
    >

    Hi
    Josef,

    If the mounts exceed more than 1024 , that time if you try to mount the vob ,
    mvfs module will get crash. That time usually ClearCase will through this error
    message.


    Red
    hat support maximum 1024 mounts on account you are getting this error message.


    Reboot
    only is the recommended solution.

    Thanks
    Thanigainesan



    On 1/22/07, Jozef <disadmin@us.ibm.com> wrote:
    I get the following error when attempting to stop CC on a RedHat ES4machine. Don't think it's a big problem since CC does stop, but does anyone know why this is happening? I closed all applications, terminal windows, remote users and stopped the Samba processes.


    root@redhat ~# /sbin/service clearcase stop
    Unmounting VOBs...
    ERROR: Module mvfs is in use
    Trouble unloading the mvfs module(8:1)

    Thanks,

    Jozef

    _______________________________________________

    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com

    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
    Thanks for the reply but I have a lot fewer than 1024 mount points...

    Jozef

    > If the mounts exceed more than 1024 , that time if
    >
    > >
    > > I get the following error when attempting to stop
    > CC on a RedHat
    > >
    > > root@redhat ~# /sbin/service clearcase stop
    > > Unmounting VOBs...
    > > ERROR: Module mvfs is in use
    > > Trouble unloading the mvfs module(8:1)
    > >
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Error when stopping ClearCase in Linux

    ‏2007-01-22T18:54:38Z  
    I run into this occasionally with RHEL3, and here's the work-around I came up with:

    As root, run the following:
    • do a 'df' and note the problem VOBs still mounted
    • do a 'umount -f <mount>' on each problem VOB above
    • do a 'rmmod mvfs vnode' to clean up the MVFS-related kernel modules still hanging around

    ClearCase will then be properly stopped, including MVFS.

    I turned this into a better stop script (in Bash), so if you're interested in it, perhaps I'll post it.

    Hope this helps,
    -Marc
    Thanks for the reply, but 'df' does not show any mounted vobs anymore, and ' rmmod mvfs' continue to report 'module mvfs is in use'...

    Jozef

    >
    > As root, run the following:
    > * do a 'df' and note the problem VOBs still mounted
    > * do a 'umount -f <mount>' on each problem VOB above
    > * do a 'rmmod mvfs vnode' to clean up the
    > MVFS-related kernel modules still hanging around
    >
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Error when stopping ClearCase in Linux

    ‏2007-01-22T19:03:51Z  
    Thanks for the reply, but 'df' does not show any mounted vobs anymore, and ' rmmod mvfs' continue to report 'module mvfs is in use'...

    Jozef

    >
    > As root, run the following:
    > * do a 'df' and note the problem VOBs still mounted
    > * do a 'umount -f <mount>' on each problem VOB above
    > * do a 'rmmod mvfs vnode' to clean up the
    > MVFS-related kernel modules still hanging around
    >
    Hmmm, is nothing returned to standard error? I end up doing this to only show me standard error from df (which I subsequently parse for invalid /vobs/<vob> entries):
    codedf 2>&1 > /dev/null[/code]
    You might want to also check the contents of /etc/mtab -- that could contain the problematic VOB mounts as well.

    -Marc

    > Thanks for the reply, but 'df' does not show any
    > mounted vobs anymore, and ' rmmod mvfs' continue to
    > report 'module mvfs is in use'...
    >
    > > As root, run the following:
    > > * do a 'df' and note the problem VOBs still
    > mounted
    > > * do a 'umount -f <mount>' on each problem VOB
    > above
    > > * do a 'rmmod mvfs vnode' to clean up the
    > > MVFS-related kernel modules still hanging around
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Error when stopping ClearCase in Linux

    ‏2007-01-22T21:18:50Z  
    Hmmm, is nothing returned to standard error? I end up doing this to only show me standard error from df (which I subsequently parse for invalid /vobs/<vob> entries):
    codedf 2>&1 > /dev/null[/code]
    You might want to also check the contents of /etc/mtab -- that could contain the problematic VOB mounts as well.

    -Marc

    > Thanks for the reply, but 'df' does not show any
    > mounted vobs anymore, and ' rmmod mvfs' continue to
    > report 'module mvfs is in use'...
    >
    > > As root, run the following:
    > > * do a 'df' and note the problem VOBs still
    > mounted
    > > * do a 'umount -f <mount>' on each problem VOB
    > above
    > > * do a 'rmmod mvfs vnode' to clean up the
    > > MVFS-related kernel modules still hanging around
    Nope. Nothing to stderr... And /etc/mtab does not contain any VOB mounts. Any other ideas? :)

    Thanks,

    Jozef
    > Hmmm, is nothing returned to standard error? I end
    > up doing this to only show me standard error from df
    > (which I subsequently parse for invalid /vobs/<vob>
    > entries):
    > codedf 2>&1 > /dev/null[/code]
    > You might want to also check the contents of
    > /etc/mtab -- that could contain the problematic VOB
    > mounts as well.
    >
    > > Thanks for the reply, but 'df' does not show any
    > > mounted vobs anymore, and ' rmmod mvfs' continues
    > to
    > > report 'module mvfs is in use'...
    > >
    > > > As root, run the following:
    > > > * do a 'df' and note the problem VOBs still
    > > mounted
    > > > * do a 'umount -f <mount>' on each problem VOB
    > > above
    > > > * do a 'rmmod mvfs vnode' to clean up the
    > > > MVFS-related kernel modules still hanging around
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re:Re: Error when stopping ClearCase in Linux

    ‏2007-01-22T22:18:04Z  
    Nope. Nothing to stderr... And /etc/mtab does not contain any VOB mounts. Any other ideas? :)

    Thanks,

    Jozef
    > Hmmm, is nothing returned to standard error? I end
    > up doing this to only show me standard error from df
    > (which I subsequently parse for invalid /vobs/<vob>
    > entries):
    > codedf 2>&1 > /dev/null[/code]
    > You might want to also check the contents of
    > /etc/mtab -- that could contain the problematic VOB
    > mounts as well.
    >
    > > Thanks for the reply, but 'df' does not show any
    > > mounted vobs anymore, and ' rmmod mvfs' continues
    > to
    > > report 'module mvfs is in use'...
    > >
    > > > As root, run the following:
    > > > * do a 'df' and note the problem VOBs still
    > > mounted
    > > > * do a 'umount -f <mount>' on each problem VOB
    > > above
    > > > * do a 'rmmod mvfs vnode' to clean up the
    > > > MVFS-related kernel modules still hanging around
    Hmm.. So a "cleartool umount -all" works fine. What's the contents of
    the /view directory? Is that empty? I wonder if that's the portion
    that's "locking" the mvfs module.

    Jozef wrote:
    > Nope. Nothing to stderr... And /etc/mtab does not contain any VOB mounts. Any other ideas? :)
    >
    > Thanks,
    >
    > Jozef
    >
    >
    >
    >> Hmmm, is nothing returned to standard error? I end
    >> up doing this to only show me standard error from df
    >> (which I subsequently parse for invalid /vobs/<vob>
    >> entries):
    >>
    df 2>&1 > /dev/
    
    null >>    
    >
    >
    >> You might want to also check the contents of
    >> /etc/mtab -- that could contain the problematic VOB
    >> mounts as well.
    >>
    >>
    >>> Thanks for the reply, but 'df' does not show any
    >>> mounted vobs anymore, and ' rmmod mvfs' continues
    >>>
    >> to
    >>
    >>> report 'module mvfs is in use'...
    >>>
    >>>
    >>>> As root, run the following:
    >>>> * do a 'df' and note the problem VOBs still
    >>>>
    >>> mounted
    >>>
    >>>> * do a 'umount -f <mount>' on each problem VOB
    >>>>
    >>> above
    >>>
    >>>> * do a 'rmmod mvfs vnode' to clean up the
    >>>> MVFS-related kernel modules still hanging around
    >>>>
    >
    >
    > _______________________________________________
    > cciug mailing list
    > cciug@lists.ca.ibm.com
    > Unsubscribe:cciug-leave@lists.ca.ibm.com
    >
    >

    -
    Jon Velapoldi

    Jon_Velapoldi@Raytheon.com
    (301) 925-0982
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Re:Re: Error when stopping ClearCase in Linux

    ‏2007-01-23T00:13:50Z  
    Hmm.. So a "cleartool umount -all" works fine. What's the contents of
    the /view directory? Is that empty? I wonder if that's the portion
    that's "locking" the mvfs module.

    Jozef wrote:
    > Nope. Nothing to stderr... And /etc/mtab does not contain any VOB mounts. Any other ideas? :)
    >
    > Thanks,
    >
    > Jozef
    >
    >
    >
    >> Hmmm, is nothing returned to standard error? I end
    >> up doing this to only show me standard error from df
    >> (which I subsequently parse for invalid /vobs/<vob>
    >> entries):
    >>
    df 2>&1 > /dev/
    
    null >>    
    >
    >
    >> You might want to also check the contents of
    >> /etc/mtab -- that could contain the problematic VOB
    >> mounts as well.
    >>
    >>
    >>> Thanks for the reply, but 'df' does not show any
    >>> mounted vobs anymore, and ' rmmod mvfs' continues
    >>>
    >> to
    >>
    >>> report 'module mvfs is in use'...
    >>>
    >>>
    >>>> As root, run the following:
    >>>> * do a 'df' and note the problem VOBs still
    >>>>
    >>> mounted
    >>>
    >>>> * do a 'umount -f <mount>' on each problem VOB
    >>>>
    >>> above
    >>>
    >>>> * do a 'rmmod mvfs vnode' to clean up the
    >>>> MVFS-related kernel modules still hanging around
    >>>>
    >
    >
    > _______________________________________________
    > cciug mailing list
    > cciug@lists.ca.ibm.com
    > Unsubscribe:cciug-leave@lists.ca.ibm.com
    >
    >

    -
    Jon Velapoldi

    Jon_Velapoldi@Raytheon.com
    (301) 925-0982
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
    Yep. ct umount -all works ok. You know, even when the mvfs is not loaded, I still get "mvfs is in use"!

    1. ct umount -all
    2. /sbin/service clearcase stop
    /opt/rational/clearcase/etc/clearcase: The mvfs is not loaded.
    /opt/rational/clearcase/etc/clearcase: Not attempting to unmount VOBs.
    ERROR: Module mvfs is in use
    Trouble unloading the mvfs module(8:1)
    > Hmm.. So a "cleartool umount -all" works fine.
    > What's the contents of
    > the /view directory? Is that empty? I wonder if
    > that's the portion
    > that's "locking" the mvfs module.
    >
    > Jozef wrote:
    > > Nope. Nothing to stderr... And /etc/mtab does not
    > contain any VOB mounts. Any other ideas? :)
    > >
    > >
    > >> Hmmm, is nothing returned to standard error? I
    > end
    > >> up doing this to only show me standard error from
    > df
    > >> (which I subsequently parse for invalid
    > /vobs/<vob>
    > >> entries):
    > >>
    df 2>&1 > /dev/ 
    color="navy">
    null > >>    
    > >
    > >
    > >> You might want to also check the contents of
    > >> /etc/mtab -- that could contain the problematic
    > VOB
    > >> mounts as well.
    > >>
    > >>
    > >>> Thanks for the reply, but 'df' does not show any
    > >>> mounted vobs anymore, and ' rmmod mvfs' continues
    > >>>
    > >> to
    > >>
    > >>> report 'module mvfs is in use'...
    > >>>
    > >>>
    > >>>> As root, run the following:
    > >>>> * do a 'df' and note the problem VOBs still
    > >>>>
    > >>> mounted
    > >>>
    > >>>> * do a 'umount -f <mount>' on each problem VOB
    > >>>>
    > >>> above
    > >>>
    > >>>> * do a 'rmmod mvfs vnode' to clean up the
    > >>>> MVFS-related kernel modules still hanging around
    > >>>>
    > >
    > >
    > > _______________________________________________
    > > cciug mailing list
    > > cciug@lists.ca.ibm.com
    > > Unsubscribe:cciug-leave@lists.ca.ibm.com
    > >
    > >
    >
    > --
    > -
    > Jon Velapoldi
    >
    > Jon_Velapoldi@Raytheon.com
    > (301) 925-0982
    >
    >
    > _______________________________________________
    > cciug mailing list
    > cciug@lists.ca.ibm.com
    > Unsubscribe:cciug-leave@lists.ca.ibm.com
    >