You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/faq-nfs.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ ms.workload: storage
6
6
ms.topic: conceptual
7
7
author: b-hchen
8
8
ms.author: anfdocs
9
-
ms.date: 11/08/2022
9
+
ms.date: 03/13/2023
10
10
---
11
11
# NFS FAQs for Azure NetApp Files
12
12
13
13
This article answers frequently asked questions (FAQs) about the NFS protocol of Azure NetApp Files.
14
14
15
-
## I want to have a volume mounted automatically when an Azure VM is started or rebooted. How do I configure my host for persistent NFS volumes?
15
+
## I want to have a volume mounted automatically when an Azure VM is started or rebooted. How do I configure my host for persistent NFS volumes?
16
16
17
17
For an NFS volume to automatically mount at VM start or reboot, add an entry to the `/etc/fstab` file on the host.
18
18
@@ -44,15 +44,17 @@ Make sure that `CaseSensitiveLookup` is enabled on the Windows client to speed u
44
44
45
45
For NFSv4.1 clients, Azure NetApp Files supports the NFSv4.1 file-locking mechanism that maintains the state of all file locks under a lease-based model.
46
46
47
-
Per RFC 3530, Azure NetApp Files defines a single lease period for all state held by an NFS client. If the client does not renew its lease within the defined period, all states associated with the client's lease will be released by the server.
47
+
Per RFC 3530, Azure NetApp Files defines a single lease period for all state held by an NFS client. If the client doesn't renew its lease within the defined period, all states associated with the client's lease will be released by the server.
48
48
49
49
For example, if a client mounting a volume becomes unresponsive or crashes beyond the timeouts, the locks will be released. The client can renew its lease explicitly or implicitly by performing operations such as reading a file.
50
50
51
51
A grace period defines a period of special processing in which clients can try to reclaim their locking state during a server recovery. The default timeout for the leases is 30 seconds with a grace period of 45 seconds. After that time, the client's lease will be released.
52
52
53
-
## Why is the `.snapshot` directory not visible in an NFSv4.1 volume, but it is visible in an NFSv3 volume?
53
+
Azure NetApp Files also supports [breaking file locks](troubleshoot-file-locks.md).
54
54
55
-
By design, the .snapshot directory is never visible to NFSv4.1 clients. By default, the `.snapshot `directory will be visible to NFSv3 clients. To hide the `.snapshot` directory from NFSv3 clients, edit the properties of the volume to [hide the snapshot path](snapshots-edit-hide-path.md).
55
+
## Why is the `.snapshot` directory not visible in an NFSv4.1 volume, but it's visible in an NFSv3 volume?
56
+
57
+
By design, the .snapshot directory is never visible to NFSv4.1 clients. By default, the `.snapshot `directory is visible to NFSv3 clients. To hide the `.snapshot` directory from NFSv3 clients, edit the properties of the volume to [hide the snapshot path](snapshots-edit-hide-path.md).
56
58
57
59
## Oracle dNFS
58
60
@@ -62,22 +64,22 @@ Customers using Oracle 19c and higher must ensure they **are patched for Oracle
62
64
63
65
If a database is exposed to this bug, network interruptions are highly likely to result in fractured block corruption. Network interruptions include events such as storage endpoint relocation, volume relocation, and storage service maintenance events. The corruption may not necessarily be detected immediately.
64
66
65
-
This is not a bug on ONTAP or the Azure NetApp Files service itself. It is the result of an Oracle dNFS bug. The response to an NFS IO during a certain networking interruption or reconfiguration events is mishandled. The database will erroneously write a block that was being updated as it was written. In some cases, the corrupted block will be silently corrected by a later overwrite of that same block. If not, it will eventually be detected by Oracle database processes. An error should be logged in the Alert logs, and the Oracle instance is likely to terminate. In addition, dbv and RMAN operations can detect the corruption.
67
+
This corruption is neither a bug on ONTAP nor the Azure NetApp Files service itself, but the result of an Oracle dNFS bug. The response to an NFS IO during a certain networking interruption or reconfiguration events is mishandled. The database will erroneously write a block that was being updated as it was written. In some cases, a later overwrite of that same block will silently corrupt the corrupted block. If not, Oracle database processes will eventually detect it. An error should be logged in the Alert logs, and the Oracle instance is likely to terminate. In addition, dbv and RMAN operations can detect the corruption.
66
68
67
69
Oracle publishes [document 1495104.1](https://support.oracle.com/knowledge/Oracle%20Cloud/1495104_1.html), which is continually updated with recommended dNFS patches. If your database uses dNFS, ensure the DBA team is checking for updates in this document.
68
70
69
71
### Are there any patches required for use of Oracle dNFS with NFSv4.1?
70
72
71
-
If your databases are using Oracle dNFS with NFSv4.1, they **need to be patched for Oracle bugs 33132050 and 33676296**. You may have to request a backport for other versions of Oracle. For example, at the time of writing, these patches are available for 19.11, but not yet 19.3. If you cite these bug numbers in the support case, Oracle's support engineers will know what to do.
73
+
If your databases are using Oracle dNFS with NFSv4.1, they **need to be patched for Oracle bugs 33132050 and 33676296**. You may have to request a backport for other versions of Oracle. For example, at the time of writing, these patches are available for 19.11, but not yet 19.3. If you cite these bug numbers in the support case, Oracle's support engineers know what to do.
72
74
73
75
This requirement applies to ONTAP-based systems and services in general, which includes both on-premises ONTAP and Azure NetApp Files.
74
76
75
-
Examples of the potential problems if these patches are not applied:
77
+
Examples of the potential problems if these patches aren't applied:
76
78
77
79
1. Database hangs on backend storage endpoint moves.
78
80
1. Database hangs on Azure NetApp Files service maintenance events.
79
81
1. Brief Oracle hangs during normal operation that may or may not be noticeable.
80
-
1. Slow Oracle shutdowns: if you monitor the shutdown process, you'll see pauses that could add up to minutes of delays as dNFS I/O times out.
82
+
1. Slow Oracle shutdowns: if you monitor the shutdown process, you see pauses that could add up to minutes of delays as dNFS I/O times out.
81
83
1. Incorrect dNFS reply caching behavior on reads that will hang a database.
82
84
83
85
The patches include a change in dNFS session management and NFS reply caching that resolves these problems.
@@ -86,7 +88,7 @@ The patches include a change in dNFS session management and NFS reply caching th
86
88
87
89
### Can I use multipathing with Oracle dNFS and NFSv4.1?
88
90
89
-
dNFS will not work with multiple paths when using NFSv4.1. If you need multiple paths, you will have to use NFSv3. dNFS requires cluster-wide `clientID` and `sessionID` trunking for NFSv4.1 to work with multiple paths, and this is not supported by Azure NetApp Files. The result when trying to use this is a hang during dNFS startup
91
+
When using NFSv4.1, dNFS won't work with multiple paths. If you need multiple paths, you have to use NFSv3. dNFS requires cluster-wide `clientID` and `sessionID` trunking for NFSv4.1 to work with multiple paths, which Azure NetApp Files does not support. As a result, you'll experience a hang during dNFS startup
Azure NetApp Files also supports [`LOCK` response](/openspecs/windows_protocols/ms-smb2/e215700a-102c-450a-a598-7ec2a99cd82c). This response is for the client’s request that comes in the form of a [`LOCK` request](/openspecs/windows_protocols/ms-smb2/6178b960-48b6-4999-b589-669f88e9017d).
82
82
83
+
Azure NetApp Files also supports [breaking file locks](troubleshoot-file-locks.md).
84
+
83
85
## What network authentication methods are supported for SMB volumes in Azure NetApp Files?
84
86
85
87
NTLMv2 and Kerberos network authentication methods are supported with SMB volumes in Azure NetApp Files. NTLMv1 and LanManager are disabled and are not supported.
title: Troubleshoot file locks for an Azure NetApp Files volume | Microsoft Docs
3
+
description: This article explains how to break file locks in an Azure NetApp Files volume.
4
+
services: azure-netapp-files
5
+
documentationcenter: ''
6
+
author: b-ahibbard
7
+
manager: ''
8
+
editor: ''
9
+
10
+
ms.assetid:
11
+
ms.service: azure-netapp-files
12
+
ms.workload: storage
13
+
ms.tgt_pltfrm: na
14
+
ms.topic: how-to
15
+
ms.date: 03/13/2023
16
+
ms.author: anfdocs
17
+
---
18
+
# Troubleshoot file locks on an Azure NetApp Files volume
19
+
20
+
In case you encounter (stale) file locks on NFS, SMB, or dual-protocol volumes that need to be cleared, Azure NetApp Files allows you to break these locks.
21
+
22
+
You can break file locks for all files in a volume or break all file locks initiated by a specified client. Breaking file locks may be disruptive.
23
+
24
+
## Break file locks
25
+
26
+
1. Navigate to the volume you want to break file locks on. In the **Volume** menu under **Support & Troubleshooting**, navigate to **Break File Locks**.
27
+
1. To break file locks for a specific client connected to a volume, enter an IP address in the **Client IP**. To break file locks for all clients connected to a volume, leave the **Client IP** field empty.
28
+
1. Select **Break File Locks**.
29
+
30
+
:::image type="content" source="../media/azure-netapp-files/break-file-locks.png" alt-text="Screenshot of break file locks portal." lightbox="../media/azure-netapp-files/break-file-locks.png":::
31
+
32
+
1. Confirm you understand that breaking file locks may be disruptive.
0 commit comments