When I first setup esxi I had one server grade hdd for the esxi then a seperate WD red nas hdd for all my vms. They are connected to a raid controller. I plan to buy another wd nas hdd then setup raid. It was working great till all of a sudden the wd hdd decided to become a raid forign drive out of the blue. I had to clear the drive then reregister as a virtual drive in the dell raid configuration utility.
However for some reason esxi won't mount the datastore thats on the wd hdd. I have to manually use esxcfg-volume -l and then esxcfg-volume -m. then do a rescan for datastores. Rescan for datastores does nothing without manually mounting the datastore using esxcfg-volume. When I do the rescan after using esxcfg-volume, all my vm's become availible. As soon as I reboot Esxi , its then back to square one.
any ideas why?