Skip to content

Instantly share code, notes, and snippets.

@arnobroekhof
Last active December 16, 2015 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnobroekhof/5348563 to your computer and use it in GitHub Desktop.
Save arnobroekhof/5348563 to your computer and use it in GitHub Desktop.
create iscsi mount
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