Skip to contentSkip to conversation

clustered MD - beyond RAID1

DISCUSSION Scott Sinno 7 participants 15 messages Dec 18, 2015 – Dec 5, 2016 3 messages not in the archive MD RAID

lore
Share & tools
lore
#0 lore raw

Neil(or anyone well informed in mdadm development roadmaps),

Aaron and myself are engineers at NASA Goddard with strong interest in
MDADM. We currently host 6PB(raw) of live JBOD storage leveraging MDADM exclusively for RAID functionality.

We're very interested in Clustered MDADM to improve data-availability
in the environment, but note that only RAID1 is currently supported. Are there plans in the nearish-term(say over the next year) to expound clustered bitmap functionality to RAID5/6, or anything else you can divulge on that front? Thanks in advance for any guidance.

#1 lore raw
Quoted 11 lines · Scott Sinno

Neil(or anyone well informed in mdadm development roadmaps),

Aaron and myself are engineers at NASA Goddard with strong interest in
MDADM. We currently host 6PB(raw) of live JBOD storage leveraging MDADM exclusively for RAID functionality.

We're very interested in Clustered MDADM to improve data-availability
in the environment, but note that only RAID1 is currently supported. Are there plans in the nearish-term(say over the next year) to expound clustered bitmap functionality to RAID5/6, or anything else you can divulge on that front? Thanks in advance for any guidance.

We don't talk about plans that are not backed by code - you can't trust them.

However I cannot imagine how you could make RAID5 work efficiently in a cluster.
RAID1 works because we assume that the file system will have its own locking to ensure that only one node writes to a given block at a given time. So while node-A is writing to a block, RAID1 knows that no other node is writing there so it can update all copies and be sure no race will result in the copies being inconsistent.

For this to work with RAID5 we would need to assume the filesystem will ensure only one node is writing to a given stripe at a time, and that is not realistic.

So to make it work we would need the md layer to lock each stripe during an update. I have trouble imagining that running with much speed. Hard to know without testing of course.
I know of no-one with plans to do that testing.

NeilBrown

#2 lore raw

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

Tejas.

Quoted 34 lines · NeilBrown
Quoted 11 lines · Scott Sinno

Neil(or anyone well informed in mdadm development roadmaps),

Aaron and myself are engineers at NASA Goddard with strong interest in
MDADM. We currently host 6PB(raw) of live JBOD storage leveraging MDADM exclusively for RAID functionality.

We're very interested in Clustered MDADM to improve data-availability
in the environment, but note that only RAID1 is currently supported. Are there plans in the nearish-term(say over the next year) to expound clustered bitmap functionality to RAID5/6, or anything else you can divulge on that front? Thanks in advance for any guidance.

We don't talk about plans that are not backed by code - you can't trust them.

However I cannot imagine how you could make RAID5 work efficiently in a cluster.
RAID1 works because we assume that the file system will have its own locking to ensure that only one node writes to a given block at a given time. So while node-A is writing to a block, RAID1 knows that no other node is writing there so it can update all copies and be sure no race will result in the copies being inconsistent.

For this to work with RAID5 we would need to assume the filesystem will ensure only one node is writing to a given stripe at a time, and that is not realistic.

So to make it work we would need the md layer to lock each stripe during an update. I have trouble imagining that running with much speed. Hard to know without testing of course.
I know of no-one with plans to do that testing.

NeilBrown

#3 lore raw
Quoted 5 lines · Tejas Rao

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

You would also need to make sure that the filesystem only wrote from a single node at a time (or access the block device directly). I doubt GPFS/lustre make any promise like that, but I'm happy to be educated.

rebuilds are handled by using a cluster-wide lock to block all writes to a range of addresses while those stripes are repaired.

NeilBrown

#4 lore raw

GPFS guarantees that only one node will write to a linux block device using disk leases. Only a node with a disk lease has the right to submit I/O and disk leases expire every 30 secs and needs to be renewed. Lustre and other distributed file systems have other ways of handing this.

Using md devices in a shared/clustered environment is something not supported by Redhat on RHEL6 or RHEL7 kernels, so this is something we would not try in our production environments.

Tejas.

Quoted 15 lines · NeilBrown
Quoted 5 lines · Tejas Rao

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

You would also need to make sure that the filesystem only wrote from a single node at a time (or access the block device directly). I doubt GPFS/lustre make any promise like that, but I'm happy to be educated.

rebuilds are handled by using a cluster-wide lock to block all writes to a range of addresses while those stripes are repaired.

NeilBrown

#5 lore raw
Quoted 2 lines · Tejas Rao

GPFS guarantees that only one node will write to a linux block device using disk leases.

Do you have a reference to documentation explaining that?
A few moments searching the internet suggests that a "disk lease" is much like a heart-beat. A node uses it to say "I'm still alive, please don't ignore me". I could find no evidence that only one node could hold a disk lease at any time.

NeilBrown

Quoted 31 lines

Only a node with a disk lease has the right to submit
I/O and disk leases expire every 30 secs and needs to be renewed. Lustre and other distributed file systems have other ways of handing this.

Using md devices in a shared/clustered environment is something not supported by Redhat on RHEL6 or RHEL7 kernels, so this is something we would not try in our production environments.

Tejas.

Quoted 7 lines · NeilBrown
Quoted 5 lines · Tejas Rao

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

Quoted 8 lines

You would also need to make sure that the filesystem only wrote from a single node at a time (or access the block device directly). I doubt GPFS/lustre make any promise like that, but I'm happy to be educated.

rebuilds are handled by using a cluster-wide lock to block all writes to a range of addresses while those stripes are repaired.

NeilBrown

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 10 lines · NeilBrown
Quoted 8 lines · Tejas Rao
Quoted 7 lines · NeilBrown
Quoted 5 lines · Tejas Rao

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

You would also need to make sure that the filesystem only wrote from a single node at a time (or access the block device directly). I doubt GPFS/lustre make any promise like that, but I'm happy to be educated.

rebuilds are handled by using a cluster-wide lock to block all writes to a range of addresses while those stripes are repaired.

NeilBrown

My understanding of MD level cross host RAID was that it would not magically create cluster aware filesystems out of non-cluster aware filesystems. ie, you wouldn't be able to use the same multi-host RAID device on multiple hosts concurrently with ext3.

IMHO, if it was able to behave similar to DRBD, then that would be perfect (ie, enforce only a single node can write at a time (unless you specifically set it for multi-node write)). The benefit should be that you can lose a node without losing your data. After you lose that node, you can then "do something" to use the remaining node to access the data (eg, mount it, export with iscsi/nfs, etc).

Currently, this is what I use DRBD for, previously, I've used NBD + MD RAID1 to do the same thing. One question though is what advantage multi-host MD RAID might have over the existing in-kernel DRBD ? Are there plans which show why this is going to be better, have better performance, features, etc?

Regards,
Adam

Signature · 1 line
Adam Goryachev Website Managers www.websitemanagers.com.au
#7 lore raw
Quoted 18 lines · Adam Goryachev
Quoted 17 lines · NeilBrown
Quoted 15 lines · Tejas Rao
Quoted 14 lines · NeilBrown
Quoted 5 lines · Tejas Rao

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

You would also need to make sure that the filesystem only wrote from a single node at a time (or access the block device directly). I doubt GPFS/lustre make any promise like that, but I'm happy to be educated.

rebuilds are handled by using a cluster-wide lock to block all writes to a range of addresses while those stripes are repaired.

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

NeilBrown

My understanding of MD level cross host RAID was that it would not magically create cluster aware filesystems out of non-cluster aware filesystems. ie, you wouldn't be able to use the same multi-host RAID device on multiple hosts concurrently with ext3.

This is correct. The expectation is that clustered md/raid1 would be used with a cluster-aware filesystem such as ocfs2 or gpfs. Certainly not with ext3 or similar.

Quoted 7 lines

IMHO, if it was able to behave similar to DRBD, then that would be perfect (ie, enforce only a single node can write at a time (unless you specifically set it for multi-node write)). The benefit should be that you can lose a node without losing your data. After you lose that node, you can then "do something" to use the remaining node to access the data (eg, mount it, export with iscsi/nfs, etc).

There is a lot of similarity between DRBD and clustered md/raid1. I don't know the current state of DRBD but it initially assumed each storage device was local to a single node and so sent data over the network (i.e. over IP) to "remote" devices.

clustered md/raid1 assumes that all storage is equally accessible to all nodes (over a 'storage area network', which may still be IP).

So yes: if you lose a node you should not lose functionality.

Quoted 6 lines

Currently, this is what I use DRBD for, previously, I've used NBD + MD RAID1 to do the same thing. One question though is what advantage multi-host MD RAID might have over the existing in-kernel DRBD ? Are there plans which show why this is going to be better, have better performance, features, etc?

I'm not the driving force behind clustered md/raid1 so I am not completely familiar with the motivation, but I believe DRBD doesn't, or didn't, make best possible use of the storage network when every storage device is connected to every compute node. It is expected that clustered md/raid1 will.

I *think* DRBD is primarily for pair of nodes (though there is some multi-node support). clustered md/raid1 is designed to work with multiple nodes - however big your cluster is.
(DRBD 9.0 appears to support multi-node configurations. I haven't researched the details)

NeilBrown

#8 lore raw
In reply to NeilBrown

Each GPFS disk (block device) has a list of servers associated with it. When the first storage server fails (expired disk lease), the storage node is expelled and a different server which also sees the shared storage will do I/O.

There is a "leaseRecoveryWait" parameter which tells the filesystem manager to wait for few seconds to allow the expelled node to complete any I/O in flight to the shared storage device to avoid any out of order i/O. After this wait time, the filesystem manager completes recovery on the failed node, replaying journal logs, freeing up shared tokens/locks etc. After the recovery is complete a different storage node will do I/O. There is a concept of primary/secondary servers for a given block device. The secondary server will only do I/O when the primary server has failed and this has been confirmed.

See "servers=ServerList" in man page for mmcrnsd. ( I don't think I am allowed to send web links)

We currently have 10's of petabytes in production using linux md raid. We are currently not sharing md devices, only hardware raid block devices are shared. In our experience hardware raid controllers are expensive. Linux raid has worked well over the years and performance is very good as GPFS coalesces I/O in large filesystem blocksize blocks (8MB) and if aligned properly eliminate RMW (doing full stripe writes) and the need for NVRAM (unless someone is doing POSIX fsync).

In the future ,we would prefer to use linux raid (RAID6) in a shared environment shielding us against server failures. Unfortunately we can only do this after Redhat supports such an environment with linux raid. Currently they do not support this even in an active/passive environment (only one server can have a md device assembled and active regardless).

Tejas.

Quoted 45 lines · NeilBrown
Quoted 2 lines · Tejas Rao

GPFS guarantees that only one node will write to a linux block device using disk leases.

Do you have a reference to documentation explaining that?
A few moments searching the internet suggests that a "disk lease" is much like a heart-beat. A node uses it to say "I'm still alive, please don't ignore me". I could find no evidence that only one node could hold a disk lease at any time.

NeilBrown

Quoted 31 lines

Only a node with a disk lease has the right to submit
I/O and disk leases expire every 30 secs and needs to be renewed. Lustre and other distributed file systems have other ways of handing this.

Using md devices in a shared/clustered environment is something not supported by Redhat on RHEL6 or RHEL7 kernels, so this is something we would not try in our production environments.

Tejas.

Quoted 7 lines · NeilBrown
Quoted 5 lines · Tejas Rao

What if the application is doing the locking and making sure that only 1 node writes to a md device at a time? Will this work? How are rebuilds handled? This would be helpful with distributed filesystems like GPFS/lustre etc.

Quoted 8 lines

You would also need to make sure that the filesystem only wrote from a single node at a time (or access the block device directly). I doubt GPFS/lustre make any promise like that, but I'm happy to be educated.

rebuilds are handled by using a cluster-wide lock to block all writes to a range of addresses while those stripes are repaired.

NeilBrown

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
Quoted 9 lines · Tejas Rao

We currently have 10's of petabytes in production using linux md raid. We are currently not sharing md devices, only hardware raid block devices are shared. In our experience hardware raid controllers are expensive. Linux raid has worked well over the years and performance is very good as GPFS coalesces I/O in large filesystem blocksize blocks (8MB) and if aligned properly eliminate RMW (doing full stripe writes) and the need for NVRAM (unless someone is doing POSIX fsync).

Full Stripe Write does not eliminate the need for NVRAM. Stored data under MD RAID-6 is vulnerable to write-hole data corruption issue. Yes, hardware RAID controllers are expensive because they would provide more data reliability and high-availibiltiy that might not be useful for this use case.

--Alireza

#10 lore raw
In reply to Tejas Rao
Quoted 4 lines · Tejas Rao

Each GPFS disk (block device) has a list of servers associated with it. When the first storage server fails (expired disk lease), the storage node is expelled and a different server which also sees the shared storage will do I/O.

In that case something probably could be made to work with md/raid5 using much of the cluster support developed for md/raid1.

The raid5 module would take a cluster lock that covered some region of the array and would not need to release it until a fail-over happened. So there would be little performance penalty.

The simplest approach would be to lock the whole array. This would preclude the possibility of different partitions being accessed from different nodes. Maybe that is not a problem. If it were, a solution could probably be found but there would be little point searching for a solution before a clear need was presented.

Quoted 6 lines

In the future ,we would prefer to use linux raid (RAID6) in a shared environment shielding us against server failures. Unfortunately we can only do this after Redhat supports such an environment with linux raid. Currently they do not support this even in an active/passive environment (only one server can have a md device assembled and active regardless).

Obviously that is something you would need to discuss with Redhat.

Thanks,
NeilBrown

A message that is not in the archive (sent off-list or not yet received): CAB9NSeXhoHd3_BDRrWAsBrW0Dj2=NucyUFt8pSP0zB5K=RkUOg@mail.gmail.com

#12 lore raw

Hi Robert,

I don't know the answer to the question, but I had to refresh my memory on the issue and here are my thoughts on it:

I dug it up and the issue with clustered RAID5/6 is one of stripe locking (http://www.spinics.net/lists/raid/msg51020.html). If two different nodes say write 4k to 2 different locations within a 128k stripe there's a race condition and best case you'll lose one of the writes, worst case you'd entirely corrupt the stripe. As was pointed out on the thread I linked to the performance implications of locking a stripe could be dire. If you'd like to do 1GiB/s to an array (not unreasonable for even a modest drive count) with a chunk size of 128KiB that's 8,192 locks per second.

The approach I was going to take (but I'm no longer working on the project that required it) was to use pacemaker to co-ordinate failover of the md devices between nodes. Pacemaker would co-ordinate the "serving" of the LUNs via SCST and on the passive node would present a pair of "dummy" devices. ALUA would be used to inform the clients of which was the active path. On the clients multipath would be required to pull it all together. I had started work on the pacemaker failover of the SCST LUNs and have some patches to the available OCF resource agents to make the progress I did. I can send those to you if you'd like. It's rather precarious and without extensive testing I don't trust it to not eat all your data.

The only thing I know of that could, out of the box, perhaps do what you're asking is Raidix (http://www.raidix.com/) and that's based purely on advertised specifications.

I agree with you, though, if it clustered md raid6/60 could be made to work and be performant I think it would be an asset to the Linux community.

-Aaron

Quoted 56 lines · Robert Woodworth

Excuse me for being late to the party on this subject, but is the idea of clustered RAID5/6 alive or dead?

I have a need for such a feature. I'm in development on SAS JBODs with large drive counts, 60 and 90 drives per JBOD. We would like to support multi-host connectivity in an active/active fashion with MD RAID60. This clustered MD RAID can and should be a nice alternative to HW RAID solutions like LSI/Avago "Syncro" MegaRAID.

I currently have the hardware and time to help develop and test the clustered RAID5/6.
I just finished up building a test cluster of 2 nodes with the cluster-md RAID1. Worked fine with gfs2 on top.

My current real job is firmware on these SAS JBODS. I have many years of Linux experience and have developed (years ago) some kernel modules for a custom FPGA based PCIe cards.

On Mon, Dec 21, 2015 at 9:13 PM, NeilBrown <[email protected] <mailto:[email protected]>> wrote:

On Tue, Dec 22 2015, Tejas Rao wrote:

> Each GPFS disk (block device) has a list of servers associated with it. > When the first storage server fails (expired disk lease), the storage > node is expelled and a different server which also sees the shared > storage will do I/O.

In that case something probably could be made to work with md/raid5 using much of the cluster support developed for md/raid1.

The raid5 module would take a cluster lock that covered some region of the array and would not need to release it until a fail-over happened. So there would be little performance penalty.

The simplest approach would be to lock the whole array. This would preclude the possibility of different partitions being accessed from different nodes. Maybe that is not a problem. If it were, a solution could probably be found but there would be little point searching for a solution before a clear need was presented.

>
> In the future ,we would prefer to use linux raid (RAID6) in a shared > environment shielding us against server failures. Unfortunately we can > only do this after Redhat supports such an environment with linux raid. > Currently they do not support this even in an active/passive environment > (only one server can have a md device assembled and active regardless).

Obviously that is something you would need to discuss with Redhat.

Thanks,
NeilBrown

Signature · 4 lines
Aaron Knister
NASA Center for Climate Simulation (Code 606.2)
Goddard Space Flight Center
(301) 286-2776

A message that is not in the archive (sent off-list or not yet received): [email protected]

#14 lore raw

Hi Tejas et al,

I'm fairly confident in saying that GPFS can have many servers actively writing to a given NSD (LUN) at any given time. In our production environment the NSDs have 6 servers defined and clients more or less write to whichever one their little hearts desire. Do you think it's possible that the explicit primary/secondary concept is from an older version of GPFS? I'm not sure what the locking granularity is for NSDs/disks, but even if it's a single GPFS FS block and that block size corresponds to the stripe width of the array I'm pretty nervous relying on that assumption for data integrity :)

The use case here is creating effectively highly available block storage from shared JBODs for use by VMs on the servers as well as to be exported to other nodes. The filesystem we're using for this is actually GPFS. The intent was to use RAID6 in an active/active fashion on two nodes sharing a common set of disks. The active/active was in an effort to simplify the configuration.

I'm curious now, Redhat doesn't support SW raid failover? I did some googling and found this:

https://access.redhat.com/solutions/231643

While I can't read the solution I have to figure that they're now supporting that. I might actually explore that for this project.

-Aaron

Quoted 48 lines · Tejas Rao

Each GPFS disk (block device) has a list of servers associated with it. When the first storage server fails (expired disk lease), the storage node is expelled and a different server which also sees the shared storage will do I/O.

There is a "leaseRecoveryWait" parameter which tells the filesystem manager to wait for few seconds to allow the expelled node to complete any I/O in flight to the shared storage device to avoid any out of order i/O. After this wait time, the filesystem manager completes recovery on the failed node, replaying journal logs, freeing up shared tokens/locks etc. After the recovery is complete a different storage node will do I/O. There is a concept of primary/secondary servers for a given block device. The secondary server will only do I/O when the primary server has failed and this has been confirmed.

See "servers=ServerList" in man page for mmcrnsd. ( I don't think I am allowed to send web links)

We currently have 10's of petabytes in production using linux md raid. We are currently not sharing md devices, only hardware raid block devices are shared. In our experience hardware raid controllers are expensive. Linux raid has worked well over the years and performance is very good as GPFS coalesces I/O in large filesystem blocksize blocks (8MB) and if aligned properly eliminate RMW (doing full stripe writes) and the need for NVRAM (unless someone is doing POSIX fsync).

In the future ,we would prefer to use linux raid (RAID6) in a shared environment shielding us against server failures. Unfortunately we can only do this after Redhat supports such an environment with linux raid. Currently they do not support this even in an active/passive environment (only one server can have a md device assembled and active regardless).

Tejas.

Quoted 12 lines · NeilBrown
Quoted 2 lines · Tejas Rao

GPFS guarantees that only one node will write to a linux block device using disk leases.

Do you have a reference to documentation explaining that?
A few moments searching the internet suggests that a "disk lease" is much like a heart-beat. A node uses it to say "I'm still alive, please don't ignore me". I could find no evidence that only one node could hold a disk lease at any time.

NeilBrown

Signature · 4 lines
Aaron Knister
NASA Center for Climate Simulation (Code 606.2)
Goddard Space Flight Center
(301) 286-2776
#15 lore raw
Quoted 12 lines · Aaron Knister

Hi Tejas et al,

I'm fairly confident in saying that GPFS can have many servers actively writing to a given NSD (LUN) at any given time. In our production environment the NSDs have 6 servers defined and clients more or less write to whichever one their little hearts desire. Do you think it's possible that the explicit primary/secondary concept is from an older version of GPFS? I'm not sure what the locking granularity is for NSDs/disks, but even if it's a single GPFS FS block and that block size corresponds to the stripe width of the array I'm pretty nervous relying on that assumption for data integrity :)

Quoted 6 lines

The use case here is creating effectively highly available block storage from shared JBODs for use by VMs on the servers as well as to be exported to other nodes. The filesystem we're using for this is actually GPFS. The intent was to use RAID6 in an active/active fashion on two nodes sharing a common set of disks. The active/active was in an effort to simplify the configuration.

You are probably not defining the NSD parameter "servers=ServerList". If this parameter is not defined, GPFS assumes that the disks are SAN attached to all the NSD nodes, in this case there is no primary/secondary server. Of-course there is no risk of data integrity even if the "servers" parameter is not defined.

Quoted 8 lines

I'm curious now, Redhat doesn't support SW raid failover? I did some googling and found this:

https://access.redhat.com/solutions/231643

While I can't read the solution I have to figure that they're now supporting that. I might actually explore that for this project.

https://access.redhat.com/solutions/410203
This article states that md raid is not supported in RHEL6/7 under any circumstances, including active/passive modes.

Quoted 53 lines

-Aaron

Quoted 48 lines · Tejas Rao

Each GPFS disk (block device) has a list of servers associated with it. When the first storage server fails (expired disk lease), the storage node is expelled and a different server which also sees the shared storage will do I/O.

There is a "leaseRecoveryWait" parameter which tells the filesystem manager to wait for few seconds to allow the expelled node to complete any I/O in flight to the shared storage device to avoid any out of order i/O. After this wait time, the filesystem manager completes recovery on the failed node, replaying journal logs, freeing up shared tokens/locks etc. After the recovery is complete a different storage node will do I/O. There is a concept of primary/secondary servers for a given block device. The secondary server will only do I/O when the primary server has failed and this has been confirmed.

See "servers=ServerList" in man page for mmcrnsd. ( I don't think I am allowed to send web links)

We currently have 10's of petabytes in production using linux md raid. We are currently not sharing md devices, only hardware raid block devices are shared. In our experience hardware raid controllers are expensive. Linux raid has worked well over the years and performance is very good as GPFS coalesces I/O in large filesystem blocksize blocks (8MB) and if aligned properly eliminate RMW (doing full stripe writes) and the need for NVRAM (unless someone is doing POSIX fsync).

In the future ,we would prefer to use linux raid (RAID6) in a shared environment shielding us against server failures. Unfortunately we can only do this after Redhat supports such an environment with linux raid. Currently they do not support this even in an active/passive environment (only one server can have a md device assembled and active regardless).

Tejas.

Quoted 12 lines · NeilBrown
Quoted 2 lines · Tejas Rao

GPFS guarantees that only one node will write to a linux block device using disk leases.

Do you have a reference to documentation explaining that?
A few moments searching the internet suggests that a "disk lease" is much like a heart-beat. A node uses it to say "I'm still alive, please don't ignore me". I could find no evidence that only one node could hold a disk lease at any time.

NeilBrown

A message that is not in the archive (sent off-list or not yet received): [email protected]

#17 lore raw
Quoted 2 lines · Tejas Rao

On 12/21/2015 20:50, Aaron Knister wrote:

[...]

Quoted 10 lines
Quoted 8 lines

I'm curious now, Redhat doesn't support SW raid failover? I did some googling and found this:

https://access.redhat.com/solutions/231643

While I can't read the solution I have to figure that they're now supporting that. I might actually explore that for this project.

https://access.redhat.com/solutions/410203
This article states that md raid is not supported in RHEL6/7 under any circumstances, including active/passive modes.

OCFS2 or GFS2(same for GPFS, as the shared filesystem) over a shared storage is a typical Cluster configuration for Linux High Availability. Where, Clustered LVM (cLVM) is supported by both SUSE and Redhat to do mirroring to protect the data. However, the performance loss is very big and make people not so happy about this clustered mirror solution. This is where the motivation for clustered MD solution comes from.

With clustered md, this new solution could provide nearly the same performance as the native raid1. You may have interest to validate this from your lab with your configuration;)

Cheers,
Roger