vCenter wants to format lost ESX LUNs

Posted: September 22, 2011 in Technology
Tags: , , , ,

So out of a sudden you notice a few LUNs are missing from one or more of your ESX servers. Strange isn’t it? So you do a storage scan / refresh and they still do not automatically appear. You look for additional LUNs to add to your ESX server but as you’re adding them you are told that they will be formatted, this is obviously not an option if you have any data in them!

To solve this problem log into your ESX4 server and become root:

$ sudo su –

Find the LUNS that have been unmounted:
# esxcfg-volume -l
Find the VMFS3 UUID/label and perform the command:
Rescan the LUNs, where XX is the number of the software iSCSI adapter, 32, 33, etc…
# esxcfg-rescan vmhbaXX
That’s it. you’re done! Your LUNs will reappear in your ESX and you can go have a beer after work with your buddies, no data lost!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s