iSCSI

Commands

  • Install the iSCSI client
yum install iscsi-initiator-utils
chkconfig iscsi on
/etc/init.d/iscsi start
  • Rescan: iscsiadm -m node --rescan or /etc/init.d/iscsi restart
  • Expand a LUN
iscsiadm -m node --rescan
/etc/init.d/multipathd reload                                     # or multipathd -k'resize map mpath0'
pvresize /dev/mapper/mpath0