To update the kernel package or apply an OS update package when the HDLM device or the logical volume (LVM2) on the HDLM device is used as the boot disk:
Log in to Linux as a user with root permissions.
Check the hdlm_dracut setting in /etc/opt/DynamicLinkManager/hdlm.conf.
Make sure that hdlm_dracut=y is specified.
If hdlm_dracut=n is specified, change it to hdlm_dracut=y.
Update the kernel package or apply the OS update package.
Change the settings of the boot loader.
The procedure varies depending on the OS and the environment in which HDLM is installed.
For Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 or Red Hat Enterprise Linux 9:
For Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 or Red Hat Enterprise Linux 9 when the HDLM device is used as a boot disk, perform step 5.
For Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 or Red Hat Enterprise Linux 9 when the logical volume on the HDLM device (LVM2) is used as a boot disk, proceed to step 6.
If the HDLM device is used as a boot disk, re-create grub.cfg by using the grub2-mkconfig command. After re-creating grub.cfg, proceed to step 6.
# /sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
Execute the dlmupdatesysinit utility for updating system scripts.
For details about this utility, see dlmupdatesysinit utility for updating system scripts.
Restart the host.
Execute the mount command to make sure that the HDLM device is mounted.
The following shows an execution example for when GRUB is used as the boot loader:
# mount /dev/sddlmaa2 on / type ext4 (rw) : : /dev/sddlmaa1 on /boot type ext4 (rw) /dev/sddlmaa4 on /tmp type ext4 (rw) /dev/sddlmaa5 on /var type ext4 (rw) /dev/sddlmaa6 on /usr type ext4 (rw) none on /dev/shm type tmpfs (rw)
Check the underlined section.
If you are using the HDLM device as the boot disk, make sure that the HDLM device is allocated to the swap partition.
Make sure that the HDLM device name is displayed in the Filename column of the /proc/swaps file.
If you are using the logical volume (LVM2) on the HDLM device as the boot disk, update the information about the volume group.
Execute the following command to update the information about the volume group.
# vgscan Reading all physical volumes. This may take a while... Found volume group "VolGroup00" using metadata type lvm2
Check the relationship between the volume group and HDLM devices.
Execute the following command to make sure that the physical volumes that make up the volume group are HDLM devices.
# vgdisplay -v