Change NFS Server Connections
Cockpit administrators can use the Storage page in the web console to change existing NFS mount properties. Configurable properties for unmounting, removing, and editing NFS server connections are available.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The
cockpit-storaged
package must be installed.Note:
If thecockpit-storaged
package isn't installed, see this section Install and Manage Add-on Applications. - An existing NFS shared directory connection on the host.
- The NFS server connection must be unmounted to delete or edit the NFS server configuration.
- Administrator privileges.
Steps
Using the Cockpit web console, follow these steps to define custom mount options for an existing unmounted NFS shared directory.
-
In the Storage page, find the table for NFS and select the NFS server that you want to edit.
The Storage [NFS server name] page appears.
- In the Storage [NFS server name] page, perform one of the following:
- Unmount an inactive NFS server connection:
- Click Unmount. An Unmount dialog appears.
- In the Unmount dialog, confirm the process to unmount the connection.
-OR-
- Delete an unmounted NFS server connection:
- Click Delete. A Delete dialog appears.
- In the Delete dialog, confirm the process to delete the connection by clicking Delete.
-OR-
- Edit an unmounted NFS server connection:
- Click Edit. An Edit dialog appears.
- In the Edit dialog, change the applicable properties and
then click Custom mount options to specify properties that
can help resolve NFS connection if an issue occurs.
To configure the custom mount option, enter following properties separated by a comma.
nfsvers=n
where n equals the NFS protocol version number. soft or soft
where soft or hard equals the recovery behavior after an NFS request times out. For more information, open a Terminal window and access the NFS manual pages by typing man nfs on the command line.
sec=krb5
where krb5 equals the kerberos authentication mode for securing the files on the NFS server. - Click Save.
- Unmount an inactive NFS server connection: