Test Description
In boot-from-SAN environments, the fiber-channel driver attributes and multipath configuration need to reside inside the initrd image.
This test case checks it is necessary to re-create the initrd image, and creates one if necessary
This test case fails if:
The server boots from a fiber-channel disk and if infinihost changes fc driver attributes or multipath settings since the last reboot
This test case passes if:
There is no need to re-generate the initrd
How to fix this test
Automatic fix
The automatic fix performs the following steps:
- Writes the recommended options to the
configuration file
- Creates a backup copy of the
initrd
image file - Overrides the existing
initrd
image file by runningmkinitrd
- Creates a backup copy of
/etc/grub.conf
- Puts a backup entry inside
/etc/grub.conf
that loads the backup copy ofinitrd
Manual fix
To create a new initial ramdisk
image:
For Redhat 6 or 7:
dracut -f /boot/initramfs-`uname -r`
Applies to
- Linux
Last edited: 2021-05-11 08:08:44 UTC
Comments