LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2014, 09:17 AM   #1
PoleStar
Member
 
Registered: Jul 2010
Posts: 166

Rep: Reputation: 2
rhel 6: upon update kernel: initrmfs gets too huge


Hi,

The kernel which it RHEL was shipped only takes 30MB space in /boot.
When I update kernel with yum, /boot gets 100% full, about 300MB.

I saw file which gets too big is new initrmfs.

Any ideas ?

Thanks
 
Old 05-22-2014, 10:29 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Wink

Can you boot the machine?

My first thought is there was some kind of file corruption during the update, that will often either give you a 0 bit file or in rare cases, some insanely large one, but if you can boot the machine, it's not that.

The other thing you might look at is initrmfs is a cpio archive, you can list the files with a command similar to
Code:
$cpio -i -t < initrmfs
#or extract them to the local directory with
$ cpio -i -vd < initrmfs
However if the machine is operating normally, I'd just try to forget I knew how big the initrmfs was....

Last edited by dijetlo; 05-22-2014 at 10:38 AM.
 
Old 05-22-2014, 12:10 PM   #3
PoleStar
Member
 
Registered: Jul 2010
Posts: 166

Original Poster
Rep: Reputation: 2
Ok.

/tmp was full, so for some reason "yum update kernel" decided to its business in /boot
that was causing boot to get full. When I tried to install kernel with

>yumdownloader kernel
>rpm -iv kernel.xx.xxx

It showed me errors. So I cleaned /tmp and ran

>yum update kernel

That worked, /boot in not full, new kernels boots up.

thanks for help dijetlo
 
1 members found this post helpful.
Old 05-22-2014, 12:28 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Thanks for posting back with the solution
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to update RHEL 5 kernel to 2.6.22 ps_sabu Linux - Software 3 10-19-2012 02:32 PM
Is a reboot required after RHEL 5 kernel update? SteveJenkins Red Hat 3 12-07-2009 10:50 PM
RHEL 5 next major kernel update phavn Red Hat 2 06-05-2009 06:18 PM
RHEL 4.6 - can I update the kernel? legcard Red Hat 10 12-16-2008 05:49 PM
How to update my RHEL AS 3.0 kernel? sathyguy Linux - Enterprise 1 07-22-2006 09:03 AM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration