How To Unmount A "Busy" VMFS Datastore In vSphere 5.5+

I recently ran into an issue where I was could not unmount an empty vSphere datastore from the appropriate hosts. After doing some research I found out that this issue was caused by open files from a new VSAN-related service known as “vsantraced”. According to this VMware KB article, you must perform the following steps in order to unmount the affected datastore(s): Login to the vSphere host via SSH Stop the “vsantraced” service /etc/init.d/vsantraced stop Unmount the datastore(s) Start the “vsantraced” service /etc/init.d/vsantraced start For more details please see the VMware KB article linked to above.

March 5, 2014 · 1 min · dburkland

How To Clear NFS Locks in Data ONTAP

I have run into a few scenarios where I have had to manually clear NFS locks on a given NetApp system. The recommended procedure for clearing these locks has changed over the years depending on the Data ONTAP version and now again with the release of Clustered Data ONTAP. 7-mode ONTAP Login to the appropriate 7-mode filer Transition into diag mode priv set diag Clear all the NFS locks ...

March 1, 2014 · 1 min · dburkland

How To Expand A ZFS Pool

This article explains how to expand a ZFS Pool. I have used this procedure a few times while dealing with FreeBSD in a virtual environment where I have needed to expand a zpool. Enable the “autoexpand” feature on the zpool zpool set autoexpand=on zfstestpool Shutdown the system shutdown -h now Resize the gpt partition gpart resize -i 1 /dev/da1 Export the zpool zpool export zfstestpool Import the zpool ...

February 28, 2014 · 1 min · dburkland