Go to main content

Oracle® ZFS Storage Appliance 管理指南,发行版 OS8.8.0

退出打印视图

更新时间: 2018 年 11 月
 
 

从 NFS 服务器中导入复制流 (CLI)

  1. 要从 NFS 服务器导入复制流,请导航到目标上的 shares replication packages,然后输入 ls 以列出数据包。
    target_a:> shares replication packages
    target_a:shares replication packages> ls
    Packages:
    
    ID          STATE DATA_TIMESTAMP      SOURCE     DATASET
    package-000 idle  unknown             sourceA   <unknown>
    
  2. 选择要导入的数据包。

    要查看属性,请输入 ls

    target_a:shares replication packages> select package-000
    target_a:shares replication package-000> ls
    Properties:
    
                                id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
                       source_name = sourceA
                        source_asn = d1fce51d-b8a9-6cf8-d71e-fcd4fe42cd0e
                         source_ip = 10.000.000.000:216
                       target_pool = poolA
                        replica_of = <unknown>
                           enabled = true
                             state = idle
                 state_description = Idle (no update in progress)
                           offline = false
                       import_path =
                    data_timestamp = unknown
                         last_sync = unknown
                          last_try = unknown
                       last_result = unknown
    
    
  3. 设置复制的数据的导入路径,然后输入 commit
    target_a:shares replication package-000> set import_path=
    nfs://nfs_server/export/init_repl
                      import_path = nfs://nfs_server/export/init_repl (uncommitted)
    target_a:shares replication package-000> commit
    target_a:shares replication package-000> ls
    Properties:
    
                                id = 96366bf2-0b3c-4eec-e85b-e36e1b5bc18c
                       source_name = sourceA
                        source_asn = d1fce51d-b8a9-6cf8-d71e-fcd4fe42cd0e
                         source_ip = 10.000.000.000:216
                       target_pool = poolA
                        replica_of = <unknown>
                           enabled = true
                             state = receiving
                 state_description = Importing update
                           offline = true
                       import_path = nfs://nfs_server/export/init_repl
                    data_timestamp = unknown
                         last_sync = unknown
                          last_try = unknown
                       last_result = unknown
    

后续步骤

将复制流导入目标设备后,继续执行以下操作之一: