ISCSI (Internet Small Computer System Interface) , Internet Small Computer System Interface, also known as IP-SAN is a storage technology based on the Internet under the SCSI-3 protocol and
is directly on the device sharing service iscsi
nfs network shared file system services
smb / cifs LAN to share file services
provided
SELinux modifications to warning mode
0 setenforce
"" "
server
to create a new partition / dev / vdb1, size 1G
Installation targetcli
turn on and turn target
target command to enter see directory
creation block store, create iqn name
See iqn directory
created LUN (block device logical unit)
created ACL allows ISCSI clients connected
client domain name should be consistent with the above, the latter names are free from
configure client IP address and port
The default port is 3260
to join firewall mechanism port 3260
is loaded View
"" "
Client
Installation Client Tools
systemctl start iscsid
Open
systemctl enable iscisd
Boot from Kai
editing configuration files
and server create a consistent ACL
restart
systemctl restart iscsi
found iqn server
identifies the server shared
view hard disk information and found that the virtual hard disk / dev / sda
fdisk the -l
format the virtual hard disk
Mount
View Mount UUID
permanently hanging load
automatically mount all the equipment
to see mount
ISCSI uninstall
the configuration file is deleted permanently mounting information in
the installation tool tree
view tree diagram
tree / var / lib / iscsi
unloading ISCSI node
delete ISCSI node
view ISCSI node tree diagram has been deleted
Check the hard disk / dev / sda virtual hard disk has been removed
. "" "
the server
to delete all profiles