The growpart command cannot grow a partition beyond 2TB in a system hosted in AWS Cloud
This document (000020334) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
Situation
A disk belonging to the system is already resized from 3 TB to 3.5 TB in Amazon EC2.
However, when the "growpart" command is used to grow the partition from the same disk in the system, the following error is seen.
For example:
# growpart /dev/nvme1n1 1
NOCHANGE: partition 1 could only be grown by -2147481600 [fudge=2048]
Resolution
For example:
SUSEConnect -p sle-module-public-cloud/12/x86_64
Update the "growpart" package to at least version "0.31-4.14.2".
For example:
zypper update growpart
After the "growpart" package is updated, the partition can be resized beyond 2TB successfully.
Cause
# zypper info growpart
...
Information for package growpart:
---------------------------------
Repository : @System
Name : growpart
Version : 0.30-4.5.1
Arch : noarch
Vendor : SUSE LLC <https://www.suse.com/>
...
The latest patch for the "growpart" package is not available in the default repositories.
So the "sle-module-public-cloud" module extension must be added in order to get the latest patch.
Status
Additional Information
Turn on the verbose flag (-v) for "growpart" command to see additional warning message to help identify this issue:
For example:
# growpart -v /dev/nvme1n1 1
...
WARN: disk is larger than 2TB. additional space will go unused.
...
NOCHANGE: partition 1 could only be grown by -2147481600 [fudge=2048]
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020334
- Creation Date: 15-Jul-2021
- Modified Date:16-Jul-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com