Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > Linux > system administration

SAN mounts connection problem

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: SAN mounts connection problem      Add to my favorites
Fadia Almarei Expert in this area
Nov 3, 2009 09:41:01 GMT   

Dear All

i have RHEL AS 4.8 server connected to DMX4 EMC SAN storage through dual switches and dual fibre cards and dual connections, if anyone of these connections lost these file systems will be mount in read only mode, how to change this option to be mounted as a read/write mode, as in hp-ux , i hear that tune2fs could do this , but i do not get the exact suitable option , kindly advice.

BR;
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Matt Palmer Expert in this area This member has accumulated 250 or more points
Nov 3, 2009 11:01:39 GMT    Unassigned

HI, do you have any MPIO drivers and DM in place. These should be able to manage the loss of multiple paths to your SAN devices, without placing the fs in readonly mode

hope that helps

regards

Matt
Fadia Almarei Expert in this area
Nov 3, 2009 11:05:52 GMT    N/A: Question Author

we have powerpath for EMC , but file systems mounted in read only mode if any connection problem happened.
Matti Kurkela Expert in this area This member has accumulated 7500 or more points
Nov 3, 2009 12:27:25 GMT    Unassigned

Filesystems are mounted in read-only mode because an filesystem error has been detected. To get the filesystems back to read/write mode, you must unmount the filesystem, run fsck on it, and then you can mount it normally.

The system remembers that an error has been detected on a filesystem and will not let you mount it read/write until you run a fsck on that filesystem.

The root cause of your read-only problem is a failure of your multipath configuration.

If you are familiar with PowerPath in HP-UX, be aware that works very differently in Linux. You *must* use the /dev/emcpower* device names to get the benefit of PowerPath multipathing: if you use /dev/sd* devices, PowerPath is completely bypassed and it cannot help you when a path fails.

If you use traditional partitions, are the disks mounted using /dev/emcpower* device names?

If you use LVM, does the command

vgdisplay -v | grep "PV Name"

list /dev/emcpower* device names for all SAN PVs?
(If you haven't already done so, you may have to write a custom filter statement in /etc/lvm/lvm.conf to make the LVM use /dev/emcpower* devices and ignore the respective /dev/sd* devices.)

MK
Fadia Almarei Expert in this area
Nov 3, 2009 12:52:46 GMT    N/A: Question Author

i already user powerpath device name , but still when i faced any problem it will be mounted as read-only ,and also i use LVM in configuring mount points any suggestion
Matt Palmer Expert in this area This member has accumulated 250 or more points
Nov 3, 2009 12:55:40 GMT    Unassigned

Hi,

which FC HBAs are you using? I have had problems with the FC adapter trying to manage the failover instead of MPIO when using Qlogic cards.

regards

Matt
Fadia Almarei Expert in this area
Nov 3, 2009 12:59:44 GMT    N/A: Question Author

i have emulex HBA's
Matt Palmer Expert in this area This member has accumulated 250 or more points
Nov 3, 2009 13:07:04 GMT    Unassigned

Hi,

have you checked in the logs that the powerpath licence doesnt have an issue. I found the following resource on the web:

http://blog.thilelli.net/post/2009/02/09/Comparison:-EMC-PowerPath-vs-GNU/Linux-dm-multipath

"Keep in mind that without purchasing an appropriate EMC license, PowerPath can only be used in failover mode (active-passive mode). Multiple paths accesses are not supported in this case: no round-robin, and no I/O load balancer for example."

regards

Matt
Matti Kurkela Expert in this area This member has accumulated 7500 or more points
Nov 3, 2009 14:37:01 GMT    Unassigned

Even the failover mode should have prevented errors when one SAN connection was lost.

Have you verified that PowerPath really can access the LUNs through both fibre cards?

What does "powermt display dev=all" say?

MK
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.