Thanks EZ, I just check the event viewer but I could not identify the difference whether the datastore will be auto-mounted or not.
Here is the event from auto-mount datastore and non-auto-mount datastore, they are same before mounting it.
1. Task: Add Internet SCSI static targets
2. Task: Rescan HBA
3. Discovered datastore k1
Is there any way to know if the datastore will be auto-mount after rescan hba?
I'm currently keep checking if datstore is mounted on the host from MOB.
If finding the the datastore is not mounted on the host for a long time (ex. 30 seconds) then I will manually mount this datastore.
But this way wastes too much time on waiting, is is possible to know if I need to manually mount this datastore earlier?
I just checke the /var/log/storagerm.log and notices there is a entry if the datastore is not auto-mount.
2015-08-18T09:31:32.577Z: stat file /vmfs/volumes//k1/.iormstats.sf already exists.
I'm not too sure is it related to my problem. But in my develop environment I only allow to access MOB but not logs in exsi log.
Thanks.
Wood