Welcome, guest. Log in.

ESXi

Unmounting an inactive datastore fails with the error: Cannot remove datastore 'datastore_name' because Storage I/O Control is enabled on it

Sometimes a datastore get's removed without being disabled and unmounted carefully from your vSphere environment.

Especially if you have Storage IO Control enabled be sure to disable it, otherwise there are issues which are not easy to solve.

However in my latest case I found an easy solution:

Open a command prompt at an ESXi host or connect via secure shell (SSH) and issue the following command:


/etc/init.d/storageRM stop
Read more »

Disable SSH/Support Mode warnings in vSphere Client

If you have a reason to enable SSH/Tech Support on an ongoing basis, then you might want to disable the warning messages.

To prevent the warning from being shown (not suggested!) you need to change a setting inside the Advanced Settings section of every host.

  • Open your vSphere client to connect either directly to a host or against the vCenter
  • Select the host and select the configuration tab, then scroll down to the bottom of the software section and click Advanced Settings
  • Select the UserVars element in the tree on the left hand side
  • Restart management agents on VMware ESXi through SSH

    Restart management agents in ESXi through SSH

  • Restart the management agents on ESXi hosts:
    Log in to your ESXi host as root via ssh or directly at the console via ALT+F1

    Run this command:

    /sbin/services.sh restart

  • Restart the Hostd on the ESXi host
    Log in to your ESXi host as root via ssh or directly at the console via ALT+F1

    Run this command:

    /etc/init.d/hostd restart

  • vSphere: Access to resource settings on the host is restricted to the server 'x.x.x.x' which is managing it.

    When an ESXi host in version 5.x or higher is managed by a virtual center it's management capabilities are limited to prevent damage to the virtual machines. One scenario which can become a big deal is however if your vCenter Server runs out of storage, which means you can not extend the storage that easily.

    If you are really sure that you want to override this behavior here are the necessary steps, this will ensure you can later easily reconnect to the vCenter Server:

  • Open the ESXi host via the vSphere client
  • Syndicate content