- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:lio [2015/05/03 15:36] admin |
linux:lio [2019/02/05 21:26] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Quick start====== | ===== Quick start====== | ||
+ | <code bash> | ||
/etc/init.d/target stop | /etc/init.d/target stop | ||
rmmod qla2xxx | rmmod qla2xxx | ||
modprobe qla2xxx qlini_mode="disabled" | modprobe qla2xxx qlini_mode="disabled" | ||
+ | </code> | ||
We have already LVM group vg_0 | We have already LVM group vg_0 | ||
Line 29: | Line 31: | ||
<code> | <code> | ||
/qla2xxx/21:0...3f:74:39/acls> | /qla2xxx/21:0...3f:74:39/acls> | ||
+ | </code> | ||
+ | |||
+ | ====== quick start 2 ====== | ||
+ | <code> | ||
+ | cd backstores/fileio | ||
+ | create disk01 /vps/disk01.img 10G | ||
+ | cd /iscsi | ||
+ | create iqn.starlab.h5 | ||
+ | create iqn.starlab:h5 | ||
+ | create iqn.starlab.h5:target | ||
+ | create iqn.2019-06.starlab.h5:target | ||
+ | cd iqn.2019-06.starlab.h5:target/tpg1/luns | ||
+ | create /backstores/fileio/disk01 | ||
+ | cd ../acls | ||
+ | create iqn.1993-08.org.debian:backup | ||
+ | set auth ? | ||
+ | set auth=backup | ||
+ | set auth userid=backup | ||
+ | cd iqn.1993-08.org.debian:backup/ | ||
+ | set auth userid=backup | ||
+ | set auth password=TheTARGET_PATH | ||
+ | exit | ||
+ | cd iqn.2019-06.starlab.h5:target/tpg1/luns | ||
+ | cd /iscsi/iqn.2019-06.starlab.h5:target/tpg1/luns | ||
+ | cd /backstores/fileio/ | ||
+ | create raid /vps/raid.img 1200G | ||
+ | cd /iscsi/iqn.2019-06.starlab.h5:target/tpg1/luns/ | ||
+ | create /backstores/fileio/raid | ||
+ | exit | ||
+ | </code> |
linux/lio.1430660195.txt.gz · Last modified: 2015/05/03 15:36 by admin