linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Help!About MD on shared storage.
       [not found] <OF24C833E9.81D2D2DC-ON48256D78.001F7244@legend.com.cn>
@ 2003-08-04 17:40 ` Steven Dake
  2003-08-05  6:42   ` David Chow
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Dake @ 2003-08-04 17:40 UTC (permalink / raw)
  To: hufh, linux-raid

Hufh,

Unfortunately I don't have the patch anymore, but it should be in the
archives (search for multihost RAID).

Basically it locks a RAID volume on shared storage to a specific node in
the cluster.  This allows you to use RAID autostart on each node and
during startup, the superblock will be checked to determine if the RAID
volume specified in the superblock has the same SCSI host ID as the
current host.  Then you can specify different host adaptors for each
host, which locks the RAID superblock to a specific host.

This does not allow using multiple hosts to the SAME RAID volume, and
only provides exclusive access.

Note that the same thing can be done using a configuration file per node
and using mdadm to only start the RAID volumes needed.  This is the
methodology recommended by RAID maintainer, Neil Brown, however, I find
it difficult to setup which is why I proposed the patch.  He could
probably provide more info on that methodology or there is a discussion
in the archives.

If I ever get some time, I plan to implement shared access to the same
RAID volume for usage in a clustered filesystem application such as GFS.

On Tue, 2004-08-03 at 22:48, hufh@Lenovo.com wrote:
> Mr Dake:
> I am very sorry to bother you. I encountered some troubles.
> MD device is used in my 3 node cluster, and each node need
> access. I know you contribute a patch, but i cannot find it
> in LKML, could you mail me and tell me it's main idea?
> Thank you very much.
> Best Regards!
> 
> Yours Sincerely
> Hu Fenghua
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help!About MD on shared storage.
  2003-08-04 17:40 ` Help!About MD on shared storage Steven Dake
@ 2003-08-05  6:42   ` David Chow
  0 siblings, 0 replies; 2+ messages in thread
From: David Chow @ 2003-08-05  6:42 UTC (permalink / raw)
  To: sdake; +Cc: hufh, linux-raid

>
>
>Note that the same thing can be done using a configuration file per node
>and using mdadm to only start the RAID volumes needed.  This is the
>methodology recommended by RAID maintainer, Neil Brown, however, I find
>it difficult to setup which is why I proposed the patch.  He could
>probably provide more info on that methodology or there is a discussion
>in the archives.
>
>If I ever get some time, I plan to implement shared access to the same
>RAID volume for usage in a clustered filesystem application such as GFS.
>
If it really happens, every writes to the RAID will need to be synced . 
Since fs assumes the underlying block device is synced instead of async 
like md . This has been an issue of using md on cluster environment 
which calling sync only sync fs->block buffers and md buffers are not 
gaurantee to be synced. I am not sure how much performnace drawback will 
cause if every write to md must be synced and wait for return for the 
underlying real block device. Any ideas?

David



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-05  6:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <OF24C833E9.81D2D2DC-ON48256D78.001F7244@legend.com.cn>
2003-08-04 17:40 ` Help!About MD on shared storage Steven Dake
2003-08-05  6:42   ` David Chow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).