LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-21-2011, 05:56 PM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Rep: Reputation: 32
need help with emc PowerPath devices not starting right


Hello

I am running Red Hat 5.6 with EMC powerpath
I have checked the /etc/init.d directories and the rc dirs and still I dont see anythng wrong.

I have one system that is working fine and one that has issues on boot up.

I am having an issue with some start up scripts for PowerPath not starting before the mount of the SAN disk. So its giving me an error on boot up and will not mounting the disk without Powerpath being started.
The system gets into a loop and wont boot unless I comment out the SAN disk FS out of the FS tab when I go into run level 1. I can then reboot normaly. Then uncomment it and run PowerPath script by hand. Then I can remount the disk fine.
I have to do a lvchange -ay myvg before i can mount the fs because the vg is offline due to the PowerPath not starting..

So the issue I see is when the PowerPath program is loaded. Its seems to be after the fstab is read.

How can I check the order of the start up?
and force the PowerPath to start before the fstab is read?

Last edited by unix1adm; 07-21-2011 at 06:25 PM.
 
Old 07-22-2011, 11:05 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You might try adding "_netdev" to the options in fstab e.g:

Code:
/dev/emcpowera1  /myfilesystem  ext3    defaults,_netdev       1 3
From the man page:
Quote:
_netdev
The filesystem resides on a device that requires network
access (used to prevent the system from attempting to
mount these filesystems until the network has been
enabled on the system).
We do this on some of our SAN attached storage to insure our SAN stuff has started properly before trying the mounts.

Alternatively you might look in /etc/rc?.d/* to see what the name of the init script is as the numeric component determines order. That is to say S01<script> would run first and S99<script> would run last. Numbers in between run in numerical order. For multiple scripts with same numeric component they run in alphabetical order (e.g. S07ralph would run after S07bob but before S07tom).
 
Old 07-27-2011, 05:52 AM   #3
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
Thanx I did have the _netdev enabled. I had to remove and reload the EMC .rpm before it would work correctly.

As a test I put the start of the powerpath in rc.local and the mount after it. That worked fine. So after some more testing we just reinstalled the emc sw and all is back to "normal"
 
  


Reply



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
EMC PowerPath how to change psuedo names using powermt ? shellshock79 Linux - Newbie 9 06-17-2013 06:33 AM
PowerPath and Qlogic Doubt purusrhce@gmail.com Linux - Server 3 07-11-2011 09:45 AM
[SOLVED] Migrating RHEL4 OS to EMC SAN with PowerPath jbilderb Linux - Enterprise 5 04-19-2010 09:05 AM
emc powerpath problem sachin1361 Linux - Enterprise 1 08-27-2007 03:47 PM
Trouble starting out with Debian BDI 4.51 with EMC BGCNC Debian 4 03-27-2007 08:26 PM

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

All times are GMT -5. The time now is 12:13 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