I needed to add a new virtual machine to a VMware esxi 5.5 host and found an entry for an old Netapp filer which had been upgraded. I tried to unmount and delete it but I only received an error message.   Normally I would post it but I lost it. 😦

This is one of the times where the VMware client can’t help you.

I started putty and used SSH to access the host.

There I could use esxcli to list the NFS mounts:

~ # esxcli storage nfs list

Volume Name Host Share Accessible Mounted Read-Only Hardware Acceleration
———– —————- ————– ———- ——- ——— ———————
windows  oldfiler          /windows/mount true true false Not Supported

The only thing needed is the volume name. The client gave you that but here is a chance to use a CLI command.

To remove; simply enter the following:

~ # esxcli storage nfs remove -v windows

The command will only return output if there is an error. To verify it worked; list the mounts again.

~ # ~ # esxcli storage nfs list

Volume Name Host Share Accessible Mounted Read-Only Hardware Acceleration
———– —————- ————– ———- ——- ——— ———————

When I returned to the client; I found it had refreshed as the entry disappeared.

I added the new NFS mount and continued on with my install.

Advertisements