VMware vSphere

 View Only
  • 1.  Remove phantom hooks post svmotion?

    Posted 14 days ago

    I'm in the process of vacating old (vmfs 5) datastores, moving to vmfs 6 datastores on the same array. Out of all of the VMs I've migrated, three still have something hooking them into the old datastore post migration. None of them have iso files (for the cd drive) on the old datastore, nor anything else that I can locate via the GUI. Is there some command I can run against the VM that will show me where these bastards are still tied to the old datastore? 

    For additional information, these are Citrix VM masters with snapshots present. I did move another VM in the same state (snapshots present) without any issue. It released the old datastore fully post migration, as I expected. 

    The hosts are running ESXi 7.0.3 build 24723872 for more reference. We are not able to go to a newer version at this time due to the hardware. 



    -------------------------------------------


  • 2.  RE: Remove phantom hooks post svmotion?

    Posted 14 days ago

    Looks like it's the .vmsn files that are referencing a location in the old datastore that's the source of this issue. Need to check, internally, to make sure people are OK with me making edits to these files to remove that item. Or change it to a location that won't be getting decommissioned.

    -------------------------------------------



  • 3.  RE: Remove phantom hooks post svmotion?

    Posted 14 days ago

    Sometimes the Ghost is that there was an ISO mounted in the snapshot, that you can't see now after you've removed the ISO, but are still in a snapshotted state.  That bit us a lot when getting us off of a shared datastore we used specifically for ISOs.

    -------------------------------------------



  • 4.  RE: Remove phantom hooks post svmotion?

    Posted 13 days ago

    I was able to go into the vmsn files and remove the optical drive/ISO reference lines from them. Once that was done, simply removing and adding back into inventory removed the old datastore hooks. Pretty sure the ISO file it was looking for was gone before I started here. One of the three VMs that I needed to move had the ISO in the base VM settings. I removed that reference (via the normal/GUI mode) and that also released it's last hook into the old datastore. Glad to get rid of that. 

    Looking forward to getting rid of the final vmfs 5 datastores in the environment. One VM is left to migrate, which has files in two datastores. The free space on the array will be better once I finish the cleanup since the array still sees a lot of consumption on the smaller of the two datastores. 

    -------------------------------------------