Lines Matching +full:mini +full:- +full:core

5 This document is intended to be a mini-HOWTO for using the tcm_mod_builder.py
11 mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD
16 ->make_nodeacl(), ->drop_nodeacl(), ->make_tpg(), ->drop_tpg()
17 ->make_wwn(), ->drop_wwn(). These are created into $TCM_NEW_MOD/$TCM_NEW_MOD_configfs.c
22 SPC-3 persistent reservation are automatically generated in $TCM_NEW_MOD/$TCM_NEW_MOD_fabric.c
27 tcm_mod_builder.py depends upon the mandatory '-p $PROTO_IDENT' and '-m
30 target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_na…
31 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../
34 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
37 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
39 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h
41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h
43 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric.c
45 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric.h
47 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_configf…
49 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kbuild
51 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kconfig
58 obj-$(CONFIG_TCM_NAB5000) += tcm_nab5000/
70 target:/mnt/sdb/lio-core-2.6.git# ls -la drivers/target/tcm_nab5000/
72 drwxr-xr-x 2 root root 4096 2010-10-05 03:23 .
73 drwxr-xr-x 9 root root 4096 2010-10-05 03:22 ..
74 -rw-r--r-- 1 root root 282 2010-10-05 03:22 Kbuild
75 -rw-r--r-- 1 root root 171 2010-10-05 03:22 Kconfig
76 -rw-r--r-- 1 root root 49 2010-10-05 03:23 modules.order
77 -rw-r--r-- 1 root root 738 2010-10-05 03:22 tcm_nab5000_base.h
78 -rw-r--r-- 1 root root 9096 2010-10-05 03:22 tcm_nab5000_configfs.c
79 -rw-r--r-- 1 root root 191200 2010-10-05 03:23 tcm_nab5000_configfs.o
80 -rw-r--r-- 1 root root 40504 2010-10-05 03:23 .tcm_nab5000_configfs.o.cmd
81 -rw-r--r-- 1 root root 5414 2010-10-05 03:22 tcm_nab5000_fabric.c
82 -rw-r--r-- 1 root root 2016 2010-10-05 03:22 tcm_nab5000_fabric.h
83 -rw-r--r-- 1 root root 190932 2010-10-05 03:23 tcm_nab5000_fabric.o
84 -rw-r--r-- 1 root root 40713 2010-10-05 03:23 .tcm_nab5000_fabric.o.cmd
85 -rw-r--r-- 1 root root 401861 2010-10-05 03:23 tcm_nab5000.ko
86 -rw-r--r-- 1 root root 265 2010-10-05 03:23 .tcm_nab5000.ko.cmd
87 -rw-r--r-- 1 root root 459 2010-10-05 03:23 tcm_nab5000.mod.c
88 -rw-r--r-- 1 root root 23896 2010-10-05 03:23 tcm_nab5000.mod.o
89 -rw-r--r-- 1 root root 22655 2010-10-05 03:23 .tcm_nab5000.mod.o.cmd
90 -rw-r--r-- 1 root root 379022 2010-10-05 03:23 tcm_nab5000.o
91 -rw-r--r-- 1 root root 211 2010-10-05 03:23 .tcm_nab5000.o.cmd
93 *) Load the new module, create a lun_0 configfs group, and add new TCM Core
96 target:/mnt/sdb/lio-core-2.6.git# insmod drivers/target/tcm_nab5000.ko
97 target:/mnt/sdb/lio-core-2.6.git# mkdir -p /sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun…
98 target:/mnt/sdb/lio-core-2.6.git# cd /sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0/
99 …s/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# ln -s /sys/kernel/config/target/core/iblo…
101 target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# cd -
102 target:/mnt/sdb/lio-core-2.6.git# tree /sys/kernel/config/target/nab5000/
104 |-- discovery_auth
105 |-- iqn.foo
106 | `-- tpgt_1
107 | |-- acls
108 | |-- attrib
109 | |-- lun
110 | | `-- lun_0
111 | | |-- alua_tg_pt_gp
112 | | |-- alua_tg_pt_offline
113 | | |-- alua_tg_pt_status
114 | | |-- alua_tg_pt_write_md
115 | | `-- nab5000_port -> ../../../../../../target/core/iblock_0/lvm_test0
116 | |-- np
117 | `-- param
118 `-- version
120 target:/mnt/sdb/lio-core-2.6.git# lsmod
135 ----------------------------------------------------------------------
145 Nicholas A. Bellinger <nab@linux-iscsi.org>