ssg-inplace-upgrade-readiness-checker_v11.1.00.17707.sh is failing Disk layout checks
search cancel

ssg-inplace-upgrade-readiness-checker_v11.1.00.17707.sh is failing Disk layout checks

book

Article ID: 393942

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

The FAIL output received when running the in-place checker script: ssg-inplace-upgrade-readiness-checker_v11.1.00.17707.sh

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

Environment

Gateway 11.1

Cause

The block in the checker script checks # of disks if greater than 1 and no labels default it will fail 

The script does a check 

number_of_block_devices=$(lsblk -d | tail -n +2 | wc -l)

  if [ "$number_of_block_devices" -gt 1 ]; then

    boot_volume_label=$(blkid | grep LABEL=\"BOOT\")

    boot_file_system=$(awk '$2 == "/boot" {print $1}' /etc/fstab)

    boot_efi_volume_label=$(blkid | grep LABEL=\"EFI\")

    boot_efi_file_system=$(awk '$2 == "/boot/efi" {print $1}' 

Resolution

The URL  contains steps to modify the /etc/fstab with labels - see “Customizing the Storage Layout”