new1234.jpg

Archive

Posts Tagged ‘esxcli’

VMware: Unable to remove an inaccessible NFS datastore

August 27th, 2014 3 comments

The backend storage volume corresponding to the datastore has been removed and the datastore appears as Inactive, when I want to remove (via vSphere Client connected to vCenter server) the NFS datastore I receive this error message:

Unmounting the datastore in vCenter Server fails with the error:
‘Call “HostDatastoreSystem.RemoveDatastore” form object “datastoreSystem-28” on vCenter Server “xxxx” failed. CannotRemove datastore ‘datastore_name’ because Storage I/O control is enabled on it. Correct it and re-try the operation

image

 

Solution:

To resolve this issue, log in directly to each ESXi host that has access to the inactive datastore and manually remove it.

– Connect to the vSphere ESXi host using SSH

– Run this command to list the mounted datastores:

esxcli storage nfs list

image

– Run this command to unmount the NFS datastore:

esxcli storage nfs remove –v datastorename

image

The inactive NFS datastore has been removed

Note: if your datastore display name have some spaces, please use quotes

 

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Install Broadcom 5720 network adapter

March 20th, 2013 2 comments

Today I installed a new Dell PowerEdgde R620 host with vSphere 5.0 update 1. The Intel Ethernet I350 adapter was recognized and installed correct but the Broadcom 5720 wasn’t. I downloaded the latest Broadcom driver CD from VMware and uploaded the extracted content to my local datastore.
To install the drivers I used the following command:

esxcli software vib install -v /vmfs/volumes/pathtodatastore/NIC/net-tg3-3.120h.v50.2-1OEM.500.0.0.472560.x86_64.vib

^ full path to the file must be specified

image
After reboot the Broadcom adapter was installed successfully:

image

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn