SCSI target development
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: target-devel@vger.kernel.org
Subject: Re: Limit logins or connections to the same target LUN
Date: Mon, 25 Mar 2019 19:13:17 +0000	[thread overview]
Message-ID: <1553541197.118779.14.camel@acm.org> (raw)
In-Reply-To: <17b94268-631e-515b-ccb3-f1b6ffcdd797@assyoma.it>

On Thu, 2019-02-28 at 16:19 +-0100, Gionatan Danti wrote:
+AD4 I would like to understand if, and how to, limit the maximum number of 
+AD4 simultaneous connections (or logins) to a specific LUN (similar in how 
+AD4 the +ACI-MaxSession+ACI option worked in the old ietd).
+AD4 
+AD4 I am exporting a LUN with a general purpose filesystem (non cluster 
+AD4 aware) and I would be 100+ACU sure that only a single machine at a time can 
+AD4 mount it.
+AD4 
+AD4 At the moment, I protected the iSCSI LUN with both an IP-based access 
+AD4 list and a username/password combo, but hard limiting the maximum number 
+AD4 of connections opened against it to 1 (one) would be a nice thing...
+AD4 
+AD4 Also, I am aware of SCSI persistent reservations (sg+AF8-persist) but, while 
+AD4 working well, they are somewhat harder to setup.

Hi Danti,

As far as I know this is not yet supported by the SCSI target code. I think
the kernel code will have to be modified to add this functionality.

Bart.

  parent reply	other threads:[~2019-03-25 19:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 15:19 Limit logins or connections to the same target LUN Gionatan Danti
2019-03-04 17:25 ` Gionatan Danti
2019-03-25 18:33 ` Gionatan Danti
2019-03-25 19:13 ` Bart Van Assche [this message]
2019-03-27 15:28 ` Gionatan Danti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1553541197.118779.14.camel@acm.org \
    --to=bvanassche@acm.org \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox