# 文件系统、目录和文件

LSF 是为所有主机都具有共享文件系统，且所有主机上的文件具有相同名称的网络而设计的。

LSF 支持在批处理作业运行之前将用户数据复制到执行主机，并在作业运行之后将结果复制回来。

在不共享文件系统的网络中，此支持，可用于使远程作业访问本地数据。

## 支持的文件系统

* **UNIX**

  在 UNIX 系统上，LSF 支持以下共享文件系统：

  * **Network File System (NFS)**

    NFS 文件系统可以永久安装，也可以使用 **automount** 命令按需安装。
  * **Andrew File System (AFS)**

    在 9.1.2 集成的参数下，以及一些已发布的配置参数下按需支持。 支持访问 AFS，AFS 上的**JOB\_SPOOL\_DIR** ，以及 AFS 上的作业输出和错误文件的顺序和并行用户作业。
  * **Distributed File System (DCE/DFS)**

    按需支持。
* **Windows**

  在 Windows 上，可以从 Windows 服务器计算机的主机之间，共享包含 LSF 文件的目录。

## 非共享目录和文件

LSF 用于具有共享文件空间的网络。 当共享文件空间不可用时，LSF 可以在作业运行之前，将所需文件复制到执行主机，并在作业完成后，将结果文件复制回提交主机。

某些网络不在主机之间共享文件。 LSF 仍可以在这些网络上使用，但容错能力却有所降低。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://baiyongan.gitbook.io/lsf-handbook/administrator_fundations/cluster_overview/filesystems_directories_and_files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
