Followed the instruction at https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/11-0/install-configure-upgrade/upgrade-the-gateway/understand-gateway-patches/patch-an-appliance-gateway/increase-disk-space-in-virtual-appliance-using-lvm.html#concept.dita_5648c558-fa45-44c7-b21c-3194e5754f99_section_1
Performed the steps for detailed label of the boot partition and rebooted the OVA appliance.
Getting this response from the readiness checker:
System Check: Validating disk layout..
Gateway may experience boot failure due to missing persistent volume labels for /boot or /boot/efi.
System Check: Disk layout checks - FAIL
Command
blkid
output:
/dev/sdb1: SEC_TYPE="msdos" LABEL_FATBOOT="EFI" LABEL="EFI" UUID="6A2E-BB7B" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a811443f-e4f1-9043-b5f0-326018e134d3"
/dev/sdb2: LABEL="BOOT" UUID="6b172556-a2e0-46db-ad1f-62312678dd64" SEC_TYPE="ext2" BLOCK_SIZE="1024" TYPE="ext3" PARTUUID="beabf9a4-d44a-b64d-a072-de0c1f27c5f0"
/dev/sdb3: UUID="dxJ2DJ-l61R-uzyU-q4Po-TGxz-XElU-2anQdG" TYPE="LVM2_member" PARTUUID="2dd1b7f5-36ac-2d4e-a8b6-880b694f4904"
/dev/mapper/vg01-lv_root: LABEL="lv_root" UUID="34ab9925-760f-4e78-867c-ae860eb41357" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_swap: UUID="4d2e74ee-e4cf-47c2-990e-da6d1fdac49d" TYPE="swap"
/dev/mapper/vg01-lv_db: LABEL="lv_db" UUID="8c3ff279-72a9-4d68-bfdd-8bd6b5328352" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_tmp: LABEL="lv_tmp" UUID="b92d29eb-71f0-4d52-b23c-8f77154e807a" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_home: LABEL="lv_home" UUID="31899f59-7fe1-4294-b7d5-a2c67146b821" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_audit: LABEL="lv_audit" UUID="21db17e2-1f24-4f81-85a4-75e11dc76b08" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_log: LABEL="lv_log" UUID="2ce1b917-fc25-4deb-89cc-4a3e53884b4d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_var: LABEL="lv_var" UUID="fff07bc0-e261-47e6-b943-9bd306508b37" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_opt: LABEL="lv_opt" UUID="91db1397-1f12-4b8e-82a8-7ee8e7bcffac" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg01-lv_vartmp: LABEL="lv_vartmp" UUID="ccc3beaf-7332-4fdd-ae2b-4e541c2615a4" BLOCK_SIZE="1024" TYPE="ext4"
/dev/mapper/vg01-lv_reserved: LABEL="lv_reserved" UUID="19152832-06fe-40c9-89b7-98e282b56148" BLOCK_SIZE="4096" TYPE="ext4"
File /etc/fstab:
# /etc/fstab: static file system information.
#
# The "bootdevice" comment is used to adjust fstab during backup/restore processing. The first value
# is the device to use for the primary drive and the second is the device for the backup drive.
#
# bootdevice /dev/sda2 /dev/sdb2
#
# <file-system> <mount-point> <type> <options> <dump> <pass>
/dev/mapper/vg01-lv_root / ext4 rw,suid,dev,exec,auto,nouser,async,relatime,acl 1 1
/dev/sda2 LABEL=BOOT /boot ext3 rw,suid,nodev,exec,auto,nouser,async,relatime,acl 0 2
/dev/sda1 LABEL=EFI /boot/efi vfat umask=0077 0 1
What could be wrong?
OVA ssg 11.x
Inconsistent disk partition mapping:
blkid output:
/dev/sdb1: SEC_TYPE="msdos" LABEL_FATBOOT="EFI" LABEL="EFI" UUID="6A2E-BB7B" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a811443f-e4f1-9043-b5f0-326018e134d3"
/dev/sdb2: LABEL="BOOT" UUID="6b172556-a2e0-46db-ad1f-62312678dd64" SEC_TYPE="ext2" BLOCK_SIZE="1024" TYPE="ext3" PARTUUID="beabf9a4-d44a-b64d-a072-de0c1f27c5f0"
File /etc/fstab:
/dev/sda2 LABEL=BOOT /boot ext3 rw,suid,nodev,exec,auto,nouser,async,relatime,acl 0 2
/dev/sda1 LABEL=EFI /boot/efi vfat umask=0077 0 1
The path displayed are different. For example:
/dev/sdb2 vs /dev/sda2 for BOOT partition.
Edit the /etc/stab file to make the partition mapping consistent.
Example fstab editing format with the label:
Old Entry
|
New Entry
|
/dev/sda2 /boot ...
|
LABEL=BOOT /boot ...
|
/dev/sda1 /boot/efi ...
|
LABEL=EFI /boot/efi ...
|