The system checks the disk space every 60 seconds. When detecting that the disk space is expanded, the system expands disk partition. This alarm is generated when the disk partition fails to be expanded.
This alarm is cleared when the system detects that the disk partition is successfully expanded.
Alarm ID |
Alarm Severity |
Auto Cleared |
---|---|---|
12187 |
Minor |
Yes |
Parameter |
Description |
---|---|
Source |
Specifies the cluster or system for which the alarm is generated. |
ServiceName |
Specifies the service for which the alarm is generated. |
RoleName |
Specifies the role for which the alarm is generated. |
HostName |
Specifies the host for which the alarm is generated. |
MountDirectoryName |
Specifies the directory for which the alarm is generated. |
The expanded data disk space cannot be used to store data.
Check whether growpart is installed.
which growpart
[root@xxx ~]#which growpart /usr/bin/growpart
Run the disk partition expansion command.
lsblk
Search for the partition and the disk based on the mount directory name in the alarm location information, and check the disk and partition sizes.
In the following example, the mount directory is /srv/BigData/data1, the used disk is /dev/vdb, and the disk partition is /dev/vdb1.
growpart Data disk Partition number
Run the following command:
growpart /dev/vdb 1
If information similar to the following is displayed, the execution is successful. If the execution fails, contact O&M personnel.
resize2fs Disk partition
Run the following command:
resize2fs /dev/vdb1
If information similar to the following is displayed, the execution is successful:
This alarm is automatically cleared after the fault is rectified.
None.