No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
create directory

create directory


The create directory command is used to create a directory.


create directory < dir_name > < parent_dir > < owner > < group > < domaintype > [ unix_mode=?] [parallelStripeWidth=?]





dir_name Directory name.

The value contains 1 to 255 characters and cannot contain /, ., or .. .

parent_dir Parent path.

The value contains 1 to 4000 characters.

The path format is /parent path name.

owner Owner user name.

The value contains 1 to 127 characters.

group Owner group name.

The value contains 1 to 127 characters.

domaintype Domain type.

The domain type of the owner user and the owner group.

AD: the owner user and the owner group who use the active directory (AD) protocol for authentication.

LDAP: the owner user and the owner group who use Lightweight Directory Access Protocol (LDAP) for authentication.

LOCAL: the owner user and the owner group who use local authentication for authentication.

NIS: the owner user and the owner group who use Network Information Service (NIS) for authentication.

Note: If "domain_type" is specified, "owner" and "group" must be specified.

unix_mode Access permission.

The value is an integer of one to three digits. Each digit ranges from 0 to 7, for example, 777. From left to right, these digits represent the permission of owner user, owner group, and the other users. The following describes these digits:

  • 1,The script file can be executed.
  • 2,Data can be written.
  • 4,Data can be read.
7 = 1 + 2 +4. Therefore, 7 indicates that the script file can be executed and data can be written and read.
parallelStripeWidth Parallel factor.

The value can be 1, 2, 4, 8, 16; default value is 8.


Resource administrator

Usage Guidelines



Create a directory.

admin:/>create directory file1 /root user group LOCAL unix_mode=777
Command executed successfully.

System Response


Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24730

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next