Skip to main content
본 한국어 번역은 사용자 편의를 위해 제공되는 기계 번역입니다. 영어 버전과 한국어 버전이 서로 어긋나는 경우에는 언제나 영어 버전이 우선합니다.

인덱스 삭제

기여자

NFS indexdelete 명령이 카탈로그 인덱스를 삭제합니다.

구문
xcp indexdelete
예제 보기
[root@client1 linux]# ./xcp indexdelete

Job ID: Job_2023-11-16_02.41.20.260166_indexdelete
===========================================================================================
Name Command Size Created Updated
===========================================================================================
isync_tc1_retry copy 996 KiB 15-Nov-2023 15-Nov-2023
isync_est_isync isync 1012 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_05.56.17.522428 verify 1016 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_06.04.31.693517 verify 1.00 MiB 15-Nov-2023 15-Nov-2023
isync_tc1_retry1 copy 988 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_09.02.46.973624 verify 988 KiB 15-Nov-2023 15-Nov-2023
est001 isync 1012 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_09.37.24.179634 verify 0 15-Nov-2023 15-Nov-2023
a1batch_error1 copy 368 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_09.45.53.104055 verify 360 KiB 15-Nov-2023 15-Nov-2023
a1batch_error2 isync 376 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_09.48.05.000473 verify 372 KiB 15-Nov-2023 15-Nov-2023
b1batch_error1 copy 4.50 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_12.00.29.214479 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
b1batch_error2 isync 4.50 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_12.00.40.536687 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_12.27.08.055501 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_12.27.39.797020 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_12.52.29.408766 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_12.53.01.870109 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
c1batch_error1 copy 988 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_22.54.11.081944 verify 976 KiB 15-Nov-2023 15-Nov-2023
c1batch_error2 isync 1020 KiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_23.19.44.158263 verify 1.00 MiB 15-Nov-2023 15-Nov-2023
XCP_verify_2023-11-15_23.44.01.274732 verify 4.50 KiB 15-Nov-2023 15-Nov-2023
c1batch_error132576 copy 992 KiB 16-Nov-2023 16-Nov-2023
c1batch_error227998 isync 1004 KiB 16-Nov-2023 16-Nov-2023
XCP_verify_2023-11-16_01.07.45.824516 verify 1012 KiB 16-Nov-2023 16-Nov-2023
S3_index copy 52.5 KiB 16-Nov-2023 16-Nov-2023
S3_index1 copy 52.5 KiB 16-Nov-2023 16-Nov-2023
c1batch_error14383 copy 728 KiB 16-Nov-2023 16-Nov-2023
32 scanned, 941 KiB in (1.04 MiB/s), 48.8 KiB out (55.4 KiB/s), 0s.
WARNING: 31 indexes will be deleted permanently.
Are you sure you want to delete (yes/no): yes
Xcp command : xcp indexdelete
Stats : 466 scanned, 31 index deleted
Speed : 1.09 MiB in (216 KiB/s), 133 KiB out (25.8 KiB/s)
Total Time : 5s.
Job ID : Job_2023-11-16_02.41.20.260166_indexdelete
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.41.20.260166_indexdelete.log
STATUS : PASSED
[root@client1 linux]#

다음 표에는 가 나열되어 있습니다 indexdelete 매개 변수 및 설명

매개 변수 설명

<<nfs_indexdelete_match,indexdelete - 일치(); 필터();

필터와 일치하는 파일 및 디렉토리만 처리합니다.

<<nfs_indexdelete_loglevel,indexdelete - LogLevel 이름 GT;

로그 레벨을 설정합니다. 사용 가능한 레벨은 Info, debug(기본값: Info)입니다.

indexdelete - <filter>와 일치합니다

를 사용합니다 -match <filter> 매개 변수 indexdelete 필터와 일치하는 파일 및 디렉토리만 처리하는 명령입니다.

구문
xcp indexdelete -match <filter>
예제 보기
[root@client1 linux]# ./xcp indexdelete -match "fnm('S3_index12')"

Job ID: Job_2023-11-16_02.44.39.862423_indexdelete
=========================================================================
Name Command Size Created Updated
=========================================================================
S3_index12 copy 52.5 KiB 16-Nov-2023 16-Nov-2023
5 scanned, 1 matched, 141 KiB in (121 KiB/s), 6.05 KiB out (5.20 KiB/s), 1s.
WARNING: 1 matched index will be deleted permanently.
Are you sure you want to delete (yes/no): yes
Xcp command : xcp indexdelete -match fnm('S3_index12')
Stats : 19 scanned, 1 matched, 1 index deleted
Speed : 146 KiB in (29.3 KiB/s), 8.59 KiB out (1.72 KiB/s)
Total Time : 4s.
Job ID : Job_2023-11-16_02.44.39.862423_indexdelete
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.44.39.862423_indexdelete.log
STATUS : PASSED
[root@client1 linux]#

indexdelete - LogLevel <name>입니다

를 사용합니다 -loglevel <name> 매개 변수 indexdelete 로그 레벨을 설정하는 명령입니다. 사용 가능한 레벨은 Info 및 debug입니다. 기본 레벨은 Info입니다.

구문
xcp indexdelete -loglevel <name> -match <filter>
예제 보기
root@client1 linux]# ./xcp indexdelete -loglevel DEBUG -match "fnm('test*')"

Job ID: Job_2023-11-16_03.39.36.814557_indexdelete
===========================================================================================
Name Command Size Created Updated
===========================================================================================
testing scan 24.5 KiB 16-Nov-2023 16-Nov-2023
testingisync isync 12.5 KiB 16-Nov-2023 16-Nov-2023
5 scanned, 2 matched, 65.1 KiB in (61.1 KiB/s), 6.24 KiB out (5.85 KiB/s), 1s.
WARNING: 2 matched indexes will be deleted permanently.
Are you sure you want to delete (yes/no): yes
6 scanned, 2 matched, 65.1 KiB in (10.5 KiB/s), 6.39 KiB out (1.03 KiB/s), 7s
Xcp command : xcp indexdelete -loglevel DEBUG -match fnm('test*')
Stats : 32 scanned, 2 matched, 2 index deleted
Speed : 75.5 KiB in (10.3 KiB/s), 11.1 KiB out (1.52 KiB/s)
Total Time : 7s.
Job ID : Job_2023-11-16_03.39.36.814557_indexdelete
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_03.39.36.814557_indexdelete.log
STATUS : PASSED
[root@client1 linux]#