ISCSI
From Christoph's Personal Wiki
Revision as of 20:21, 5 May 2014 by Christoph (Talk | contribs) (New page: '''iSCSI''' (Internet SCSI) is an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. * IQN ("iSCSI Qualified Name"): iqn.yyyy-mm.{reverse domai...)
iSCSI (Internet SCSI) is an Internet Protocol (IP)-based storage networking standard for linking data storage facilities.
- IQN ("iSCSI Qualified Name"):
iqn.yyyy-mm.{reverse domain}:label
Accessing iSCSI storage
fdisk -l iscsiadm -m discovery -t st -p 192.168.0.254 iscsiadm -m node -T iqn.2010-09.com.example:rdisks.server3 -p 192.168.0.254 -l chkconfig --list|grep iscsi fdisk -cu /dev/sda partx -a /dev/sda mkfs.ext4 /dev/sda1 mkdir /iscsi vi /etc/fstab mount -a df -h touch /iscsi/foobar
- Log out
iscsiadm -m node -T iqn.2010-09.com.example:rdisks.server3 -p 192.168.0.254 -u
- Delete local record
iscsiadm -m node -T iqn.2010-09.com.example:rdisks.server3 -p 192.168.0.254 -o delete
Misc
service iscsi status less /etc/iscsi/initiatorname.iscsi ls -l /dev/disk/by-path/*iscsi* dmesg || tail /var/log/messages less /var/lib/iscsi/nodes/iqn.2010-09.com.example\:rdisks.server3/192.168.0.254\,3260\,1/default less /usr/share/doc/iscsi-initiator-utils-*/README