You are not allowed to add pages
This is an old revision of the document!
list # iscsiadm -m node logout all # iscsiadm -m node -U all session # iscsiadm -m session # iscsiadm -m session -P 3
yum install targetcli systemctl status target systemctl enable target targetcli /> ls o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- block .................................................................................................. [Storage Objects: 0] | o- fileio ................................................................................................. [Storage Objects: 0] | o- pscsi .................................................................................................. [Storage Objects: 0] | o- ramdisk ................................................................................................ [Storage Objects: 0] o- iscsi ............................................................................................................ [Targets: 0] o- loopback ......................................................................................................... [Targets: 0]
FILEIO (Linux file-backed storage) write_back and write_thru /> /backstores/fileio create file1 /home/tgt/disk1.img 100G write_back=false Created fileio file1 with size 107374182400 /> ls /backstores/fileio/ o- fileio ..................................................................................................... [Storage Objects: 1] o- file1 ................................................................. [/home/tgt/disk1.img (100.0GiB) write-thru deactivated] o- alua ....................................................................................................... [ALUA Groups: 1] o- default_tg_pt_gp ........................................................................... [ALUA state: Active/optimized] BLOCK (Linux BLOCK devices) /> /backstores/block create name=block1 dev=/dev/sdb Generating a wwn serial. Created block storage object block_backend using /dev/sdb. PSCSI(Linux pass-through SCSI devices) RAMDISK(Linux RAMDISK_MCP)