Physical Server

Failure to Mount the Data Disk Partition of a Physical Server

2024-12-17 08:22:21

Issue Description

Failed to mount the data disk partition of the physical server

Possible Reasons

#Run the following command
sudo fdisk -l
#fdisk -l error: GPT PMBR size mismatch will be corrected by write

The Linux system does not update the disk information during capacity expansion. As a result, the actual disk capacity is inconsistent with the capacity of the Linux system.

Solutions

Note: The formatting operation will lead to the loss of disk data. Please back up required data  before formatting.

Method 1:

Run the mkfs command to format partitions of the disk;

Method 2:

#Run the following command
sudo parted -l
#Then enter
Fix

Run sudo fdisk -l again. You will find that no error is reported.


iOtwyNXMECGA