Skip to content

Commit

Permalink
OCPBUGS-33124: Removed the growpart.
Browse files Browse the repository at this point in the history
  • Loading branch information
madhu-pillai committed Jun 6, 2024
1 parent f6cad58 commit 899d639
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion overlay.d/05rhcos/usr/libexec/coreos-cryptfs
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 899d639

Please sign in to comment.