VMware Cloud Community
antonio7
Enthusiast
Enthusiast

How to create a NFS 4.1 datastore without vCenter?

I have a disk-less ESXi 6.0 server and a storage server. In order to deploy vCenter, I need to create NFS v4.1 datastore first. The problem is that I need a vCenter to do this. Is there a way to create a NFS datastore before I install vCenter?

10 Replies
bradley4681
Expert
Expert

Are you getting an error message? Normally you just mount it after creating it on the NFS server.

On your NFS server you create your volume and share it out. In ESXi connect with the desktop client and you go to the datastores tab and click add new storage and choose type, NFS and then 4.1 and put in the connection details, IP or hostname and the share path.

This is for 2008 storage server but pretty much the same, http://www.vmwarearena.com/2012/07/create-nfs-datastore-for-esx-in-windows.html

Cheers! If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos
antonio7
Enthusiast
Enthusiast

The problem is that there is no such an option: NFS 4.1

Add Storage.png

0 Kudos
RichardBush
Hot Shot
Hot Shot

You should be able to do this by ssh connection to the host and using the:

esxcli storage nfs41 add

command, I m not sat next to my v6 lab at the moment so cant give you exact comment.

0 Kudos
RichardBush
Hot Shot
Hot Shot

0 Kudos
brunofernandez1

what about trying it with the native client connecting direct to the esxi server?

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards from Switzerland, B. Fernandez http://vpxa.info/
0 Kudos
RichardBush
Hot Shot
Hot Shot

As far as I am aware that doesn't work, think the option is only there when using the Webclient, hence the vcenter requirement.


0 Kudos
brunofernandez1

im sorry...with 5.5 this was still possible...

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards from Switzerland, B. Fernandez http://vpxa.info/
0 Kudos
RichardBush
Hot Shot
Hot Shot

My understanding was that nfs4 wasn't supported in any 5.x environment.

has that changed ?

R

0 Kudos
antonio7
Enthusiast
Enthusiast

The question is about 6.0

0 Kudos
RichardBush
Hot Shot
Hot Shot

‌check my post above about the cli, you should be able to complete the mapping that way.

Rich

0 Kudos