HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux AS2.1 - after initial install not seeing oth...
Operating System - Linux
1826242
Members
3064
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 03:38 AM
10-08-2003 03:38 AM
Using a diskless HP LPr booting directly from a SAN storage device (Qlogic HBA & XIOtech), I've successfully installed AS2.1 yet sfdisk cannot see the other 2 drives. I've 'zoned / given ownership' of 3 drives to the HBA/server yet it sees only 1 of the 3 drives. What Linux commands are required so that the OS can see these other drives so I can create additional mount points & file systems other than the core OS guys?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 11:40 AM
10-08-2003 11:40 AM
Re: Linux AS2.1 - after initial install not seeing other luns sdb or sdc
I remember reading a post here some time ago about a very similar issue. If I recall correctly, it is because RedHat (out-of-the-box) do not enable Multi-LUN on SCSI devices.
A quick scan of the kernel code, and there is a configurable option called 'CONFIG_SCSIP_MULTI_LUN' of which sounds about right.
The inline-help states the following:
If you have a SCSI device that supports more than one LUN (Logical Unit Number), e.g. a CD jukebox, and only one LUN is detected, you can say Y here to force the SCSI driver to probe for multiple LUNs.
A SCSI device with multiple LUNs acts logically like multiple SCSI devices. The vast majority of SCSI devices have only one LUN, and so most people can say N here and should in fact do so, because it is safer.
This sounds like your issue.
A quick scan of the kernel code, and there is a configurable option called 'CONFIG_SCSIP_MULTI_LUN' of which sounds about right.
The inline-help states the following:
If you have a SCSI device that supports more than one LUN (Logical Unit Number), e.g. a CD jukebox, and only one LUN is detected, you can say Y here to force the SCSI driver to probe for multiple LUNs.
A SCSI device with multiple LUNs acts logically like multiple SCSI devices. The vast majority of SCSI devices have only one LUN, and so most people can say N here and should in fact do so, because it is safer.
This sounds like your issue.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 11:48 AM
10-08-2003 11:48 AM
Solution
The basic problem is that the default maximum lun number in the high level scsi driver is 1.
If you type lsmod and you see a module named scsi_mod then the scsi high level driver is compiled as module, if not, it is compiled into the kernel.
If the scsi hl driver is a module:
Then you have to append the following line to /etc/modules.conf
options scsi_mod max_scsi_luns=3
This would be enough, when the driver would be loaded after boot.
But in this case the the driver is loaded at boot time and you will not be able to unload/reload this module because it is in use by the root filesystem.
So you have to build a new initrd too.
take the result of
uname -r
this will be the kernel version for instance:
2.4.18-10smp
then execute
mkinitrd /boot/initrd-2.4.18-10smp3luns.img 2.4.18-10smp
This generates a new INITial Ram Disk and uses the parameters from /etc/modules.conf.
If you are using lilo:
Duplicate the appropriate section in /etc/lilo.conf and customize it.
This should look like
image=/boot/vmlinuz-2.4.18-10smp
label=linux3luns
initrd=/boot/initrd-2.4.18-10smp3luns.img
read-only
root= ...
And run lilo from the command line.
Reboot and select linux3luns.
If you are using grub you have to customize the /boot/grub.conf. Duplicate the appropriate section and customize it:
title RHAS 3 LUNS
root (hd0,0)
kernel /vmlinuz-2.4.18-10smp ro root=...
initrd /initrd-2.4.18-10smp3luns.img
Reboot and select the newly created entry.
If the scsi hl driver is compiled into the kernel:
You can try to add at the boot prompt
max_scsi_luns=3
If this does not work, you have probably to build a new kernel with the
"CONFIG_SCSI_MULTI_LUN=y" option first.
If you type lsmod and you see a module named scsi_mod then the scsi high level driver is compiled as module, if not, it is compiled into the kernel.
If the scsi hl driver is a module:
Then you have to append the following line to /etc/modules.conf
options scsi_mod max_scsi_luns=3
This would be enough, when the driver would be loaded after boot.
But in this case the the driver is loaded at boot time and you will not be able to unload/reload this module because it is in use by the root filesystem.
So you have to build a new initrd too.
take the result of
uname -r
this will be the kernel version for instance:
2.4.18-10smp
then execute
mkinitrd /boot/initrd-2.4.18-10smp3luns.img 2.4.18-10smp
This generates a new INITial Ram Disk and uses the parameters from /etc/modules.conf.
If you are using lilo:
Duplicate the appropriate section in /etc/lilo.conf and customize it.
This should look like
image=/boot/vmlinuz-2.4.18-10smp
label=linux3luns
initrd=/boot/initrd-2.4.18-10smp3luns.img
read-only
root= ...
And run lilo from the command line.
Reboot and select linux3luns.
If you are using grub you have to customize the /boot/grub.conf. Duplicate the appropriate section and customize it:
title RHAS 3 LUNS
root (hd0,0)
kernel /vmlinuz-2.4.18-10smp ro root=...
initrd /initrd-2.4.18-10smp3luns.img
Reboot and select the newly created entry.
If the scsi hl driver is compiled into the kernel:
You can try to add at the boot prompt
max_scsi_luns=3
If this does not work, you have probably to build a new kernel with the
"CONFIG_SCSI_MULTI_LUN=y" option first.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP