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 V300R006C00 File System Feature Guide 12

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).
Configuration Operations

Configuration Operations

This section describes how to configure the NFS protocol enhancement feature to meet the customer requirements.

Prerequisites

The client communicates properly with the front-end service network of OceanStor 9000.

Context

The process of configuring the NFS protocol enhancement feature includes: obtain the installation package of DFSClient on the PC; create a directory and an NFS share using DeviceManager; and install DFSClient on and mount the NFS share to the Mac OS X client. For details, see Figure 12-12.

Figure 12-12  Configuration process

Procedure

  1. Visit http://support.huawei.com/enterprise and choose Technical Support > Product Support > Software Download > Cloud Storage > Scale-out Storage > OceanStor 9000 > Software Download. Select the desired software package OceanStor_9000_VxxxRxxxCxx_InfoTurbo.zip and download the installation package and digital certificate *.asc file.
  2. Choose Technical Support > Tools > All Tools > Software digital signature validation tool (PGP Verify), select the latest software version and download all the documents (including tool usage description documents), and verify the installation package following instructions in the documents.
  3. Use the FileZilla tool to upload the installation package to the installation path of the Mac OS X client.
    1. Double-click FileZilla.
    2. In Host, enter sftp://192.168.60.224. In Username, enter the user name of the Mac OS X client. In Password, enter the password of the Mac OS X client. Click Quickconnect.
    3. In the navigation tree on the right, right-click a directory under which you want to create a subdirectory. On the shortcut menu, choose Create directory and enter a directory name. Then click OK.
    4. Select the installation package in the navigation tree on the left, select home in the navigation tree on the right, and drag the files to be uploaded to the right side using the mouse.
  4. Log in to DeviceManager.
  5. Create a directory.
    1. Choose Provisioning > Create Directory.
    2. Set Name to media and Parent Path to /. Click Advanced, select Read, Write, and Execute for User, User Group, and Others.
    3. Click OK.

    NOTE:

    In NFS file sharing, to prevent users' usage of a directory from being affected by UNIX permissions, select Read, Write, and Execute for User, User Group, and Others in the Advanced window of the directory, for details about how to create an NFS shared directory, see OceanStor 9000 File System Administrator Guide.

  6. Creates an NFS share.
    1. Choose Provisioning > Create Share.
    2. Set Share Type to NFS (Linux/UNIX/MAC) and Share Path to /media.
    3. Click Next. Set Description to media, and click Add, set parameters in the Add Client page as follows:

      • Type to Host.
      • Name or IP Address to 192.168.60.224, 192.168.60.225.
      • Permission to Read-write.
      • set Root Permission Constraint to no_root_squash in the Advanced choice.

      After setting the parameters, click OK.

    4. Click Next > Finish > Close, and follow the system prompts to complete creating NFS shares.

    NOTE:

    To allow user root to access shared directories on a client, click Advanced on the Add Client page, set Root Permission Constraint to no_root_squash.

  7. Log in to the Mac OS X client.
  8. Install DFSClient.
    1. Access /home and decompress the installation package. Click the PKG file to enter the installation page.
    2. Click Continue. The Introduction page turns to the Installation Type. Enter the administrator account and password of Mac OS X Client to obtain the installation permission.
    3. Click Install Software. The Installation page is displayed. Check whether the installation succeeded on the Summary page.
  9. Configure the DNS server.
    1. Click System Preferences. Select Network in the window.
    2. In DNS Server, enter IP address 192.168.102.19 of the DNS server.
  10. Mount the NFS share.
    1. Open the command line tool.
    2. Run vim /etc/sysctl.conf, and check whether net.inet.tcp.sendspace exists in the file and perform the following operations. Increasing the value of net.inet.tcp.sendspace can help buffer the TCP receiving on the Mac OS X client to support the fine-grained I/O of the Mac OS X client.

      • If no, set net.inet.tcp.sendspace=1048576.
      • If yes, modify net.inet.tcp.sendspace to a value equal to or higher than 1048576.

    3. Run sudo sysctl -w net.inet.tcp.sendspace=1048576 to make the settings take effect immediately. By doing so, services will not be interrupted as you do not need to restart the system to make the settings effective.
    4. Optional: Run showmount -e s.hw.com to check the shared path created on DeviceManager.
    5. Optional: Run mkdir /mnt/xnfs to create local directory to be mounted /mnt/xnfs.
    6. Run mount_xnfs -o rsize=1024k,wsize=128k,sip=192.168.60.224_192.168.60.225 s.hw.com:/media /mnt/xnfs to mount the NFS share using DFSClient.

Follow-up Procedure

Import videos to the mounted directory.

Translation
Download
Updated: 2019-06-27

Document ID: EDOC1000122519

Views: 80274

Downloads: 147

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