Last active
December 16, 2015 00:38
-
-
Save arnobroekhof/5348563 to your computer and use it in GitHub Desktop.
create iscsi mount
This file contains 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
iscsid.conf | |
node.startup = automatic | |
#set chap names | |
iscsiadm -m discovery -t sendtargets -p <ip>:<port> -n node.startup -v automatic | |
# show for verification | |
iscsiadm -m node -o show | |
# login | |
iscsiadm -m session -o login | |
# fstab entry | |
<uuid or disk_id> <mountpoint> <fstype> _netdev,defaults 0 0 | |
# enable iscsid at startup | |
# centos / redhat | |
chkconfig iscsid on | |
chkconfig iscsi on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment