This discussion is archived
2 Replies Latest reply: Jan 16, 2013 3:48 AM by Dude! RSS

NFS mount - file lock

842995 Newbie
Currently Being Moderated
I'm running a linux KVM guest on CentOS release 5.8 (Final). Oracle is installed on the NFS share on a netapp storage device. When oracle starts it creates a file lock on the control files etc....located on the netapp storage device. The issue is if/when the server reboots (uncleanly) the lock files don't get released on the netapp storage and oracle will not start after an unclean shutdown ( example, server crash ) unless the file locks are released manually on the netapp storage.

Anyone have suggestions on options for mounting the oracle nfs shared to prevent this behavior?
  • 1. Re: NFS mount - file lock
    rukbat Guru Moderator
    Currently Being Moderated
    Moderator Action:
    This post has been moved from the Storage forum,
    to the Generic Linux forum, for closer topic alignment.

    Comment:
    You had it in a HARDWARE forum but have no apparent issues with Sun/Oracle branded storage hardware. Your question may even be outside the scope of this entire OTN forum web site as it appears to be specific to your OS or your external storage peripheral. Perhaps you might consider finding a CentOS or a NetApp forum instead.
  • 2. Re: NFS mount - file lock
    Dude! Guru
    Currently Being Moderated
    Your Firewalls may block communication between the client’s lock manager and the server. Apparently you can fix the lock recovery problem using NetApp's sm_mon -l or lock break commands. I suggest to search the Internet for "netapp network lock manager" or find Netapp forum.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points