The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Datastore Naming Rules – VMware Technology Network VMTN

Posted by jpluimers on 2023/12/29

I was looking for VMware ESXi Datastore Naming Rules, and this was the only really relevant post I could find:

[Wayback/Archive] Datastore Naming Rules – VMware Technology Network VMTN

I’m trying to get a definitive answer on what the rules are for naming Datastores?  I can’t seem to find any information on what is allow and what is not allowed as names for datastores.

So far, I found this document

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=201289…

Which says [ ] / are not allowable characters, with a max of 42 characters

Then I found this document

http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.Datastore.html

Which says \ and % aren’t allowable (although I can create a datastore with % just fine..)

As for Maximum length, I’ve seen stuff around the forums saying 128, 42, 31, and 255 character lengths.

Is there any document that maps out the datastore naming rules?  Specifically for vSphere 5.1 (VMFS-5 and VMFS-3).  Also, are the naming rules different for NFS shares?

There seems to be no documentation other than the above posts which I have amended below with their archived parts:

I found the above post via [Wayback/Archive] valid esxi datastore naming convention – Google Search.

It did however get me this nice discussion on how to structure your datastore names: [Wayback/Archive] Best Practice – Datastore naming conventions – VMware Technology Network VMTN

Via [Wayback/Archive] esxi valid datastore characters – Google Search, I found [Wayback/Archive] Updated Character Limits for vSphere Objects which indicates that with vSphere 7 the Datastore name length has been increased to 80 characters.

–jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.