VMware vSphere

 View Only
  • 1.  datastore not persistent

    Posted Apr 08, 2019 08:34 AM

    Hello,

    I have an ESXI 6.7 (no cluster and stuff like that) which had a datastore (VMFS6) on RAID1 local disks.

    I had to change the hardware raid controller which was deffective.

    Now, everytime the ESX boot it does not mount automatically the datastore.
    the datastore list is empty.

    I have to do:

    esxcfg-volume -m "my-datatstore-label"

    and everything works well until next reboot.

    How could I make this persistent ?

    I have searched for days. help pages talks about re-adding existing datastore and keep signature but I don't have such menus

    Thanks for help



  • 2.  RE: datastore not persistent

    Posted Apr 08, 2019 09:22 AM

    This behavior never occurred to me, But one workaround you can try is add "esxcfg-volume -m "my-datatstore-label" into /etc/rc.local.d/local.sh file.

    with every boot it will execute mount command.



  • 3.  RE: datastore not persistent
    Best Answer

    Posted Apr 08, 2019 10:17 AM

    Hi exeral,

    Use a capital “M” and this will keep the signature and permanently mount it:

    esxcfg-volume -M “datastore-label”

    Kind regards.



  • 4.  RE: datastore not persistent

    Posted Apr 08, 2019 11:59 AM

    Thanks !

    You are my man !