Storage

Configuring VMware pathing via Powershell

Posted on

We have a fairly large VMware environment with a large number of LUNs. I did some performance reviews the other day and found that most of my FC traffic was passing through only 2 of the 4 ports in my Brocade switches.This causes 2 problems: 1) I could potentially run into a bottleneck by being […]

VMware

List all the VMs in a VMware Datastore

Posted on

If you ever have to do backend maintenenance on the disks hosting your VMware datastores, then you need to know what systems are on them (in case you have to move or recover them). A quick 1 liner in Powershell will list this out for you:get-vm -datastore <datstore name> If you have multiple datastores that […]

VMware

Recovering NFS datastores

Posted on

I recently setup a linux server running an NFS export that I mounted in my VMware cluster. This was going to essentially be for archive information – offline servers that were not needed to be active, but still had to be kept in case they were needed. Everything was working great and I needed to […]

VMware

Creating NFS datastores on a VMware cluster

Posted on

The one issue I have seen so far with VMware storage is with regards to NFS datastores; they have to be configured onto each node in the cluster individually. Since this is done manually, it can be prone to error, so I started using the following powershell commands to perform it on all the hosts […]

VMware

VMware treadmill process

Posted on

In my VMware environment I have several VMs that have very large VMDKs, but are only using a small portion of that space. These are referred to as “THICK” disks. I would like to reclaim that unused space and turn them into “THIN” disks, which means I need some kind of a treadmill process to […]

VMware

VMware “unable to access a file since it is locked”

Posted on

Ran into an unusual problem with my VMware farm, when trying to power on a system I get the error “Unable to access a file since it is locked”. A quick look on the web brings up http://www.techhead.co.uk/vmware-esx-unable-to-access-a-file-since-it-is-lockedThe first two options are somewhat expected (the file is locked by something else). In my case the […]