Kernel panic and bad block after update /etc/updatedb.conf
Hi,
I have update my updated.con file with the parameters cvfs . CVFS is the File system of Quantum Storage Manager.
Server HP Proliant 380 G8, RHEL 5.4.
This to avoid, like is written into Quantum documentation, to create an index on FS many large:
RedHat Enterprise Linux 4, 5, and 6
Add “cvfs” to the list of file system types to be
skipped. This is usually done by modifying the
“PRUNEFS” line in the /etc/updatedb.conf file to read:
PRUNEFS=”cvfs sysfs selinuxfs usbdevfs
devpts NFS nfs nfs4 afs sfs proc smbfs cifs
autofs auto iso9660 udf”
This operation was made by me also in other installation without problems.
Yesterday after done it into 4 server none of this were able to reboot again.
At boot Linux gave me Kernel panic, problems about Logical VolGroup00, Bad Block and freeze the pc at boot.
There is anybody that have had a similar behaviour ?
I'm not skill about Linux. Is there the possibility to boot with a minimal configuration ( like windows ) to try to delete the parameter into the file updated.conf ?
Thank you
Responses
Hello Marcello - it is not often that a configuration file will leave a box unbootable - so this is unfortunate. I have been in a similar situation from updating lvm.conf with a value that was not correct.
Did you also patch the system/kernel and reboot? I recommend that you attempt to boot an older kernel.
https://access.redhat.com/solutions/226423
* occasionally when the kernel is updated, the additional drivers/modules for hardware are not included in the new initrd image which will cause a problem.
Here is a "Rescue Mode Guide" https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-rescuemode-boot.html
Hi Marcello, I use cvfs, and have placed it into my /etc/updatedb.conf (along with other directives). I have two satellite config channels for /etc/updatedb.conf, one for rhel5, one for rhel6. I have had no issues with my two configs, I'll return here later and post the two configs.
Kind Regards
Hi Marcello,
Hardware problem eh? just for reference, here's a slightly altered version of my rhel 6 /etc/updatedb.conf file. I omitted some very unique mount points that are peculiar to my environment in the "PRUNEPATHS" directive.
Here's the updatedb.conf for one of our rhel6 systems, all of our rhel6 updatedb.conf files are identical via a satellite config channel:
- RHEL 5 /etc/updatedb.conf
PRUNEFS= "auto afs gfs gfs2 iso9660 sfs udf cvfs nfs nfs4 proc tmpfs autofs nfsd selinuxfs usbfs none"
PRUNEPATHS = "/afs /media /net /sms /tmp /udev /var/cache/ccache /var/spool/cusps /var/spool/squid /var/tmp /var/log /var/log/audit /var/spool/clientmqueue /backup /mnt /iso /cdrom"
- RHEL 6 /etc/updatedb.conf
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda cofs sockfs sysfs tmpfs ubifs udf usbfs cvfs"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/cache/ccache /var/spool/cups /mnt /proc /var/www /iso /cdrom"
NOTE: Add additional mount points or data mount points such as oracle postgresql, or SAN storage etc so none of these are indexed!
Kind Regards,
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
