linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fibre Channel Shared Raid 5
@ 2005-08-28  3:37 Thomas Garner
  2005-08-28 23:33 ` Neil Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Garner @ 2005-08-28  3:37 UTC (permalink / raw)
  To: linux-raid

Is it possible to take a group of fibre channel drives on a fc-al loop, 
run raid 5 on top of them, run lvm on top of that, then gfs on top of 
that, and have the entire thing readable/writable by multiple machines 
at the same time?  I have searched amongst lvm, clvm, evms, nbd, enbd, 
linux software raid, etc. but to no avail.  I assume that both clvm or 
evms would suit me to make the drives available to multiple machine 
concurrently, but not allow redundancy.  Hopefully I am wrong and this 
is in fact possible.

Thanks!
Thomas

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

* Re: Fibre Channel Shared Raid 5
  2005-08-28  3:37 Fibre Channel Shared Raid 5 Thomas Garner
@ 2005-08-28 23:33 ` Neil Brown
  2005-08-29  0:31   ` Thomas Garner
  0 siblings, 1 reply; 6+ messages in thread
From: Neil Brown @ 2005-08-28 23:33 UTC (permalink / raw)
  To: tlg1466; +Cc: linux-raid

On Saturday August 27, tlg1466@neo.tamu.edu wrote:
> Is it possible to take a group of fibre channel drives on a fc-al loop, 
> run raid 5 on top of them, run lvm on top of that, then gfs on top of 
> that, and have the entire thing readable/writable by multiple machines 
> at the same time?  I have searched amongst lvm, clvm, evms, nbd, enbd, 
> linux software raid, etc. but to no avail.  I assume that both clvm or 
> evms would suit me to make the drives available to multiple machine 
> concurrently, but not allow redundancy.  Hopefully I am wrong and this 
> is in fact possible.

I think you are not wrong, sorry (assuming I understand you
correctly).

md/raid5 cannot be distributed.  At any one time, one machine must be
in control of the array and managing parity updates etc.  The device
provided by md/raid5 can obviously be share with GFS or NFS or nbd of
whatever.  But the management of the actually raid5 array must in the
hands of just one machine.

NeilBrown



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

* Re: Fibre Channel Shared Raid 5
  2005-08-28 23:33 ` Neil Brown
@ 2005-08-29  0:31   ` Thomas Garner
  2005-08-29  3:56     ` Neil Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Garner @ 2005-08-29  0:31 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

I recently stumbled upon ddraid.  Would this work at all for what I'm 
looking for?

Thomas

Neil Brown wrote:
> I think you are not wrong, sorry (assuming I understand you
> correctly).
> 
> md/raid5 cannot be distributed.  At any one time, one machine must be
> in control of the array and managing parity updates etc.  The device
> provided by md/raid5 can obviously be share with GFS or NFS or nbd of
> whatever.  But the management of the actually raid5 array must in the
> hands of just one machine.
> 
> NeilBrown


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

* Re: Fibre Channel Shared Raid 5
  2005-08-29  0:31   ` Thomas Garner
@ 2005-08-29  3:56     ` Neil Brown
  2005-08-29 19:41       ` Dan Stromberg
  2005-08-29 22:52       ` Neil Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Neil Brown @ 2005-08-29  3:56 UTC (permalink / raw)
  To: tlg1466; +Cc: linux-raid

On Sunday August 28, tlg1466@neo.tamu.edu wrote:
> I recently stumbled upon ddraid.  Would this work at all for what I'm 
> looking for?

I'm not certain, but I suspect not.

The 'dd' stands for 'distributed data'.  You have a cluster where each
node has one drive, and you use ddraid to combine all these drives
into an array which can survive as single node dying.  But I *think*
you still need a master node which runs the array.  Also the slaves
would need to access the array through the master.
But as I said, I'm not sure.  You'd need to check with the author I
guess.

NeilBrown

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

* Re: Fibre Channel Shared Raid 5
  2005-08-29  3:56     ` Neil Brown
@ 2005-08-29 19:41       ` Dan Stromberg
  2005-08-29 22:52       ` Neil Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Dan Stromberg @ 2005-08-29 19:41 UTC (permalink / raw)
  To: Neil Brown; +Cc: tlg1466, linux-raid

On Mon, 2005-08-29 at 13:56 +1000, Neil Brown wrote:
> On Sunday August 28, tlg1466@neo.tamu.edu wrote:
> > I recently stumbled upon ddraid.  Would this work at all for what I'm 
> > looking for?
> 
> I'm not certain, but I suspect not.
> 
> The 'dd' stands for 'distributed data'.  You have a cluster where each
> node has one drive, and you use ddraid to combine all these drives
> into an array which can survive as single node dying.  But I *think*
> you still need a master node which runs the array.  Also the slaves
> would need to access the array through the master.
> But as I said, I'm not sure.  You'd need to check with the author I
> guess.

I'm very interested in hearing more about ddraid, if there are folks on
the list who've tried it.

Thanks!



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

* Re: Fibre Channel Shared Raid 5
  2005-08-29  3:56     ` Neil Brown
  2005-08-29 19:41       ` Dan Stromberg
@ 2005-08-29 22:52       ` Neil Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Neil Brown @ 2005-08-29 22:52 UTC (permalink / raw)
  To: tlg1466, linux-raid

On Monday August 29, neilb@cse.unsw.edu.au wrote:
> On Sunday August 28, tlg1466@neo.tamu.edu wrote:
> > I recently stumbled upon ddraid.  Would this work at all for what I'm 
> > looking for?
> 
> I'm not certain, but I suspect not.
> 

Having reflected a bit more on what I learned at the linux.conf.au
talk on the subject, I'm beginning to suspect "so" rather than "not".

ddraid uses a modified raid3 algorithm.
Each device block (which is typically 1 or 4 k) is split into
individual (512byte) sectors and these striped over the physical devices.
Thus every write is a full-stripe-write so no pre-reading is needed
and there is no need for co-ordination with other blocks to calculate
the parity.

Because if this, multiple hosts could write to the array providing
they agree beforehand who is allowed to write to which block - no
further co-ordination is required.

This co-ordination would be needed for dlvm or gfs anyway, so it is
quite possible that it can be used in a very distributed way.

However I've never actually used it, so I cannot promise anything.

NeilBrown

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

end of thread, other threads:[~2005-08-29 22:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-28  3:37 Fibre Channel Shared Raid 5 Thomas Garner
2005-08-28 23:33 ` Neil Brown
2005-08-29  0:31   ` Thomas Garner
2005-08-29  3:56     ` Neil Brown
2005-08-29 19:41       ` Dan Stromberg
2005-08-29 22:52       ` Neil Brown

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