Showing posts with label esx. Show all posts
Showing posts with label esx. Show all posts

Tuesday, October 29, 2013

Re-attach NFS share on ESX after connection loss

ESXi 5.x

To remove a datastore:
1. To list the mounted datastores on the host:
 
# esxcli storage nfs list
2. Make a note of the NFS datastore from step 1. Run this command to delete the NFS mount:
 
# esxcli storage nfs remove -v NFS_Datastore_Name

Note: This operation does not delete the information on the share, it unmounts the share from the host. If the NFS datastore is being used by either a virtual machine or a third party script, you may see this error:

Error performing operation: NFS Error: Unable to Unmount filesystem: Busy.

3. To add the datastore, run this command to mount the NFS datastore: 

# esxcli storage nfs add -H NFS_IP|NFS_HOSTNAME -s Share_mount_point_on_the_NFS -v DatastoreName

On a working cluster, you only need to do this on one node, the others will pickup.
 

[ trackback ]

Tuesday, August 25, 2009

Jumbo Frames on VMware ESX

From the Service Console:
  1. Change the MTU on the vSwitch "esxcfg-vswitch -m 9000 "
  2. Do an "esxcfg-vswitch -l" and a "esxcfg-nics -l" to make sure the vSwitch and the physical NICs associated with it are now set to an MTU of 9000.
  3. Create the port group and add it to the vSwitch "esxcfg-vswitch -a "
  4. Create a VMkernel interface and associated port group "esxcfg-vmknic -a -i -n -m 9000 "
  5. Test it "vmkping -s 9000"
[ trackback ]