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/storage/files/files-troubleshoot-linux-nfs.md
+55-13Lines changed: 55 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,10 @@ Even if you correctly disable idmapping, it can be automatically re-enabled in s
36
36
Make sure you've disabled idmapping and that nothing is re-enabling it. Then perform the following steps:
37
37
38
38
- Unmount the share
39
-
- Disable idmapping with `# echo Y > /sys/module/nfs/parameters/nfs4_disable_idmapping`
39
+
- Disable idmapping with
40
+
```bash
41
+
sudo echo Y > /sys/module/nfs/parameters/nfs4_disable_idmapping
42
+
```
40
43
- Mount the share back
41
44
- If running rsync, run rsync with the "—numeric-ids" argument from a directory that doesn't have a bad dir/file name.
42
45
@@ -90,39 +93,78 @@ Disable **secure transfer required** in your storage account's configuration bla
90
93
91
94
:::image type="content" source="media/storage-files-how-to-mount-nfs-shares/disable-secure-transfer.png" alt-text="Screenshot of storage account configuration blade, disabling secure transfer required.":::
92
95
93
-
### Cause 3: nfs-common package isn't installed
94
-
Before running the `mount` command, install the nfs-common package.
96
+
### Cause 3: nfs-utils, nfs-client or nfs-common package isn't installed
97
+
Before running the `mount` command, install the nfs-utils, nfs-client or the nfs-common package.
98
+
99
+
To check if the NFS package is installed, run:
100
+
101
+
# [RHEL](#tab/RHEL)
102
+
103
+
Same commands on this section apply for CentOS and Oracle Linux.
104
+
105
+
```bash
106
+
sudo rpm -qa | grep nfs-utils
107
+
```
108
+
# [SLES](#tab/SLES)
95
109
96
-
To check if the NFS package is installed, run: `rpm qa | grep nfs-utils`
110
+
```bash
111
+
sudo rpm -qa | grep nfs-client
112
+
```
113
+
# [Ubuntu](#tab/Ubuntu)
114
+
115
+
Same commands on this section apply for Debian.
116
+
117
+
```bash
118
+
sudo dpkg -l | grep nfs-common
119
+
```
120
+
---
97
121
98
122
#### Solution
99
123
100
124
If the package isn't installed, install the package using your distro-specific command.
101
125
102
-
##### Ubuntu or Debian
126
+
# [RHEL](#tab/RHEL)
127
+
128
+
Same commands on this section apply for CentOS and Oracle Linux.
103
129
130
+
Os Version 7.X
131
+
132
+
```bash
133
+
sudo yum install nfs-utils
104
134
```
105
-
sudo apt update
106
-
sudo apt install nfs-common
135
+
OS Version 8.X or 9.X
136
+
137
+
```bash
138
+
sudo dnf install nfs-utils
107
139
```
108
140
109
-
##### Fedora, Red Hat Enterprise Linux 8+, CentOS 8+
141
+
#[SLES](#tab/SLES)
110
142
111
-
Use the dnf package manager: `sudo dnf install nfs-utils`.
143
+
```bash
144
+
sudo zypper install nfs-client
145
+
```
112
146
113
-
Older versions of Red Hat Enterprise Linux and CentOS use the yum package manager: `sudo yum install nfs-common`.
147
+
# [Ubuntu](#tab/Ubuntu)
114
148
115
-
##### openSUSE
149
+
Same commands on this section apply for Debian.
116
150
117
-
Use the zypper package manager: `sudo zypper install-nfscommon`.
151
+
```bash
152
+
sudo apt update
153
+
sudo apt install nfs-common
154
+
```
155
+
---
118
156
119
157
### Cause 4: Firewall blocking port 2049
120
158
121
159
The NFS protocol communicates to its server over port 2049. Make sure that this port is open to the storage account (the NFS server).
122
160
123
161
#### Solution
124
162
125
-
Verify that port 2049 is open on your client by running the following command: `telnet <storageaccountnamehere>.file.core.windows.net 2049`. If the port isn't open, open it.
163
+
Verify that port 2049 is open on your client by running the following command. If the port isn't open, open it.
0 commit comments