VMware Cloud Community
exeral
Contributor
Contributor
Jump to solution

datastore not persistent

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

1 Solution

Accepted Solutions
ThompsG
Virtuoso
Virtuoso
Jump to solution

Hi exeral,

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

esxcfg-volume -M “datastore-label”

Kind regards.

View solution in original post

3 Replies
anurag2189
Enthusiast
Enthusiast
Jump to solution

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.

0 Kudos
ThompsG
Virtuoso
Virtuoso
Jump to solution

Hi exeral,

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

esxcfg-volume -M “datastore-label”

Kind regards.

exeral
Contributor
Contributor
Jump to solution

Thanks !

You are my man !

0 Kudos