Setup Ethernet interface to bee used by iscsi with targetcli

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am trying to create a iscsi device but I am stuck on how to assign a Ethernet interface to the device.
I got an Ethernet adapter available to be used.
I don't know how to move on.



o- / ........................................... [...]
o- backstores ................................ [...]
| o- block ................................... [Storage Objects: 1]
| | o- disk................................... [/dev/sdb1 (1.8TiB) write-thru activated]
| o- fileio .................................. [Storage Objects: 0]
| o- pscsi ................................... [Storage Objects: 0]
| o- ramdisk ................................. [Storage Objects: 0]
o- iscsi ..................................... [Targets: 1]
| o- iqn.2018-02.host2.home:server ........... [TPGs: 1]
| o- tpg1 .................................. [no-gen-acls, no-auth]
| o- acls ................................ [ACLs: 1]
| | o- iqn.2018-02.host2.home:client ..... [Mapped LUNs: 1]
| | o- mapped_lun0 ..................... [lun0 block/disk (rw)]
| o- luns ................................ [LUNs: 1]
| | o- lun0 .............................. [block/disk (/dev/sdb1)]
| o- portals ............................. [Portals: 0]
o- loopback .................................. [Targets: 0]
o- vhost ..................................... [Targets: 0]









share|improve this question























  • Please edit your question with the new content, and delete your comments above.
    – vidarlo
    Feb 14 at 17:39










  • I have move on by watching this video: youtube.com/watch?v=elWYb2n5dLA
    – Rikard Svenningsen
    Feb 17 at 12:46














up vote
0
down vote

favorite












I am trying to create a iscsi device but I am stuck on how to assign a Ethernet interface to the device.
I got an Ethernet adapter available to be used.
I don't know how to move on.



o- / ........................................... [...]
o- backstores ................................ [...]
| o- block ................................... [Storage Objects: 1]
| | o- disk................................... [/dev/sdb1 (1.8TiB) write-thru activated]
| o- fileio .................................. [Storage Objects: 0]
| o- pscsi ................................... [Storage Objects: 0]
| o- ramdisk ................................. [Storage Objects: 0]
o- iscsi ..................................... [Targets: 1]
| o- iqn.2018-02.host2.home:server ........... [TPGs: 1]
| o- tpg1 .................................. [no-gen-acls, no-auth]
| o- acls ................................ [ACLs: 1]
| | o- iqn.2018-02.host2.home:client ..... [Mapped LUNs: 1]
| | o- mapped_lun0 ..................... [lun0 block/disk (rw)]
| o- luns ................................ [LUNs: 1]
| | o- lun0 .............................. [block/disk (/dev/sdb1)]
| o- portals ............................. [Portals: 0]
o- loopback .................................. [Targets: 0]
o- vhost ..................................... [Targets: 0]









share|improve this question























  • Please edit your question with the new content, and delete your comments above.
    – vidarlo
    Feb 14 at 17:39










  • I have move on by watching this video: youtube.com/watch?v=elWYb2n5dLA
    – Rikard Svenningsen
    Feb 17 at 12:46












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to create a iscsi device but I am stuck on how to assign a Ethernet interface to the device.
I got an Ethernet adapter available to be used.
I don't know how to move on.



o- / ........................................... [...]
o- backstores ................................ [...]
| o- block ................................... [Storage Objects: 1]
| | o- disk................................... [/dev/sdb1 (1.8TiB) write-thru activated]
| o- fileio .................................. [Storage Objects: 0]
| o- pscsi ................................... [Storage Objects: 0]
| o- ramdisk ................................. [Storage Objects: 0]
o- iscsi ..................................... [Targets: 1]
| o- iqn.2018-02.host2.home:server ........... [TPGs: 1]
| o- tpg1 .................................. [no-gen-acls, no-auth]
| o- acls ................................ [ACLs: 1]
| | o- iqn.2018-02.host2.home:client ..... [Mapped LUNs: 1]
| | o- mapped_lun0 ..................... [lun0 block/disk (rw)]
| o- luns ................................ [LUNs: 1]
| | o- lun0 .............................. [block/disk (/dev/sdb1)]
| o- portals ............................. [Portals: 0]
o- loopback .................................. [Targets: 0]
o- vhost ..................................... [Targets: 0]









share|improve this question















I am trying to create a iscsi device but I am stuck on how to assign a Ethernet interface to the device.
I got an Ethernet adapter available to be used.
I don't know how to move on.



o- / ........................................... [...]
o- backstores ................................ [...]
| o- block ................................... [Storage Objects: 1]
| | o- disk................................... [/dev/sdb1 (1.8TiB) write-thru activated]
| o- fileio .................................. [Storage Objects: 0]
| o- pscsi ................................... [Storage Objects: 0]
| o- ramdisk ................................. [Storage Objects: 0]
o- iscsi ..................................... [Targets: 1]
| o- iqn.2018-02.host2.home:server ........... [TPGs: 1]
| o- tpg1 .................................. [no-gen-acls, no-auth]
| o- acls ................................ [ACLs: 1]
| | o- iqn.2018-02.host2.home:client ..... [Mapped LUNs: 1]
| | o- mapped_lun0 ..................... [lun0 block/disk (rw)]
| o- luns ................................ [LUNs: 1]
| | o- lun0 .............................. [block/disk (/dev/sdb1)]
| o- portals ............................. [Portals: 0]
o- loopback .................................. [Targets: 0]
o- vhost ..................................... [Targets: 0]






networking server virtualization iscsi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 15 at 9:03









Jenna Sloan

1033




1033










asked Feb 13 at 16:22









Rikard Svenningsen

12




12











  • Please edit your question with the new content, and delete your comments above.
    – vidarlo
    Feb 14 at 17:39










  • I have move on by watching this video: youtube.com/watch?v=elWYb2n5dLA
    – Rikard Svenningsen
    Feb 17 at 12:46
















  • Please edit your question with the new content, and delete your comments above.
    – vidarlo
    Feb 14 at 17:39










  • I have move on by watching this video: youtube.com/watch?v=elWYb2n5dLA
    – Rikard Svenningsen
    Feb 17 at 12:46















Please edit your question with the new content, and delete your comments above.
– vidarlo
Feb 14 at 17:39




Please edit your question with the new content, and delete your comments above.
– vidarlo
Feb 14 at 17:39












I have move on by watching this video: youtube.com/watch?v=elWYb2n5dLA
– Rikard Svenningsen
Feb 17 at 12:46




I have move on by watching this video: youtube.com/watch?v=elWYb2n5dLA
– Rikard Svenningsen
Feb 17 at 12:46















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1005859%2fsetup-ethernet-interface-to-bee-used-by-iscsi-with-targetcli%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1005859%2fsetup-ethernet-interface-to-bee-used-by-iscsi-with-targetcli%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491