System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

SAN mounts connection problem

 
Fadia Almarei
Super Advisor

SAN mounts connection problem

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;
fadia.marei
8 REPLIES
Matt Palmer_2
Respected Contributor

Re: SAN mounts connection problem

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
Super Advisor

Re: SAN mounts connection problem

we have powerpath for EMC , but file systems mounted in read only mode if any connection problem happened.

fadia.marei
Matti_Kurkela
Honored Contributor

Re: SAN mounts connection problem

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
MK
Fadia Almarei
Super Advisor

Re: SAN mounts connection problem

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
fadia.marei
Matt Palmer_2
Respected Contributor

Re: SAN mounts connection problem

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
Super Advisor

Re: SAN mounts connection problem

i have emulex HBA's
fadia.marei
Matt Palmer_2
Respected Contributor

Re: SAN mounts connection problem

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
Honored Contributor

Re: SAN mounts connection problem

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
MK