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

Reminder

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

upgrade

OceanStor BCManager 6.5.0 eBackup Command Reference 01

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 storage_unit

create storage_unit

Function

Creates a storage unit.

Format

create storage_unit name file_system_type path [protocol] [username=?] [AK] [description=?] [formatting=?][storage_unit_level=?]

Parameters

Parameter

Description

Value

name

User-defined name of the storage unit.

The name contains a string of 1 to 128 characters which can only be letters, digits, Chinese characters, plus signs (+), underscores (_), hyphens (-), periods (.), and at signs (@).

file_system_type

Type of the back-end storage.

Please choose according to the type of backend storage:

  • NFS: NFS shared storage.
  • CIFS: CIFS shared storage.
  • S3: S3 object storage.

path

Path.

Before creating a storage unit, the user should determine the type of the back-end storage. eBackup backup management system supports NAS and S3 as the back-end storage.

If the type of storage is NAS, the user should input the path of NAS shared storage before creating a storage unit. NAS storage is classified into Network File System (NFS) shared storage and Common Internet File System (CIFS) shared storage.

If the type of storage is S3, the user should input the path of S3 storage before creating a storage unit.

  • When using NFS shared storage as the back-end storage, the format of path is IP (or DomainName):/shared path, IP and DomainName indicate the service IP address and domain name of the NAS storage system, respectively. The shared path must contain 1 to 255 letters, digits, and can not end with slash (/). Special characters including .#%-=@{_}~/:. Such as /192.168.10.10:/home/storage.
  • When using CIFS shared storage as the back-end storage, the format of path is //IP (or DomainName)/shared path, IP and DomainName indicate the service IP address and domain name of the NAS storage system, respectively. The shared path must contain 1 to 255 letters, digits, and can not end with slash (/). Special characters including .#%-=@{_}~/:. Such as //192.168.10.10/home/storage.
  • When using S3 storage as the back-end storage, the format of path is IP (or DomainName):/bucket name, IP and DomainName indicate the service IP address and domain name of the S3 storage system, respectively. The length of the path must be 1~513. And the length of bucket name must be 3~255. It can contain letters, digits , . , - , _ . Such as 192.168.10.10:/vbsw6dhuj8hstorage.

protocol

The network protocol used by the backup system to communicate with the S3 storage unit. This parameter is required when the backend storage is S3.

The protocol can be: http_protocol or https_protocol.

Network security risks exist if using http_protocol . Therefore, https_protocol is recommended.

username=?

Name of the user accessing the CIFS shared storage.

The length is 1 to 128 characters.

Password

Password of the user for accessing the CIFS shared storage.

The length is 1 to 256 characters.

AK

AK for accessing the S3 storage unit. AK and username will not both appear in one command line.

The length is 1 to 128 characters.

SK

SK for accessing the S3 storage unit. SK and Password will not both appear in one command line.

The length is 1 to 256 characters.

description=?

Description of the storage unit.

The description contains a maximum of 1024 characters.

storage_unit_level=?

Storage unit levels: default, tier 1, and tier 2.

The value can be 0, 1, or 2.

  • 0 indicates that the storage unit level is default: The storage unit can serve as tier 1 and 2 backup storage units concurrently.
  • Value 1 indicates that the storage unit level is tier 1: Applicable to local backup, and the supported storage unit types involve NAS and S3.
  • Value 2 indicates that the storage unit level is tier 2: Applicable to remote copy, and the supported storage unit types involve NAS and S3.

Views

management

Level

Administrator

Usage Guidelines

None

Example

Creates a storage unit whose name is storage_unit01 and type is NFS.

management:/>create storage_unit storage_unit01 NFS 192.168.15.10:/home/storage 
Command executed successfully.

System Response

None

Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 2579

Downloads: 1

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