?
Solved

SCSI Drives Taking Red Hat OS's boot device

Posted on 2006-05-22
3
Medium Priority
?
213 Views
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!!

http://www.experts-exchange.com/Operating_Systems/Linux/Q_21833674.html


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.
0
Comment
Question by:barthalamu
2 Comments
 
LVL 14

Accepted Solution

by:
cjl7 earned 2000 total points
ID: 16742128
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-2.6.16.11 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?

//jonas
0
 

Author Comment

by:barthalamu
ID: 16952166
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.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

840 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