Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

NetWorker:如何将客户端文件索引移到新位置

Summary: 如何将客户端文件索引移到备用位置。以及如何更改现有客户端的客户端文件索引位置

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms



如何将客户端文件索引移到备用位置。
如何更改现有客户端的客户端文件索引位置。
 
错误: 'nsrd: index warning: Filesystem containing file index for client '(clientname)' is getting full.
Error: 'no space left on device'

Cause

NA

Resolution

要将现有客户端的客户端文件索引位置更改为非默认位置,您必须先将索引移至其新位置。

客户端文件索引位置。
在初始客户端设置期间,NetWorker 软件会在 NetWorker 服务器上指定客户端文件索引的默认位置。此默认位置为:
  对于 UNIX:/Nsr/index/client_name
 
对于 Windows: NetWorker_install_path\index\client_name
但是,在首次配置客户端资源时,您可能需要指定不同的索引位置,或者您可能需要移动现有客户端的文件索引。以下各部分将解决这些需求。

移动客户端文件索引。 
您可以将客户端文件索引从其当前位置移至新位置。例如,如果客户端文件索引太大,可以将其移动到具有更多空间的位置。

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(确定)。

更新特定客户端的索引位置
1.在 Administration 窗口中,单击 Configuration。
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 或 nsrls 可能需要相当长的时间。如示例中所示,运行 nsrck -L6 命令还会检查索引是否损坏。

如果未发现问题,则所有未来的客户端文件索引信息都会保存到新位置。

 

Additional Information

Article Properties


Product

NetWorker

Last Published Date

14 Jun 2021

Version

4

Article Type

Solution