Go to main content
Oracle® ZFS Storage Appliance 管理ガイド、Release OS8.7.0

印刷ビューの終了

更新: 2017 年 3 月
 
 

移行の進行状況およびエラーのモニタリング (CLI)

  1. シャドウ移行ソースを含むファイルシステムに移動し、「shadow」と入力してから「list」と入力します。
    hostname:shares default/file_sys1> shadow
    hostname:shares default/file_sys1 shadow> list
    Properties:
                            source = nfs://zfs0000-15/sm/errors
                       transferred = (unset)
                         remaining = 1.37G
                           elapsed = 0h3m
                            errors = 23
                          complete = true
                              time = (unset)
    
    Children:
                               errors => Shadow Migration Errors
    hostname:shares default/file_sys1 shadow>

    注 -  shadow=none と定義されたシャドウ移行ソースが存在しない場合、そのファイルシステムに対して shadow コマンドは無効です。
    hostname:shares default/xyz_1> shadow
    error: invalid command "shadow"

  2. シャドウ移行エラーを表示するには、子ノードで「errors」と入力し、「help」と入力してサブコマンドの一覧を表示します。
    hostname:shares default/file_sys1 shadow> errors
    
    hostname:shares default/file_sys1 shadow errors> help
    
    Subcommands that are valid in this context:
    
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help" or "script".
    
       show                 => Show information pertinent to the current context
    
       done                 => Finish operating on "errors"
    
       select [entry]       => Select the specified entry to get its properties,
                               set its properties, or run a subcommand
    
       list                 => Lists up to the first 100 errors. The "-a" option may be
                               used to list all the errors if there are more that 100
    						   errors. The "-number" option may be used to list the first
    						   (number) of errors. Format: list -a or list -xx
    
  3. show」と入力して、現在のコンテキストでの個々の移行エラーを表示します。
    hostname:shares default/file_sys1 shadow errors> show
    Errors:
    
    PATH                             REASON
    ak-2013-dev-on-clone.tar.gz     Permission denied
    test_dir/CREDITS.html           Permission denied
    test_dir/CREDITS_ja.html        Permission denied
    test_dir/CREDITS_pt_BR.html     Permission denied
    test_dir/CREDITS_zh_CN.html     Permission denied
    test_dir/DISTRIBUTION.txt       Permission denied
    test_dir/LEGALNOTICE.txt        Permission denied
    test_dir/LICENSE.txt            Permission denied
    test_dir/README.html            Permission denied
    test_dir/README_ja.html         Permission denied
    test_dir/README_pt_BR.html      Permission denied
    test_dir/README_zh_CN.html      Permission denied
    test_dir/THIRDPARTYLICENSE.txt  Permission denied
    test_dir/bin                    Permission denied
    test_dir/cnd2                   Permission denied
    test_dir/etc                    Permission denied
    test_dir/gsf1                   Permission denied
    test_dir/ide10                  Permission denied
    test_dir/modCluster.properties  Permission denied
    test_dir/nb6.5                  Permission denied
    test_dir/forms.css              Permission denied
    test_dir/platform9              Permission denied
    test_dir/websvccommon1          Permission denied
  4. 個々のエラーを表示するには、select コマンドと個々のエラー名を入力します。その後、show と入力します。

    個々のエラープロパティーを表示するには、get コマンドを使用します。

    hostname:shares default/file_sys1 shadow errors> select test_dir/nb6.5
    
    hostname:shares default/file_sys1 shadow errors test_dir/nb6.5> show
    Properties:
                              path = test_dir/nb6.5
                            reason = Permission denied
    
    hostname:shares default/file_sys1 shadow errors test_dir/nb6.5> get path
                              path = test_dir/nb6.5
    hostname:shares default/file_sys1 shadow errors test_dir/nb6.5> get reason
                            reason = Permission denied
    hostname:shares default/file_sys1 shadow errors test_dir/nb6.5> done
    hostname:shares default/file_sys1 shadow errors>