I understand about HP-UX mirroring/LVM.

I was a little too obtuse.

LVM2 has a feature (not well advertised) that allows an VG to be tagged so it 
will not be activated by "system b" if it is already tagged as being in use by 
"system a".  I was suggesting that a similar feature could be added to MD.  
This way a MD array could be marked as "owned" and, if so, mdadm would not 
activate it from another system.  This way all of the MD control is still 
within mdadm.

If Neil is interested, I'll try to dig up more info.

Regards,
Rick  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Osicki
Sent: Monday, February 13, 2006 9:13 AM
To: [email protected]
Subject: Re: Question: array locking, possible?



Rick

On HP-UX disk mirroring is done in LVM. I'm using md driver for
mirroring and LVM on top of it.  Controlling access to my disks in LVM
is just too late. I would have to assemble the array before I can activate
VGs. If the array in question is being used on the other host nobody
can guarantee that bad thing wont happen. And what I would like to
prevent is: two hosts accessing (writing) an array.
Thanks anyway for the hint.

Regards,
Chris


On Thu, 9 Feb 2006 10:28:58 -0800
"Stern, Rick (Serviceguard Linux)" <[EMAIL PROTECTED]> wrote:

> There is more interest, just not vocal.
> 
> May want to look at LVM2 and its ability to use tagging to control enablement 
> of VGs. This way it is not HW dependent.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Osicki
> Sent: Thursday, February 09, 2006 2:26 AM
> To: [email protected]
> Subject: Re: Question: array locking, possible?
> 
> 
> 
> It looks like we are the only two md users interested in such a
> feature.
> Not enough to get Neil's attention ;-)
> 
> Regards,
> Chris
> 
> On Wed, 8 Feb 2006 21:45:33 +0100
> Jure Peèar <[EMAIL PROTECTED]> wrote:
> 
> > On Wed, 8 Feb 2006 11:55:49 +0100
> > Chris Osicki <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > I was thinking about it, I have no idea how to do it on Linux if ever 
> > > possible.
> > > I connect over fibre channel SAN, using QLogic QLA2312 HBAS, if it 
> > > matters.
> > > 
> > > Anyone any hints?
> > 
> > I too am running a jbod with md raid between two machines. So far md never
> > caused any kind of problems, altough I did have situations where both
> > machines were syncing mirrors at once.
> > 
> > If there's a little tool to reserve a disk via scsi, I'd like to know about
> > it too. Even a piece of code would be enough.
> > 
> > 
> > -- 
> > 
> > Jure Peèar
> > http://jure.pecar.org/
> > -
> > 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
> > 
> -
> 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
> -
> 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
> 
-
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
-
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

Reply via email to