I'm trying to create a datastore so I can test ESXi. I'm pretty green so hopefully I can get some help. I'm running ESXi from a USB drive. I took a test machine and loaded ubuntu on it thinking it would be easier to create a datastore that way. Basically I just want to use the hard drive for that machine as a datastore so I can test out the functionality of ESXi. So far, I haven't had any luck.
I installed nfs-kernel-server (apt-get install nfs-kernel-server) and modified the /etc/exports file with "/home server_ip(rw,no_root_squash)". Of course "server_ip" being the ip of the ESXi machine. I tried adding the datastore as a NFS but I either get a message saying that it can't mount or that it refused to mount. I'm completely lost on this. I hope this isn't too vague to get some help.
Of course "server_ip" being the ip of the ESXi machine.
What virtual adapter is this IP on? You need to mount an NFS export from a VMkernel adapter, not a service console. Also, is the physical NIC on the ESXi host gigabit?
What virtual adapter is this IP on? You need to mount an NFS export from a VMkernel adapter, not a service console. Also, is the physical NIC on the ESXi host gigabit?
Virtual adapter is vmk0 and the host NIC is gigabit (HP DC5750).
Maybe a simple question: have you run "exportfs -a" after modifying /etc/exports ?
I have now but I know very little about Linux so the output means nothing to me.
Output:
exportfs: /etc/exports : Neither 'subtree_check' or 'no_subtree_check' specified for export "server_ip:/home".
Assuming default behaviour ('no_subtree_check')
Nvm, I found a way to get it work.