Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
howtos:network_services:iscsi [2019/12/01 00:05 (UTC)]
bifferos [Configuration]
howtos:network_services:iscsi [2019/12/01 00:33 (UTC)]
bifferos [Target Configuration]
Line 47: Line 47:
 <​code>​ <​code>​
 # cat /​etc/​iscsi/​initiatorname.iscsi ​ # cat /​etc/​iscsi/​initiatorname.iscsi ​
 +</​code>​
 +
 +Mine looks like this:
 +<​code>​
 +InitiatorName=iqn.2005-03.org.open-iscsi:​91871cf5e261
 </​code>​ </​code>​
  
Line 65: Line 70:
 targetcli is a bit like a command-line directory browser except you use it to change values in a hierarchical store. That same hierarchy also contains the commands you invoke to make changes, however. ​ You've probably not seen anything like it before and it's best just described by example. targetcli is a bit like a command-line directory browser except you use it to change values in a hierarchical store. That same hierarchy also contains the commands you invoke to make changes, however. ​ You've probably not seen anything like it before and it's best just described by example.
  
 +Start by launching targetcli
  
 +<​code>​
 +# targetcli
 +targetcli shell version 2.1.51
 +Copyright 2011-2013 by Datera, Inc and others.
 +For help on commands, type '​help'​.
 +
 +/>
 +</​code>​
 +
 +Assuming you have a spare (unused) disk, you can now create a block device, e.g.:
 +
 +<​code>​
 +/> backstores/​block create name=myblockdevice dev=/​dev/​sdb
 +Created block storage object block using /dev/sdb.
 +</​code>​
  
 +That should be pretty obvious.
  
  

In Other Languages
QR Code
QR Code howtos:network_services:iscsi (generated for current page)