-
-
Save 2grep/45f6df4b277e1353dcce to your computer and use it in GitHub Desktop.
iscsi setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zpool status | |
pool: tank | |
state: ONLINE | |
scan: none requested | |
config: | |
NAME STATE READ WRITE CKSUM | |
tank ONLINE 0 0 0 | |
mirror-0 ONLINE 0 0 0 | |
ada1 ONLINE 0 0 0 | |
ada2 ONLINE 0 0 0 | |
mirror-1 ONLINE 0 0 0 | |
ada3 ONLINE 0 0 0 | |
ada4 ONLINE 0 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth-group ag0 { | |
chap spectrum bigrandompassword | |
chap accelerator anotherbigrandompassword | |
} | |
portal-group pg0 { | |
discovery-auth-group no-authentication | |
listen 0.0.0.0 | |
listen [::] | |
} | |
target iqn.2015-10.com.hisdomain:target0 { | |
auth-group ag0 | |
portal-group pg0 | |
lun 0 { | |
path /tank/images | |
size 8T | |
} | |
} | |
target iqn.2015-10.com.hisdomain:target1 { | |
auth-group ag0 | |
portal-group pg0 | |
lun 1 { | |
path /tank/images2 | |
size 4T | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment