1752866 Members
3687 Online
108791 Solutions
New Discussion юеВ

Re: ext3 and LUN sharing

 
SOLVED
Go to solution
Reiniche
Occasional Advisor

ext3 and LUN sharing

Hi there,
Is there a way to share the same LUN between 2 different servers, based on the ext3 FS?
In other words, is there a way to control scsi reservation/release trough ext3?
Of course, we do not intend to access the same LUN from 2 servers at the same time (thereтАЩll be 1w standby host) but we want to be sure that once weтАЩll swap to the standby node, weтАЩll be able to mount the FS without scsi reservation conflicts.
Thx
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: ext3 and LUN sharing

So far I have not seen a cluster software for Linux that provides SCSI reservation for LUNs in a failover configuration (Maybe ServiceGuard).

You could use the Linux HA software (http://www.linux-ha.org/), it provides some "fencing" schemes or STONITH options to avoid file system corruption.

Cluster Suite is another option.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: ext3 and LUN sharing

You can also see:

http://linux.die.net/man/8/sg_persist
http://kbase.redhat.com/faq/docs/DOC-17809
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor
Solution

Re: ext3 and LUN sharing

Shalom,

Short answer is:

GFS is the filesystem designed for simultaneous access and LUN sharing.

If as you note above, you DO NOT require simultaneous access, then ext3 will work for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Reiniche
Occasional Advisor

Re: ext3 and LUN sharing

Thanks for you answers! That's all I wanted to know.
Cheers!
Reiniche
Occasional Advisor

Re: ext3 and LUN sharing

Thread Closed -