Hi Guys,
I have recently set up a homelab using ESXi 7u2 and am loving it. So far only one issue.
I have some extra storage in my NAS that I'm hoping to use for VMs. I haven't had the time to try and work out iSCSI so for the moment I'm trying to use NFS.
I add my NFS datastore to ESXi no problems, can even make VMs on it and they run fine. A little slow on the write speed, but fine.
Then I reboot my ESXi host and the datastore is no longer present in the web panel, and any VMs that were using it are now broken/won't start.
Trying to add the datastore again results in the following error
Failed to mount NFS datastore 1234 - The specified key, name, or identifier '1234' already exists
I found another thread which prompted me to run some SSH commands:
esxcli storage nfs list
Which returns the following:
[root@hostname:~] esxcli storage nfs list
Volume Name Host Share Accessible Mounted Read-Only isPE Hardware Acceleration
----------- ------------ ----------------------- ---------- ------- --------- ----- ---------------------
1234 192.168.2.18 /mnt/WDBlack_VMS/Blacks false true false false Unknown
[root@hostname:~]
If I run the command to remove the datastore I can then add it back and it works again until next reboot.
[root@hostname:~] esxcli storage nfs remove -v 1234
Any ideas on how I can get this working? Thanks in advance.