From 899d639debcb88e90f23f703f9bd645763ad0b3d Mon Sep 17 00:00:00 2001 From: madhu-pillai Date: Thu, 6 Jun 2024 08:05:51 +0530 Subject: [PATCH] OCPBUGS-33124: Removed the growpart. --- overlay.d/05rhcos/usr/libexec/coreos-cryptfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/overlay.d/05rhcos/usr/libexec/coreos-cryptfs b/overlay.d/05rhcos/usr/libexec/coreos-cryptfs index 8387124c..0db27bd5 100755 --- a/overlay.d/05rhcos/usr/libexec/coreos-cryptfs +++ b/overlay.d/05rhcos/usr/libexec/coreos-cryptfs @@ -136,7 +136,9 @@ try_open() { # TODO: make this idempotent, and don't error out if # we can't resize. - growpart "${parent_device}" "${partition}" || true + # Investigation OCPBUGS-33124 proved the growpart causes the partition disappears. + # Hence removed from coreos-cryptfs. + # growpart "${parent_device}" "${partition}" || true local dev_size=$(($(blockdev --getsize "${dev}") - "${LUKS_HEADER_OFFSET_SECTORS}")) echo "0 ${dev_size} linear ${dev} ${LUKS_HEADER_OFFSET_SECTORS}" \