Questions tagged [linux-scst]

SCST is a generic SCSI target subsystem for Linux, it allows creation of sophisticated storage devices from any Linux box. Use this tag for questions regarding problems with the usage of SCST or it's drivers.

The generic SCSI target subsystem for Linux (SCST) allows creation of sophisticated storage devices from any Linux box. Those devices can provide advanced functionality, like replication, thin provisioning, deduplication, high availability, automatic backup, etc. Another class of such devices are Virtual Tape Libraries (VTL) as well as other disk-based backup solutions.

SCST devices can use any link which supports SCSI-style data exchange: iSCSI, Fibre Channel, FCoE, SAS, InfiniBand (SRP), Wide (parallel) SCSI, etc.

SCST project consists from a set of subprojects: generic SCSI target mid-layer itself (SCST core) with a set of device handlers as well as target drivers and user space utilities.

See the sourceforge site for more information.

6 questions
15
votes
3 answers

Unknown symbol in while loading a kernel module

I need help understanding why I get an error when I insert a module. I have tried this with no success. $ sudo modprobe lpfc_scst FATAL: Error inserting lpfc_scst (/lib/modules/2.6.32-33-generic/extra/lpfc_scst.ko): Unknown symbol in module, or…
user663896
2
votes
0 answers

Regarding filp_open usage in linux kernel module

Many of the kernel developers suggest that opening a file in the kernel land is not good. Contrary to this SCST device handler for vdisk is using filp_open call. How is this accepted by the Linux kernel community?
2
votes
1 answer

Get target IP address of an iscsi device

Suppose I have an iSCSI device /dev/sdat, how do I know the IP address of it's target? The target driver is SCST, and the initiator is iSCSI. All I know is a device named /dev/sdat and nothing more. So how to get the IP address of it's target?
1
vote
1 answer

How can I add an include directory to a makefile for kernel source?

I am trying to build some kernel modules I added to my Ubuntu source code. After many failed attempts to compile I found out that the same error keep happening in different places. The compiler is not able to find a set of headers which sit in an…
AtomicPorkchop
  • 2,625
  • 5
  • 36
  • 55
0
votes
1 answer

What is the purpose of "ifeq (a,$(wildcard .a))" in makefile?

ifeq (.depend_f,$(wildcard .depend_f)) -include .depend_f endif it is a makefile in scst fileio , I think maybe just using -include is okay , why we need to use "ifeq (.depend_f,$(wildcard .depend_f))" ?
LurenAA
  • 3
  • 3
0
votes
1 answer

SCSI Inquiry Command

I am very novice to SCSI and SCST. I am trying to introduce a new page code in SCSI inquiry command , So for that i am initially requesting for the list of supported pages using page code 0x00. So in SCST code I mentioned the length of the reply and…