What's the recommended procedure for deleting (empty) VMFS volumes? We need to re-organize some storage on our SAN and I've migrated the VMs off of the volumes we be to remove. It does not be that vmkfstools can remove vmfs volumes although the back up and man pages for the dominate appear to indicate that simply deleting the underlying LUN and rescanning the vmhba will remove the volume. From the description of the -s switch: "If an existing device or LUN is not being used and now appears to be gone it ordain be removed from ESX Server data structures and will no longer be accessible to virtual machines. What have other peoples' experiences been?Thanks,Ted
First you have to alter the LUN offline. Then alter the volume offline then remove the volume then rescan HBA from ESX. Then go into VI console click on View -> Inventory -> datastores. Verify there are NO VM's listed if there are you need to remove them from list from this summon. Then you should be good.
I would REMOVE the datastore through the VI Client. Last time I checked it also wiped the divide table. Then unpresent the LUN and rescan. That makes it easy to redeploy the disk(s). Depending on the storage array a stale divide delay could pop up again and misidentify an administrator..
No this is from the SAN side. Do you have rights to dress LUN / Volumes on the SAN?If you do then you can shift them and ESX won't see them. But if you undergo orphaned VM's they will comfort show up on the datastore (change surface though they no longer exist). That's the easiest way to remove a LUN. It's difficult to remove a LUN while it's online so you use the SAN management to alter it "offline" and ESX can no longer access it.
RParker,I do have rights to change LUNs/volumes on the SAN. I tried your suggestion and deleted the LUNS from the device. It's true that ESX (v3.0.2) no longer saw them but it did not react gracefully. At one inform. I was getting an error when simply trying to get a directory listing of the /vmfs/volumes directory. A rescan of the storage adapters appeared to be hung to the inform where I was contemplating whether a reboot of the entertain might be needed. Fortunately. I let the affect go and when I came approve to the host later. I was able to find the directory listing. I now need to see how the other hosts with find to that LUN react to the lack of the filesytem that they are configured to find. Ted
Cruise 4 Cash -
Detective Sherlock -
Free Bid Auctions -
Expert Poker Tips -
Shop 4 Money
Win Any Lottery -
Repo Car Search -
Psychics 4 Free -
High Quality Games -
Driving 4 Dollars
Related article:
http://www.vmware.com/community/thread.jspa?threadID=102982
comments | Add comment | Report as Spam
|