LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 06:56 PM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 627

Rep: Reputation: 30
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 07:25 PM.
 
Old 07-22-2011, 12:05 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790
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, 06:52 AM   #3
unix1adm
Member
 
Registered: Oct 2008
Posts: 627

Original Poster
Rep: Reputation: 30
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


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


All times are GMT -5. The time now is 04:02 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 Google+: linuxquestions
Open Source Consulting | Domain Registration