LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-20-2006, 02:11 PM   #1
bret
Member
 
Registered: Apr 2005
Location: SLC, Utah
Distribution: RHEL 4, RHEL 5
Posts: 54

Rep: Reputation: 16
RHEL 4 doesn't see SAN devices after boot


Problem: After rebooting the RHES 4 (64-bit) server, the server halts on the following messages:

fsck.ext3: No such file or directory while trying to open /dev/hds01/lvol1
fsck.ext3: No such file or directory while trying to open /dev/hds01/lvol2
fsck.ext3: No such file or directory while trying to open /dev/hds01/lvol3
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
[FAILED]
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
########################################################
How I recover: While in maintenance mode, I edit the fstab, and comment out the 3 filesystems that cannot be seen.
1) reboot server
2) server now comes up (but without the 3 filesystems that are defined on the HDS SAN)
3) run "pvscan"
4) "pvscan" recognizes the filesystems on the SAN
5) "vgchange" I activate the volumegroup that defines the filesystems on the SAN
6) uncomment the 3 filesystems in /etc/fstab
7) remount fstab
8) filesystems are now available
########################################################
Hardware:Dell Poweredge 1850
2 QLogic 2460 HBAs
attached storage: Hitachi 9580
########################################################
Software Configuration:
RHEL 4 (64 bit)
LVM: 2 Volume groups (volgroup1 is defined for the internal
disk) e.g. /home /opt /tmp /var etc.
(volgroup2 is defined for the external Hitachi SAN
storage) e.g. /oracle /dba /dbs
Filesystem format: ext3
########################################################
Asking for assistance here:
So, does anyone have any ideas why these drives (filesystems) are not accessible during the boot process, but they can be recovered once RHEL is completely up?
 
Old 12-20-2006, 05:21 PM   #2
bret
Member
 
Registered: Apr 2005
Location: SLC, Utah
Distribution: RHEL 4, RHEL 5
Posts: 54

Original Poster
Rep: Reputation: 16
I think the following has fixed the problem:
I edited /etc/modprobe.conf and made the following changes:

Change:
alias scsi_hostadapter qla2xxx
alias scsi_hostadapter1 megaraid_mbox
alias scsi_hostadapter2 qla2322
to
alias scsi_hostadapter qla2xxx
alias scsi_hostadapter2 megaraid_mbox
alias scsi_hostadapter3 qla2322
alias scsi_hostadapter4 qla2400

I then reran mkinitrd with the following options:

mkinitrd -f --with=dm-multipath --with=dm-round-robin /boot/initrd-2.6.9-42.0.3.ELsmp.img 2.6.9-42.0.3.ELsmp


Anyway, the server is now rebooting without interruption. All looks good.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot RH AS 2.1 Update 6 from SAN luis_saki Linux - Hardware 0 10-17-2006 10:36 PM
How to install a DAS / SAN box on RHEL 4 nimdasmetsys Linux - Enterprise 1 09-21-2006 10:24 AM
SAN Tape Robot/Library Configuration for RHEL AS 3.0 MensaWater Linux - Hardware 1 06-07-2005 07:34 PM
SAN Tape Robot/Library Configuration for RHEL AS 3.0 MensaWater Linux - Enterprise 0 06-02-2005 09:45 AM
Operativsystem cannot detect new SAN devices using Qlogic fiber channel adapters sjensen Linux - Software 1 11-25-2003 05:51 AM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration