Re: Limit max concurrent sessions

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

 



Le Wed, 23 Sep 2015 16:20:01 +0200
Gionatan Danti <g.danti@xxxxxxxxxx> écrivait:

> Hi all,
> anyone with some ideas / infos ?
> 
> Thanks.
> 
> On 06/05/15 17:36, Gionatan Danti wrote:
> > Hi all,
> > I would like to understand if, and how to, limit the maximum number
> > of simultaneous connections to a specific LUN, both with the old
> > iSCSI stack (tgtadmin and friends) and the new one (targetcli and
> > the likes).
> >
> > I am exporting a LUN with a general purpose filesystem (non cluster
> > aware) and I would be 100% sure that only a single machine at a
> > time can mount it.
> >
> > At the moment, I protected the iSCSI LUN with both an IP-based
> > access list and a username/password combo, but hard limiting the
> > maximum number of connections opened against it to 1 (one) would be
> > a nice thing...
> >
> > As I have mixed RHEL 6 and 7 environment, I am interested in how to
> > do that on both the old and new iSCSI stack.
> >

Use XFS. XFS won't let you mount it several time on different machines
without various "force" options.
Alternatively, use a cluster-aware FS like ocfs2. Ocfs2 is quite easy
to set up.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux