Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-13-2007, 03:51 AM   #1
Registered: Aug 2006
Location: England
Posts: 39

Rep: Reputation: 15
Cant see NEW LUN on RedHat Box


I'm in LUN hell at the moment.

Everytime I present a new LUN from my HP EVA to our RedHat box's, I have to reboot the
server in order to see the new LUN ?????

Im told the old Administrator used to see new luns within seconds by running the following commands:

# hp_rescan -a
# lssd

I have also ran the above commands on RedHat machines and been able to see any new presented LUNS?

What would cause hp_rescan to fail?

As I say, once I reboot the box, lssd shows the new luns and then I just pvcreate them.

Any ideas?

Old 04-13-2007, 04:06 AM   #2
LQ Newbie
Registered: Jun 2005
Location: New Zealand
Distribution: Suse, Red Hat, AIX
Posts: 12

Rep: Reputation: 0
I guess it also comes down the hba drivers: if you're using qlogic try this:
Old 04-13-2007, 04:20 AM   #3
Registered: Aug 2006
Location: England
Posts: 39

Original Poster
Rep: Reputation: 15
Yes, but we have always used the same HBA cards and drivers. So why would a driver stop working all of a sudden?

Old 08-17-2007, 04:26 AM   #4
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
I have the same problem as you.
HP advice me to raise the initrd file in order to manage the problem.
Here is the mail HP send me :
In summary:
1. Modify /boot/grub/grub.conf or whatever bootloader being used to
pass the larger ram disk size as a parameter to the kernel.
Grub: add the parameter ramdisk_size=n to the kernel line.
Lilo: add new line append=ramdisk_size=n after kernel line.
2. Modify /sbin/mkinitrd and change the IMAGESIZE=n variable
to match n in bootloader change.
3. Create a new ram disk with /sbin/mkinitrd script as usual
For this configuration, use n=16000.

I have done the manipulation yet because I can't reboot the server right now but.
If you want to try, please return me the results.

Hope it will be helpfull.
Old 04-10-2009, 01:14 AM   #5
LQ Newbie
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
This works on our systems (RH4 & RH5):

echo 1 > /sys/class/fc_host/host0/issue_lip # not necessarily needed -reinitializes the HBA
echo "- - -" > /sys/class/scsi_host/host0/scan
echo 1 > /sys/class/fc_host/host1/issue_lip # not necessarily needed - reinitializes the HBA
echo "- - -" > /sys/class/scsi_host/host1/scan
Old 04-29-2009, 11:13 AM   #6
LQ Newbie
Registered: Mar 2004
Location: Littleton, CO
Posts: 4

Rep: Reputation: 0
I added a new LUN from IBM 8100, and the OS (RHEL 5.3) sees the new devices (fdisk -l), however when I run pvscan I do not see the new LUN. How do I get LVM to see the new LUNs?



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
lun is not registered with the OS trasmus4 Red Hat 1 04-18-2006 12:55 AM
Define Lun sathish80 Linux - Newbie 4 03-25-2006 04:33 PM
How to findout LUN ? palanisaravanan Linux - Hardware 1 04-19-2004 06:48 AM
LUN information rangel DamnSmallLinux 1 01-05-2004 10:39 PM
Cannot see redhat box from win 2k box? Spiderwks Linux - Newbie 4 10-24-2002 10:42 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:39 AM.

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