Some days ago I did a “yum update” on the CLI of my freepbx distro. The update failed and the machine freezed. So I tried a reboot. I’ve only got a “kernel panic”-screen.
I found out, there must have been something going wrong with a change from grub legacy to grub2 (?!). Actually grub2 was installed, but it was still starting from grub legacy. After some trying I finally could start into an old kernel. But I couldn’t let it stand like that, because something was wrong. I also recognized, the initramfs-file for the latest kernel (957) was missing, so I’ve generated it by using dracut.
So I’ve finally could switch to grub2. In the beginning the system starts but then, nearly the end of the start up process, I get a lot of “dracut-initqueue: Warning: darcut-initqueue timeout - starting timeout scripts”. Then a “dracut-initqueue: Warning: Could not boot.” followed by “dracut-initqueue: Warning: /dev/disk/by-uuid/53925f99-d467-438f-aef4-eac70192eae5 does not exist”. Actually that is the UUID of md2, as blkid says.
I’ve searched now for two days on the internet and tried a lot of things. Nothing helped. I can’t start my freepbx-distro-machine anymore, because the older kernels doesn’t start anymore neither :-(. I still can get into the emergency mode and chroot /mnt/sysimage.
Maybe one of my two disks from the raid1 is damaged. I’ve found errors like that in dmesg:
[ 88.222563] EXT4-fs error (device md2): ext4_ext_find_extent:885: inode #63570614: comm sshd: pblk 254312474 bad header/extent: invalid extent entries - magic f30a, entries 190, max 340(340), depth 0(0)
[ 88.222755] EXT4-fs error (device md2): ext4_ext_remove_space:2976: inode #63570614: comm sshd: pblk 254312474 bad header/extent: invalid extent entries - magic f30a, entries 190, max 340(340), depth 0(0)
[ 88.222943] EXT4-fs error (device md2) in ext4_ext_truncate:4688: IO failure
Could this be the problem? Or is it somewhere else? Maybe a “wrong” initramfs-file? I’ve also had to “reassemble” md2, because one partition was missing (maybe because one of the two disks is faulty?). Even though it has resynced without problems? Why does it say, it can’t find the UUID of md2?
I really appreciate any hint/help because this is our productive machine in the office and I can’t get calls for the last two days…thanks so much in advance!