本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
記錄傾印
貢獻者
建議變更
NFS logdump
命令會根據移轉 ID 或工作 ID 來篩選記錄、並將這些記錄傾印至 .zip
目前目錄中的檔案。。 .zip
檔案的名稱與命令所使用的移轉或工作 ID 相同。
語法
xcp logdump -m <migration ID>
xcp logdump -j <job ID>
顯示範例
[root@client1 xcp_nfs]# xcp logdump -j Job_2022-06-14_21.49.28.060943_scan xcp: Job ID: Job_2022-06-14_21.52.48.744198_logdump Xcp command : xcp logdump -j Job_2022-06-14_21.49.28.060943_scan Stats : Speed : 0 in (0/s), 0 out (0/s) Total Time : 0s. Job ID : Job_2022-06-14_21.52.48.744198_logdump Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2022-06-14_21.52.48.744198_logdump.log STATUS : PASSED [root@client xcp_nfs]# ls Job_2022-06-14_21.49.28.060943_scan Job_2022-06-14_21.49.28.060943_scan.log supplementary [root@client1 xcp_nfs]# ls Job_2022-06-14_21.49.28.060943_scan/supplementary/ Job_idx_2022-06-14_21.46.05.167338_copy.log Job_idx_2022-06-14_21.47.41.868410_sync.log xcp_history.json Job_idx_2022-06-14_21.46.35.134294_sync.log Job_idx_2022-06 14_21.48.00.085869_sync.log [root@client1 xcp_nfs]# [root@client1 xcp_nfs]# ./xcp logdump -m idx xcp: Job ID: Job_2022-06-14_21.56.04.218977_logdump Xcp command : xcp logdump -m idx Stats : Speed : 0 in (0/s), 0 out (0/s) Total Time : 0s. Job ID : Job_2022-06-14_21.56.04.218977_logdump Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2022-06-14_21.56.04.218977_logdump.log STATUS : PASSED [root@client1 xcp_nfs]# ls idx Job_idx_2022-06-14_21.46.05.167338_copy.log Job_idx_2022-06-14_21.47.41.868410_sync.log xcp_history.json Job_idx_2022-06-14_21.46.35.134294_sync.log Job_idx_2022-06-14_21.48.00.085869_sync.log