SCSI Drives Taking Red Hat OS's boot device

Posted on 2006-05-22
Last Modified: 2013-12-16
I have asked this question previously, but unfortunately have not gotten a solution.  I am still having problems and need help.  Thanks for any help you can provide!!

When I connect a StorEdge 3320 array of disks (in a JBOD configuration - no RAID, the OS just sees them as disks) to a RHEL 4.3 system, linux will assign /dev devices to it.  The only problem is that it assigns the /dev/sda1 device (the root partition) to a disk in the array, instead of the internal disk.

I found that Sun knows about this issue and says the following:
1.During boot up, press 'e' at the grub kernel selection screen.
2.Go to the line that points to the kernel and press 'e' again to edit the line:
kernel /vmlinux-2.4.9-3.24 ro root=/dev/sda3
3.If one drive was added to the system, change /dev/sda3 to /dev/sdb3. For two new drives, change it to /dev/sdc3.

I'm sure this would work, except that I am using Linux LVM for all partitions, besides /boot of course.  Any ideas?  Is there a way to statically map LVM partitions?  Thanks.
Question by:barthalamu
    LVL 14

    Accepted Solution

    Hi, (again)

    LVM should work anyway, since it isn't using physical disks but scans them for volume groups...
    (from initrd.img)
    echo Scanning logical volumes
    lvm vgscan --ignorelockingfailure
    echo Activating logical volumes
    lvm vgchange -ay --ignorelockingfailure vg00

    Is your kernel line really configured like that? In RHEL 4 it should use LVM for it's root device and should say something like

    kernel /vmlinuz- ro root=/dev/vg00/rootvol rhgb quiet

    Could you post your /etc/grub.conf?

    You say you are still having problems, what is the problem?
    Is your box not booting when you connect the fiber-disks?


    Author Comment

    Sorry for the late reply.

    I really never found the exact problem.  I found that a combination of moving the controller card and reboots seemed to fix it.  Thanks for your help.  I appreciate it.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now