Re: md on shared storage

From: Joel Becker (
Date: Wed Nov 13 2002 - 12:24:00 EST

On Wed, Nov 13, 2002 at 12:46:41PM +0100, Lars Marowsky-Bree wrote:
> In short, you can do "MD", if you don't use it as "shared"; have only one node
> have a given md device active at any point in time. Thus, no autostart, but
> manual activation. This rules out "GFS over md", basically.

        RAID0 can work fine. You cannot have a persistent superblock
and autostart, because then the two nodes stomp on each other. To allow
anything other than this, you'd need cluster services and node locking.
        How to do RAID0? Have each node mkraid the RAID0 (or mdadm
equiv) at boot. Because there is no persistent superblock, there is no
contention to the disk. OpenGFS or OCFS can now share the nice striped
volume, because they handle the locking for their data.
        We have, in fact, run OCFS on shared RAID0 in this fashion.



"Maybe the time has drawn the faces I recall. But things in this life change very slowly, If they ever change at all."

Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: Phone: (650) 506-8127 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:29 EST