LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 05-11-2007, 05:24 PM   #1
leibniz
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
RHEL 4.4 AS device creation problem


Hi Everybody:

We have a problem that I'd like to throw out in the hopes that someone can lend a hand trying to solve it.

Environment:
RHEL 4.4 AS 32bit
HP Proliant BL20p servers
Cluster configuration (3 nodes)
QLlogic and PowerPath software
SAN

We are moving from EVA to EMC SAN, thus the two different HA MP softwares.

Problem:
PowerPath fails to start.

As near as we can figure, the O/S simply does not want to create any files in the device directory. i.e. PowerPath startup success depends on it being able to create a raw device file in /dev/raw, and it can't. Or else it does, but the file does not actually get created.

History:
This system did crash recently, and we are just now trying to migrate the SAN.

I was not there when it crashed, and we have nothing about the actual crash event to work with.

Steps I've taken:
1. Manually created regular and block files in /dev as root. Works fine.
2. Since the system crashed, I manually rsynced the node with another node in the same cluster as best I could.

Found this error in /var/log/messages:
Could not open cluster lock lun /dev/raw/raw1

Found that /dev/raw did not exist.
Manually:
Created /dev/raw (this directory gets lost on reboot!)
created raw device for PP.
Device does not show up in /dev/raw, despite showing as being bound with the raw utility.
Tried to start PP - failed.

i.e. fresh boot, and then:
bash-3.00# ls -al /dev/raw
ls: /dev/raw: No such file or directory
bash-3.00# raw -qa
bash-3.00# mkdir /dev/raw
bash-3.00# ls -ald /dev/raw
drwxr-xr-x 2 root root 40 May 11 17:17 /dev/raw
bash-3.00# raw /dev/raw/raw1 /dev/sdj1
/dev/raw/raw1: bound to major 8, minor 145
bash-3.00# ls -al /dev/raw
total 0
drwxr-xr-x 2 root root 40 May 11 17:17 .
drwxr-xr-x 17 root root 5240 May 11 17:17 ..
bash-3.00# raw -qa
/dev/raw/raw1: bound to major 8, minor 145


This shows that the raw util binds /dev/raw/raw1 with the block device, and yet that raw device that is bound, is not present.

This seems to be the point of the problem, as PowerPath appears to be trying to do this on startup.

If anyone could lend a hand with this, we would appreciate it. If we don't get the solution after a few days, we will rebuild the node. However, we would prefer to find the solution, if possible, than to leave it a mistery.

Thank you in advance for your assistance.

Regards,
Bill
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
creation of dynamic device node entry in /dev balalin Linux - Kernel 0 04-10-2007 04:29 AM
No regular user access USB device from RHEL 4.0 WS dita Red Hat 2 12-18-2005 02:59 AM
initrd creation problem loadlinux Red Hat 1 06-02-2005 02:09 PM
problem in user creation skvasistha Linux - Software 2 11-27-2004 05:50 AM
Device file creation.... xtrem Linux - General 0 10-24-2004 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration