NetWorker:如何将客户端文件索引移到新位置
Summary: 如何将客户端文件索引移到备用位置。以及如何更改现有客户端的客户端文件索引位置
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
如何将客户端文件索引移到备用位置。
如何更改现有客户端的客户端文件索引位置。
Error: 'nsrd: index warning: Filesystem containing file index for client '(clientname)' is getting full.
Error: 'no space left on device'
Error: 'no space left on device'
Cause
不适用
Resolution
要将现有客户端的客户端文件索引位置更改为非默认位置,您必须先将索引移至其新位置。
客户端文件索引位置。
移动客户端文件索引。
更新特定客户端的索引位置
提醒:根据客户端文件索引的大小,运行 nsrck 或 nsrls 可能需要相当长的时间。如示例中所示,运行 nsrck -L6 命令还会检查索引是否损坏。
如果未发现问题,则所有未来的客户端文件索引信息都会保存到新位置。
客户端文件索引位置。
在初始客户端设置期间,NetWorker 软件会在 NetWorker 服务器上指定客户端文件索引的默认位置。此默认位置为:
对于 UNIX:/Nsr/index/client_name
对于 Windows:NetWorker_install_path\index\client_name
对于 Windows:NetWorker_install_path\index\client_name
但是,在首次配置客户端资源时,您可能需要指定不同的索引位置,或者您可能需要移动现有客户端的文件索引。以下各部分将解决这些需求。
移动客户端文件索引。
您可以将客户端文件索引从其当前位置移至新位置。例如,如果客户端文件索引太大,可以将其移动到具有更多空间的位置。
1.确保 NetWorker 服务器上未发生备份和恢复。
2.在 UNIX 上或 Windows(以管理员身份)上登录 NetWorker 服务器根目录。
3.从包含索引的目录中,键入:
1.确保 NetWorker 服务器上未发生备份和恢复。
2.在 UNIX 上或 Windows(以管理员身份)上登录 NetWorker 服务器根目录。
3.从包含索引的目录中,键入:
uasm -s -i "client_index_directory_name" | (cd target_directory;
uasm -r)
注: 在 Solaris 和 Linux 平台上,uasm 安装在 /usr/lib/nsr 中。在所有其他平台上,uasm 安装在与 NetWorker 二进制文件相同的位置。
4.使用 NMC 连接到 NetWorker 服务器。
5.单击 Configuration,然后单击左侧导航窗格中的 Clients。
6.右键单击需要客户端文件索引位置更新的客户端,然后选择“Modify Client Properties”。
7.在 Index Path 属性的 Globals (2 of 2) 选项卡中,指定客户端文件索引现在所在的目录的完整路径。
8.单击“OK”。
uasm -r)
注: 在 Solaris 和 Linux 平台上,uasm 安装在 /usr/lib/nsr 中。在所有其他平台上,uasm 安装在与 NetWorker 二进制文件相同的位置。
4.使用 NMC 连接到 NetWorker 服务器。
5.单击 Configuration,然后单击左侧导航窗格中的 Clients。
6.右键单击需要客户端文件索引位置更新的客户端,然后选择“Modify Client Properties”。
7.在 Index Path 属性的 Globals (2 of 2) 选项卡中,指定客户端文件索引现在所在的目录的完整路径。
8.单击“OK”。
更新特定客户端的索引位置
1.在 Administration 窗口中,单击 Configuration。
2.单击 Clients。
3.右键单击要更改客户端文件索引位置的客户端,然后选择 Properties。Properties 对话框将显示。
4.单击 Globals (2 of 2) 选项卡。
5.在 Index Path 属性中,输入客户端文件索引现在所在的目录的完整路径。
6.单击 Ok。
7.(可选)在命令提示符处,运行 nsrck 或 nsrls 命令,并检查输出是否存在任何错误。
例如,要在客户端 jupiter 上运行 nsrck,请键入以下内容:
2.单击 Clients。
3.右键单击要更改客户端文件索引位置的客户端,然后选择 Properties。Properties 对话框将显示。
4.单击 Globals (2 of 2) 选项卡。
5.在 Index Path 属性中,输入客户端文件索引现在所在的目录的完整路径。
6.单击 Ok。
7.(可选)在命令提示符处,运行 nsrck 或 nsrls 命令,并检查输出是否存在任何错误。
例如,要在客户端 jupiter 上运行 nsrck,请键入以下内容:
nsrck -L6 jupiter
将显示类似以下内容的输出:
nsrck: checking index for 'jupiter'
nsrck: nsrindexesjupiter contains 54 records occupying 7 KB
nsrck: Completed checking 1 client(s)
nsrck: nsrindexesjupiter contains 54 records occupying 7 KB
nsrck: Completed checking 1 client(s)
提醒:根据客户端文件索引的大小,运行 nsrck 或 nsrls 可能需要相当长的时间。如示例中所示,运行 nsrck -L6 命令还会检查索引是否损坏。
如果未发现问题,则所有未来的客户端文件索引信息都会保存到新位置。
Additional Information
有关视频演示,请参阅:
如何将客户端文件索引移到备选位置
另请参阅知识库文章:
KB 470221:NetWorker:解决客户端文件索引之谜
(参考000079446)
KB 336097:如何将客户端文件索引移到新位置
KB 336112:如何交叉检查和刷新客户端文件索引
KB 335944:如何备份所有客户端索引和创建引导程序?
KB 336105:NetWorker:如何重新创建客户端文件索引文件夹?
参考 (000071889)
知识库文章 470294:NetWorker:对客户端文件索引恢复问题进行故障处理
KB 470228:NetWorker:对客户端文件索引错误进行故障处理
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000080544
Article Type: Solution
Last Modified: 24 Sept 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.