Hi! I have an software raid installation (md_dX type) and i am wondering what is the procedure for kernel update... is the initrd auto-magicaly rebuild?
Thank you, Adrian
On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco Adrian.Sevcenco@cern.ch wrote:
Hi! I have an software raid installation (md_dX type) and i am wondering what is the procedure for kernel update... is the initrd auto-magicaly rebuild?
Thank you, Adrian
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yep, as long as you are using the stock kernels, you should be safe. I use linux raid a lot and haven't had a problem. Just yum update and you're ready to go (if you upgrade from/to minor version be sure to read the release notes and erratas).
Lucian @ lastdot.org wrote:
On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco Adrian.Sevcenco@cern.ch wrote:
Hi! I have an software raid installation (md_dX type) and i am wondering what is the procedure for kernel update... is the initrd auto-magicaly rebuild?
Thank you, Adrian
Yep, as long as you are using the stock kernels, you should be safe. I use linux raid a lot and haven't had a problem. Just yum update and you're ready to go (if you upgrade from/to minor version be sure to read the release notes and erratas).
Thanks! Yes i am using the stock kernels and i asked because i use an modified mkinitrd (for raid md_dX type suport) and wanted to be sure that initrd is rebuilt at kernel update time.
Thanks, Adrian
On Wed, Nov 11, 2009 at 11:50 AM, Adrian Sevcenco Adrian.Sevcenco@cern.ch wrote:
Lucian @ lastdot.org wrote:
On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco Adrian.Sevcenco@cern.ch wrote:
Hi! I have an software raid installation (md_dX type) and i am wondering what is the procedure for kernel update... is the initrd auto-magicaly rebuild?
Thank you, Adrian
Yep, as long as you are using the stock kernels, you should be safe. I use linux raid a lot and haven't had a problem. Just yum update and you're ready to go (if you upgrade from/to minor version be sure to read the release notes and erratas).
Thanks! Yes i am using the stock kernels and i asked because i use an modified mkinitrd (for raid md_dX type suport) and wanted to be sure that initrd is rebuilt at kernel update time.
Thanks, Adrian
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Ouch, the fact that you were using a modified initrd was not obvious to me from your 1st post. I dont know if centos does this automatically for you. Maybe it's safer to create a new mkinitrd after the kernel has installed.
Lucian @ lastdot.org wrote:
On Wed, Nov 11, 2009 at 11:50 AM, Adrian Sevcenco Adrian.Sevcenco@cern.ch wrote:
Lucian @ lastdot.org wrote:
On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco Adrian.Sevcenco@cern.ch wrote:
Hi! I have an software raid installation (md_dX type) and i am wondering what is the procedure for kernel update... is the initrd auto-magicaly rebuild?
Thank you, Adrian
Yep, as long as you are using the stock kernels, you should be safe. I use linux raid a lot and haven't had a problem. Just yum update and you're ready to go (if you upgrade from/to minor version be sure to read the release notes and erratas).
Thanks! Yes i am using the stock kernels and i asked because i use an modified mkinitrd (for raid md_dX type suport) and wanted to be sure that initrd is rebuilt at kernel update time.
Thanks, Adrian
Ouch, the fact that you were using a modified initrd was not obvious to me from your 1st post. I dont know if centos does this automatically for you. Maybe it's safer to create a new mkinitrd after the kernel has installed.
Now i can say that the kernel update recreate at install/update time the initrd so i didn't had any king of problem with this. (of course, having an modified mkinitrd i have in yum.conf :: exclude=mkinitrd*)
On 11-Nov-2009 Adrian Sevcenco wrote:
Hi! I have an software raid installation (md_dX type) and i am wondering what is the procedure for kernel update... is the initrd auto-magicaly rebuild?
Yes. As part of kernel.rpm 's postinstall script.
You can verify the initrd by looking at /boot/initrd-2.6.X-XXXXX.img (roughly):
gzip -dc initrd.....img > /tmp/temp.img mount -o loop /tmp/temp.img /mnt cat /mnt/init umount /mnt
-Philip