Go to main content

Oracle® ZFS Storage Appliance 관리 설명서, 릴리스 OS8.8.x

인쇄 보기 종료

업데이트 날짜: 2021년 8월
 
 

마이그레이션 진행률 및 오류 모니터링(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>