选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Mounting specific filesets - Amazon File Cache
此页面尚未翻译为您的语言。 请求翻译

Mounting specific filesets

By using the Lustre fileset feature, you can mount only a subset of the cache namespace, which is called a fileset. To mount a fileset of the cache on the client, specify the subdirectory path after the cache name. A fileset mount (also called a subdirectory mount) limits the cache namespace visibility on a specific client.

Example – Mount a Lustre fileset
  1. Assume that you have a cache with the following directories:

    team1/dataset1/ team2/dataset2/
  2. You mount only the team1/dataset1 fileset, making only this part of the cache locally visible on the client. Use these commands and replace the following items:

    • Replace cache_dns_name with the actual cache's DNS name.

    • Replace mountname with the cache's mount name. This mount name is returned in the CreateFileCache API operation response. It's also returned in the response of the describe-file-caches AWS CLI command, and the DescribeFileCaches API operation.

    mount -t lustre -o relatime,flock cache_dns_name@tcp:/mountname/team1/dataset1 /mnt

When using the Lustre fileset feature, keep the following in mind:

  • Before a cache directory can be mounted on a client, you must list the directory by running the ls command on a parent directory in the cache.

  • There are no constraints preventing a client from remounting the cache using a different fileset, or no fileset at all.

  • When using a fileset, some Lustre administrative commands requiring access to the .lustre/ directory might not work, such as the lfs fid2path command.

  • If you plan to mount several subdirectories from the same cache on the same host, keep in mind that this consumes more resources than a single mount point, and it could be more efficient to mount the cache root directory only once instead.

For more information about the Lustre fileset feature, see the Lustre Operations Manual on the Lustre documentation website.

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。