LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   need help with emc PowerPath devices not starting right (http://www.linuxquestions.org/questions/red-hat-31/need-help-with-emc-powerpath-devices-not-starting-right-893044/)

unix1adm 07-21-2011 06:56 PM

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?

MensaWater 07-22-2011 12:05 PM

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).

unix1adm 07-27-2011 06:52 AM

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"


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