Updated on 2025-08-29 GMT+08:00

Formatting a Disk

Scenarios

The data disks of SAP NetWeaver nodes can be used only after they are formatted and attached to required directories. This section describes how to format the data disk on the active ASCS node in the distributed HA deployment within an AZ. The shared disk of the active ASCS node needs to be formatted based on Table 3.

  • On the ECS homepage, choose Learn more > Getting Started > Initializing an EVS Disk (Linux) to view the hard disk initialization information.

Procedure

  1. Use PuTTY to log in to the NAT server with an EIP bound. Ensure that user root and the password are used for authentication. Then, use SSH to switch to the active ASCS node from the NAT server.
  2. Based on Table 3, run the following commands to format disks:

    mkfs.xfs /dev/sdb

    mkfs.xfs /dev/sdc

    Do not format the partition sda.

    The formatting takes a period of time. Observe the system running status and do not exit.

    • For details about file systems in the standard deployment mode, see Table 1.
    • For details about file systems in the distributed deployment mode, see Table 1.

  3. Attach the disks to the required directory.

    Create the /usr/sap/A01/ASCS00 directory on the active ASCS node and run the following command:

    mount /dev/sdb /usr/sap/A01/ASCS00

    Create the /usr/sap/A01/ERS10 directory on the standby ASCS node and run the following command:

    mount /dev/sdc /usr/sap/A01/ERS10

    A01 is the SID of SAP NetWeaver, 00 is the Instance Number of ASCS, and 10 is the Instance Number of ERS.

  4. Save the changes and exit.