File System

The Network File System (NFS) is a protocol for distributed file system that allows users on client computers to access files over a computer network, similar to how local storage is accessed.

You can configure the Gaia Operating System to mount a storage device with NFS v4.

Configuring NFS in Gaia Portal

Configuring NFS in Gaia Clish

Syntax

Parameters

Parameter

Description

mount-point <Path to Local Directory>

Specifies the absolute path to a local directory where an NFS exported directory is mounted.

device-path <Path to NFS Directory>

Specifies the NFS server and the absolute path to the NFS exported directory in this format:

<IP Address or FQDN of NFS Server>:/<Path to Directory>

Example:

192.168.22.33:/MySharedFolder

options

Specifies the mounting options.

Notes:

  • To see the supported options, enter this syntax, press the SPACE key, and press the SHIFT+? keys:

    add nfs mount-point <Path to Local Directory> device-path <Path to NFS Directory> options[PRESS SPACE][PRESS SHIFT+?]

  • For explanations about these options, see the Linux man pages 'mount(8)' and 'nfs(5)'.

Syntax options:

  • options defaults

    Uses the default mounting settings.

  • options custom <Mount Option 1>,<Mount Opstion 2>,<...>

    Uses the specified mounting settings.

    See Supported NFS v4 Options.

timeout

Configures and shows the NFS v4 timeout.

Default: 5 seconds.

Supported NFS v4 Options

Configuring NFS with Gaia API

You can work with NFS storage devices using Gaia API commands.

See the Check Point Gaia API Reference > chapter "Files" > section "Network File System".