Delete Folder on Isilon From Command Line

With the Isilon you can do most of your daily work with the GUI.  Sometimes you need to go down to the command line to do the things you don’t normally have to do.  Recently with a file migration I had some issues, and had trouble deleting the directory.  To fix this issue I had to run this command.


isi job start treedelete –path=<PATH TO DIRECTORY FOR DELETION>

isi job status

Find Block Size with vscsiStats and Other Storage Statistics.

Ever wonder what block sizes your VM’s are using for writing and reading to disk?  I always have and I recently found a way to get this information out of the ESXi hypervisor.  You can also get a lot of other data such as random and sequential writes, latency, and a few other items.

  1.  Connect to the host with SSH.
  2. Enter the command “vsciStats -l” This will list all the VM’s on that host and its disk.
  3. vsciStats -s will start that stats collection.  You can pair this down by using the -w for the world group id and -i for handle id.
  4. vsciStats -p ioLength -w 123456 would display the block sizes for that particular VM and drives.
  5. -h will give you a list of all the possible variables to use.

Set NTP on all host in vCenter

Here is a Powershell script that will set NTP on all the ESX host connected to your vCenter.

First connect to the vCenter using Connect-VIserver then run the following code.


#Get Host
write-host “Gathering ESX Host”
$esx = get-vmhost

#Configure NTP server
write-host “configuring NTP”
Add-VmHostNtpServer -VMHost $esx -NtpServer

#Allow NTP queries outbound through the firewall
wrtie-host “Setting Firewall Permissions”
Get-VMHostFirewallException -VMHost $esx | where {$_.Name -eq “NTP client”} | Set-VMHostFirewallException -Enabled:$true

#Start NTP client service and set to automatic
write-host “Starting NTP service”
Get-VmHostService -VMHost $esx | Where-Object {$_.key -eq “ntpd”} | Start-VMHostService
Get-VmHostService -VMHost $esx | Where-Object {$_.key -eq “ntpd”} | Set-VMHostService -policy “automatic”


Blog at

Up ↑