LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-21-2012, 12:52 PM   #1
suresh-linux
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
RDAC module compiling


Hi

I have one server (IBM x3650) installed with RHEL 5. This server is connected to IBM DS4700 SAN Storage. The multipath driver for this server is LSI RDAC.

Whenever we do the patch update using yum to update all the rpms (if we have a new kernel installed), we need to do the following

1. Update the OS using yum and install the new kernel.
2. Edit /etc/fstab to hash out all the entries of the SAN based filesystem
3. Reboot the server.
4. Disconnect the fiber cables from HBA card (otherwise it will take very long time to boot, as each LUN from the SAN has 8 paths and the new kernel will take a long time to recognize each path, since the RDAC drivers are not loaded for the new kernel)
5. Boot the server to newly installed kernel (normally to single user mode)
6. Recompile the RDAC modules for the newly installed kernel. This will create new initrd file, which I need to add to the grub configuration.
7. Remove all the hashes (unhash) in the entries of /etc/fstab for the SAN filesystems.
8. Reboot again to the new kernel with newly complied initrd for the RDAC.
9. This time it works without any issues.

This takes about 1-2 hours to complete sometimes. It also means we need someone to be there near the server, whenever we perform the kernel upgrade.

Is there way to compile the RDAC module for the newly installed kernel (but not running) and have the modules in place before we reboot the server after the installation of the new kernel?

cheers,

Suresh
 
  


Reply



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] rdac checker reports path is down malayo Linux - Distributions 1 02-11-2012 06:30 AM
Compiling a module separately without compiling entire kernel kushalkoolwal Linux - Kernel 8 08-06-2008 01:45 AM
Invalid module error after compiling Acronis module cryogenica Linux - General 2 03-17-2008 04:23 PM
RDAC for ubuntu colincraig127 Linux - Server 0 10-26-2007 03:02 PM
Use of MODULE macro while compiling a module fssengg Linux - Newbie 0 03-31-2006 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:56 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
Open Source Consulting | Domain Registration