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 9000 V300R005C00 File System Feature Guide 11

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).
Mounting Storage Domains

Mounting Storage Domains

When a new OceanStor 9000 cluster is added, the UniformView client can query and access the new storage resources.

Prerequisites

  • The UniformView client has been installed.
  • An NFS shared directory has been configured on the DeviceManager page. Table 10-6 lists related configuration parameters.

    For details about how to configure an NFS shared directory, see OceanStor 9000 Quick Configuration Guide (NFS).

    Table 10-6  Parameters for configuring the NFS shared directory

    Parameter

    Value

    Permission

    Read-only/Read and write (not supporting delete or rename)/Read-write

    Advanced

    Write Mode

    Synchronous

    Permission Constraint

    no_all_squash

    Root Permission Constraint

    no_root_squash

  • The mounting name and cluster dynamic front-end service IP address of the storage domain that you want to mount have been obtained. Table 10-7 lists how to obtain the information.
    Table 10-7  How to obtain the parameters of storage domains

    Parameter

    How to Obtain

    Mounting name

    Directory name at the mounting point.

    You are advised to use cluster IDs as mounting names to ensure that every mounting name is unique.

    1. Log in to DeviceManager.
    2. Choose Settings > Cluster Settings > Basic Information to view the Cluster ID.

    Cluster dynamic service IP address

    Contact the OceanStor 9000 administrator to obtain the cluster dynamic service IP address.

Context

The mount command or add command can be used to mount storage domains to the UniformView client. The difference between the two commands is as follows: Running the mount command, you can mount multiple storage domains to the UniformView client through the configuration file. Running the add command, you can mount only one storage domain to the UniformView client at a time in the following format: Mounting name#Shared directory#Cluster dynamic service IP address.

Procedure

  • Use the mount command

    1. Log in to the client as the root user.
    2. In the installation directory, create an .ini UniformView configuration file.

      vi UniformView.ini

    3. Write the mounting name, shared directory name, and cluster dynamic service IP address of each storage domain in the configuration file in the format of Mounting name#Shared directory name#Cluster dynamic service IP address. The following provides an example:
      C20_001#NFS_DirA#192.168.1.10
      C20_002#NFS_DirA#192.168.1.20
      C20_003#NFS_DirA#192.168.1.30
    4. Run the mount command.

      UniformView mount /home/UniformView.ini. In the command, /home/UniformView.ini is the absolute path of UniformView.ini.

      If the following information is not displayed, the storage domains fail to be mounted. Check the path and content of the configuration file and remount the storage domains.

      # UniformView mount /home/UniformView.ini
      all valid clusters mount success
  • Use the add command

    1. Log in to the UniformView client as the root user.
    2. Run the add command.

      UniformView add Mounting name#Shared directory#Cluster dynamic service IP address

      If the following information is not displayed, the storage domain fails to be mounted. Check the path and content of the configuration file and remount the storage domain.

      # UniformView add C20_001#NFS_DirA#192.168.1.10
       mount success!

Verification

  1. Log in to the UniformView client as the root user.
  2. Enter mounting root directory /mnt/UniformView. Check the mounting points named after mounting names. The structure of file directories at the mounting points must be consistent with that in the cluster shared directories. Otherwise, the storage domains failed to be mounted. Check storage domain information and remount the storage domains.
Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000101823

Views: 13951

Downloads: 97

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