Skip to main content
NetApp Knowledge Base

What are the file path length limitations in ONTAP 9 including the volume name

Views:
212
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

ONTAP 9

Answer

  • Maximum file path length (includes volume name):
    • CIFS protocol: 32,767 characters.
    • NFS protocol: 4,096 characters.
  • Maximum file name length:255 characters for both CIFS and NFS.

Additional Information

  • The maximum path length includes the volume name, directory structure, and file name.
  • File name length is limited to 255 characters, regardless of the protocol.
  • Ensure that NFS clients and CIFS clients support the required path and file name lengths.
  • For CIFS, the limit aligns with Windows long file name support.
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.