文件系统规划
SAP 文件系统规划
SAP文件系统规划如下图所示,需保证/sapmnt 文件系统大小大于2.5GB,/usr/sap 文件系统大小大于25GB,具体要求可参考SAP官方手册。

DB2文件系统规划
在安装之前为DB2数据库设置所需的文件系统节点,文件系统规划如下表所示,/DB2总文件大小需大于100G,文件系统大小具体要求
可参考SAP官方手册 3.1 Setting Up File Systems for Shared Disk Scenario
File System | Description |
|---|---|
/db2/db2<dbsid> | Contains the home directory of db2<sapsid> |
/db2/<DBSID>/log_dir | Contains at least the online database log files |
/db2/<DBSID>/db2dump | Contains DB2 diagnostic log files, DB2 dump files, and further service engineer information |
/db2/<DBSID>/db2<dbsid> | Contains the local database directory |
/db2/<DBSID>/db2<dbsid> | Contains the temporary tablespace(s) |
/db2/<DBSID>/sapdata1 | SAP data for container type database managed space (DMS) FILE or for use of DB2's automatic storage management |
下表为SAP文件系统示例
挂载点 | 文件系统大小 | 文件系统类型 | 是否共享 | 说明 |
|---|---|---|---|---|
/ | 100GB | - | 否 | OS卷。 |
/usr/sap | 100G | xfs | 否 | /usr/sap卷。 |
/sapmnt | 40G | xfs | 否 | 共享给SAP 系统内所有节点。 |
/db2sfs | 自动扩容 | SFS | 否 | 存放SAP安装包,共享给SAP 系统内所有节点。 |
/db2 | 300G | xfs | 否 | 用于存放DB2文件系统节点。 |
- | 20G | swap | 否 | Swap卷。 |

