Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NAS(네트워크 연결 스토리지)에 메타데이터를 저장하려면 다음을 수행하세요.

  1. 공유 네트워크 폴더를 만듭니다.
  2. Linux OS의 서버에서 netdir 폴더를 만듭니다. 예를 들어, /media 폴더에서 

To store the metadata in a network attached storage (NAS), do the following:

  1. Create a shared network folder.
  2. On the Server in Linux OS, create the netdir folder. For example, in the /media folder:

    Code Block
    sudo mkdir /media/netdir


  3. Install the cifs-utils utility 유틸리티를 설치합니다.

    Code Block
    sudo apt-get install cifs-utils


  4. Attach the shared network folder to the created netdir folder생성된 netdir 폴더 에 공유 네트워크 폴더를 연결합니다.

    Code Block
    sudo mount -t cifs //IP address/common /media/netdir -o user=User,password=123,uid=1001,gid=1002,vers=2.0

    where,여기

    1. IP address NAS address,주소
    2. commonshared network folder,공유 네트워크 폴더
    3. user, passwordNAS access credentials,액세스 자격 증명
    4. uid, gidid of the user and ngp group. They can be obtained using the following command:사용자와 ngp 그룹의 id입니다. 다음 명령을 사용하여 얻을 수 있습니다.

      Code Block
      id ngp


  5. In the Axxon One metadata storage settings, specify the 메타데이터 저장 설정에서 /media/netdir path 경로를 지정하세요 (see 시스템 로그 및 메타데이터 저장 구성 참조).

After you restart Linux OS, the attached folder will be deleted. To configure the network folder to be attached on the OS loading, do the following:Linux OS를 다시 시작하면 첨부된 폴더가 삭제됩니다. OS 로딩에 첨부할 네트워크 폴더를 구성하려면 다음을 수행합니다.

  1. Open the /etc/fstab filefstab 파일을 엽니다.

    Code Block
    sudo nano /etc/fstab


  2. Add the following string to the file:다음 문자열을 파일에 추가합니다.

    Code Block
    //IP address/common /media/netdir cifs user=User,password=123,uid=1001,gid=1002,vers=2.0 0 0


  3. Save the file파일을 저장합니다.