Resolution
To resolve this issue, one or both of the following may be required, followed by rebuilding the initial ramdisk:
Repair the LVM filter in /etc/lvm/lvm.conf to ensure it accepts the device associated with the root filesystem.
Ensure that the root VG and LV paths references in the GRUB configuration are correct.
The following steps offer one approach to troubleshooting and resolving this, making use of the dracut shell:
Enter the dracut shell
The dracut shell will replace a Read more...
LVM
All posts tagged LVM
To create the devices for LVM when it has been detected but not created
vgscan –mknodes
Steps to disable lmetad service in RedHat 7:
· Change value to “use_lvmetad = 0” in /etc/lvm/lvm.conf
· Stop services: lvm2-lvmetad.socket and lvm2-lvmetad.service
# systemctl stop lvm2-lvmetad.socket
# systemctl stop lvm2-lvmetad.service
· Rescan disks
# pvscan –cache
# vgscan
# lvscan
· Disable services: lvm2-lvmetad.socket and lvm2-lvmetad.service
# systemctl disable lvm2-lvmetad.service
Removed symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmetad.service.
# Read more...
# cat /etc/lvm/lvm.conf | grep filter | grep -v "#" filter = [ "a/sd[a-e][1-9]$/", "r/sd.*/","r/disk.*/", "a/emcpower.*/"]
This procedure describes how to migrate the OS disk from internal storage to a SAN disk in a DEL R720.
While the procedure has been developped for a DEL machine, it can be applied to any other machine model, the only difference will be the RAID controller or the way to disable the internal disk.
*Note!!!: We must check with Storage the SAN disk that will be used for SAN boot is assigned with ID 0, it means the first of the SAN disks attached, whether there were some previous disks attached, they Read more...