Help Center/ Migration Center/ FAQs/ Storage Migration/ What Are the Constraints on the Length of Object Paths for Migrations Between OBS, NAS, and SMB Storage Systems on Huawei Cloud?
Updated on 2024-09-05 GMT+08:00

What Are the Constraints on the Length of Object Paths for Migrations Between OBS, NAS, and SMB Storage Systems on Huawei Cloud?

Different storage systems have different limitations of path length and folder name length During a heterogeneous migration, complying with the path length restrictions of the target storage system helps ensure migration success and data consistency.

The following table lists the limitations of path length and folder name length of different storage systems.

Storage System

Length Limitations

OBS

Maximum length of a folder name or path: 1023 bytes

NAS

  • Maximum length of a folder name: 255 bytes
  • Maximum path length: 4,096 bytes

SMB

  • Maximum length of a folder name: 226 bytes
  • Maximum path length: 32,767 bytes

The following table lists the length limitations for different migration scenarios.

Migration Scenario

Length Limitations

OBS -> NAS

  • Maximum path length: 4,096 bytes
  • Maximum length of a folder name: 255 bytes

SMB -> NAS

NAS -> OBS

  • Maximum path length: 1,023 bytes
  • Maximum length of a folder name: 1,023 bytes

SMB -> OBS

OBS -> SMB

  • Maximum path length: 32,767 bytes
  • Maximum length of a folder name: 226 bytes

NAS -> SMB