All of lore.kernel.org
 help / color / mirror / Atom feed
* How can I change Vendor name LIO-ORG
@ 2019-04-10 12:43 Özkan Göksu
  2019-04-10 13:25 ` David Disseldorp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Özkan Göksu @ 2019-04-10 12:43 UTC (permalink / raw)
  To: target-devel

Hello.

I couldn't find any way to change LIO-SCSI Vendor name which is shown
as LIO-ORG when we attached to client.
I do not want to re-compile kernel with the changing hard-coded Vendor name.

If there is any way to change it, please can you show me the way?

P.S: I'm so sorry to bother you with this out-of topic question. I'm
aware its not the right place to ask this question  but I could not
find any answer from anywhere. Please forgive me for this.

Best Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I change Vendor name LIO-ORG
  2019-04-10 12:43 How can I change Vendor name LIO-ORG Özkan Göksu
@ 2019-04-10 13:25 ` David Disseldorp
  2019-04-10 14:07 ` Özkan Göksu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: David Disseldorp @ 2019-04-10 13:25 UTC (permalink / raw)
  To: target-devel

Hi,

On Wed, 10 Apr 2019 15:43:47 +0300, Özkan Göksu wrote:

> Hello.
> 
> I couldn't find any way to change LIO-SCSI Vendor name which is shown
> as LIO-ORG when we attached to client.
> I do not want to re-compile kernel with the changing hard-coded Vendor name.
> 
> If there is any way to change it, please can you show me the way?

This functionality was added recently via:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?idTa6f3f6a43cf5a5ad0421e4440a4c7095e7a223

With this change (and 2d882847280e3ae1ddc95175d0fc2006e11bb63f), you
can change the vendor ID via the configfs path at:
target/core/$backstore/$name/wwn/vendor_id

Cheers, David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I change Vendor name LIO-ORG
  2019-04-10 12:43 How can I change Vendor name LIO-ORG Özkan Göksu
  2019-04-10 13:25 ` David Disseldorp
@ 2019-04-10 14:07 ` Özkan Göksu
  2019-04-10 14:14 ` David Disseldorp
  2019-04-16 20:54 ` Alan Adamson
  3 siblings, 0 replies; 5+ messages in thread
From: Özkan Göksu @ 2019-04-10 14:07 UTC (permalink / raw)
  To: target-devel

Thank you for the answer.

Currently I'm using "14.14.71-1-lts #1 SMP Thu Sep 20 20:14:07 CEST
2018" and I need to upgrade for this change.
I will upgrade my kernel and re-answer again.

Regards.

David Disseldorp <ddiss@suse.de>, 10 Nis 2019 Çar, 16:25 tarihinde şunu yazdı:
>
> Hi,
>
> On Wed, 10 Apr 2019 15:43:47 +0300, Özkan Göksu wrote:
>
> > Hello.
> >
> > I couldn't find any way to change LIO-SCSI Vendor name which is shown
> > as LIO-ORG when we attached to client.
> > I do not want to re-compile kernel with the changing hard-coded Vendor name.
> >
> > If there is any way to change it, please can you show me the way?
>
> This functionality was added recently via:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54a6f3f6a43cf5a5ad0421e4440a4c7095e7a223
>
> With this change (and 2d882847280e3ae1ddc95175d0fc2006e11bb63f), you
> can change the vendor ID via the configfs path at:
> target/core/$backstore/$name/wwn/vendor_id
>
> Cheers, David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I change Vendor name LIO-ORG
  2019-04-10 12:43 How can I change Vendor name LIO-ORG Özkan Göksu
  2019-04-10 13:25 ` David Disseldorp
  2019-04-10 14:07 ` Özkan Göksu
@ 2019-04-10 14:14 ` David Disseldorp
  2019-04-16 20:54 ` Alan Adamson
  3 siblings, 0 replies; 5+ messages in thread
From: David Disseldorp @ 2019-04-10 14:14 UTC (permalink / raw)
  To: target-devel

On Wed, 10 Apr 2019 17:07:10 +0300, Özkan Göksu wrote:

> Thank you for the answer.
> 
> Currently I'm using "14.14.71-1-lts #1 SMP Thu Sep 20 20:14:07 CEST
> 2018" and I need to upgrade for this change.

That doesn't look like a kernel version.

> I will upgrade my kernel and re-answer again.

Excluding distributions with backports, you'll need a kernel >= v5.0.

Cheers, David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I change Vendor name LIO-ORG
  2019-04-10 12:43 How can I change Vendor name LIO-ORG Özkan Göksu
                   ` (2 preceding siblings ...)
  2019-04-10 14:14 ` David Disseldorp
@ 2019-04-16 20:54 ` Alan Adamson
  3 siblings, 0 replies; 5+ messages in thread
From: Alan Adamson @ 2019-04-16 20:54 UTC (permalink / raw)
  To: target-devel

Here you go:

# echo "APA-ORG" > 
/sys/kernel/config/target/core/fileio_0/shareddata/wwn/vendor_id


Alan


On 4/10/19 5:43 AM, Özkan Göksu wrote:
> Hello.
>
> I couldn't find any way to change LIO-SCSI Vendor name which is shown
> as LIO-ORG when we attached to client.
> I do not want to re-compile kernel with the changing hard-coded Vendor name.
>
> If there is any way to change it, please can you show me the way?
>
> P.S: I'm so sorry to bother you with this out-of topic question. I'm
> aware its not the right place to ask this question  but I could not
> find any answer from anywhere. Please forgive me for this.
>
> Best Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-16 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-10 12:43 How can I change Vendor name LIO-ORG Özkan Göksu
2019-04-10 13:25 ` David Disseldorp
2019-04-10 14:07 ` Özkan Göksu
2019-04-10 14:14 ` David Disseldorp
2019-04-16 20:54 ` Alan Adamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.