VMware esxcli: Remove NFS Share: Difference between revisions
From wiki.jacobjohns.com
jwiki>jjohns Disable SSH |
m 3 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
[[File:VMware ESXi Logo.png|center|frameless]] | [[File:VMware ESXi Logo.png|center|frameless]] | ||
<hr /><br /> | |||
# SSH to host | # SSH to host | ||
# List NFS storage | # List NFS storage | ||
Latest revision as of 16:06, 27 July 2024

- SSH to host
- List NFS storage
esxcli storage nfs list
- Remove the NFS storage.
esxcli storage nfs remove -v NFS_Datastore_Name
- List NFS storage again to verify it is gone.
- Remount via CLI or GUI.
esxcli storage nfs add -H NFS_IP|NFS_HOSTNAME -s Share_mount_point_on_the_NFS -v DatastoreNameexit
- Disable SSH
