Hello! Please help - I can't delete NFS datastore (vm20) from my ESXi 6.5 host. If I try to delete this datastore using Web client - it shows message "Failed to delete datastore vm20"; and even using SSH I can't remove this datastore:
esxcli storage nfs remove –v vm20
Error: Unknown command or namespace storage nfs remove –v vm20
What is a problem, how do you think? Thank you for advice.
Hi @shupike ,
Do you still have any VM's, Templates, or ISO files or anything at all on the datastore? If you do please remove them from the datastore first. Pleaes also note that you might have a snapshot linked to this datastore (remove all snapshots on VM's that were present on that LUN before).
Also, please try the command:
esxcli storage nfs remove --volume-name=vm20
Hi @shupike ,
Do you still have any VM's, Templates, or ISO files or anything at all on the datastore? If you do please remove them from the datastore first. Pleaes also note that you might have a snapshot linked to this datastore (remove all snapshots on VM's that were present on that LUN before).
Also, please try the command:
esxcli storage nfs remove --volume-name=vm20
Great! 🙂 I used this command:
esxcli storage nfs remove --volume-name=vm20
Thank you very much!