Re: Question: array locking, possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick

You must have missed my first posting, or maybe I was not clear enough.
We _are_ talking about the same thing.

Now we are already three or four thinking of it as a useful feature,
the pression on Neil is dramatically increasing ... ;-)

Regards,
Chris

On Mon, 13 Feb 2006 09:21:06 -0800
"Stern, Rick (Serviceguard Linux)" <rick.stern@xxxxxx> wrote:

> 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: linux-raid-owner@xxxxxxxxxxxxxxx [mailto:linux-raid-owner@xxxxxxxxxxxxxxx] On Behalf Of Chris Osicki
> Sent: Monday, February 13, 2006 9:13 AM
> To: linux-raid@xxxxxxxxxxxxxxx
> 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)" <rick.stern@xxxxxx> 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: linux-raid-owner@xxxxxxxxxxxxxxx [mailto:linux-raid-owner@xxxxxxxxxxxxxxx] On Behalf Of Chris Osicki
> > Sent: Thursday, February 09, 2006 2:26 AM
> > To: linux-raid@xxxxxxxxxxxxxxx
> > 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 <pegasus@xxxxxxxxxxx> wrote:
> > 
> > > On Wed, 8 Feb 2006 11:55:49 +0100
> > > Chris Osicki <osk@xxxxxxxxxxxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
> > > 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 majordomo@xxxxxxxxxxxxxxx
> > 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 majordomo@xxxxxxxxxxxxxxx
> > 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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux