La versione in lingua italiana fornita proviene da una traduzione automatica. Per eventuali incoerenze, fare riferimento alla versione in lingua inglese.
indicizzazione
Collaboratori
Suggerisci modifiche
Il protocollo NFS indexdelete
il comando elimina gli indici del catalogo.
Sintassi
xcp indexdelete
Mostra esempio
[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]#
La seguente tabella elenca indexdelete
parametri e loro descrizione.
Parametro | Descrizione |
---|---|
Elabora solo i file e le directory corrispondenti al filtro. |
|
Consente di impostare il livello di registro; i livelli disponibili sono INFO, DEBUG (valore predefinito: INFO). |
indexdelete -corrisponde a <filter>
Utilizzare -match <filter>
con il indexdelete
comando per elaborare solo i file e le directory che corrispondono al filtro.
Sintassi
xcp indexdelete -match <filter>
Mostra esempio
[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>
Utilizzare -loglevel <name>
con il indexdelete
Comando per impostare il livello di log; i livelli disponibili sono INFO e DEBUG. Il livello predefinito è INFO.
Sintassi
xcp indexdelete -loglevel <name> -match <filter>
Mostra esempio
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]#