I mount a NFS share from Windows/Linux NFS Server fine. Copy files fails with input/output error, small files are ok.
Now I checked the mounts with "df -k <nfs-share>" and I get for both shares:
then I mounted the shares the following way, to the same NFS shares:
service portmap start
service nfs start
mount -t nfs -o rw <nfs-server>:/mnt/<nfs-share> /vmfs/volumes/HDD-ID/NFS/
Now I check this mount again with "df -k <nfs-share>" and I get:
when I copy something to this mount, everything works fine and is fast!!!
1. Why mounts ESX the nfs share with those 1K blocks?
2. How can I mount nfs share manually but that they show up in the VI client?
3. What can I change so ESX always mounts with the right 1K-blocks and shows in the VI client?
Thx for any help.
You aren't mounting the share the correct way - you dont mount it from within the COS using 'mount'. You need to setup a VMKernel port, then add a datastore from the GUI with the VI Client.
Thx for the quick answer.
>You need to setup a VMKernel port, then add a datastore from the GUI with the VI Client.
That is exactly what I did and then I get the mounts as described before. Only if I map them manually it works.
Are you 100% sure, because doing a "df -k --Matt
>Are you 100% sure, because doing a "df -k <nfs-share>" on a
>NFS mounted datastore that was done from the GUI wont actually work....
Yes I'am. As you wrote I created the VMKernel/Port and changed the Security Profile. After the I could mount NFS shares throug VI Client fine
but then I got the I/O copy errors etc.
I looked through the forums and found the "manuall" way of mounting and that works great but dosen't show up in the VI Client.
Nevertheless with "vdf -k" I get the same result as with "df -k" but still I can only say I have problems with the NFS mount through the VI Client
but not manually. So what can I do to make it work with the VI Client, or what's the problem?
...just to add, if I copy something to the NFS share mounted by the VI Client, then the max size of
a file will be 128000000 (same as the 1k block size).
For me it looks like the NFS share is not mounted the right way.
Btw. moving files from the NFS share to the ESX Server is working fine.