Setting Up an Export Path to the NFS Server (CLI)

Use the following procedure to set up an export path to the NFS server.
  1. Identify or create a replication target.
  2. Create a replication action, set the export_path, and commit the new action.
    source:shares default replication> action
    source:shares default action (uncommitted)> set target=target_a
                           target = target_a (uncommitted)
    source:shares default action (uncommitted)> set pool=pool2
                             pool = pool2 (uncommitted)
    source:shares default action (uncommitted)> set export_path=nfs://nfs_server/export/init_repl
                      export_path = nfs://nfs_server/export/init_repl (uncommitted)
    source:shares default action (uncommitted)>commit

    Note:

    Optionally, you can set a scheduled or continuous replication mode, which will start the update after the export and the import operations have completed.
  3. Navigate back to the replication action that you just created, and view the current status.
    source:shares default replication> ls
    Actions:
                   TARGET          STATUS     NEXT
    action-000  target_a         idle       Export replication data
    
        
    source:shares default replication> last
    source:shares default action-000> ls
    Properties:
                               id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
                           target = target_a
                          enabled = true
                       continuous = false
                    include_snaps = true
                    max_bandwidth = unlimited
                       bytes_sent = 0
                   estimated_size = 0
              estimated_time_left = 00:00:00
               average_throughput = 0B/s
                          use_ssl = true
                      compression = on
                      export_path = nfs://nfs_server/export/init_repl
                            state = idle
                state_description = Idle (export pending)
                   export_pending = true
                          offline = false
                      next_update = Export replication data
                        last_sync = <unknown>
                         last_try = <unknown>
                      last_result = <unknown>