[CentOS] software raid :: kernel update procedure

Thu Nov 12 18:51:00 UTC 2009
Adrian Sevcenco <Adrian.Sevcenco at cern.ch>

Lucian @ lastdot.org wrote:
> On Wed, Nov 11, 2009 at 11:50 AM, Adrian Sevcenco
> <Adrian.Sevcenco at cern.ch> wrote:
>> Lucian @ lastdot.org wrote:
>>> On Wed, Nov 11, 2009 at 11:03 AM, Adrian Sevcenco
>>> <Adrian.Sevcenco at 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*)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3110 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20091112/1437a201/attachment-0005.bin>