can't see iSCSI with lsblk
by mierdatuti from LinuxQuestions.org on (#6KEYM)
I've configured a freeNas with iSCSI and two nodes connecting to that device. Everithing it's ok but after reboot I can't see with lsblk:
Code:lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 35G 0 disk
sda1 8:1 0 1G 0 part /boot
sda2 8:2 0 34G 0 part
rhel-root 253:0 0 30,5G 0 lvm /
rhel-swap 253:1 0 3,5G 0 lvm [SWAP]
sr0 11:0 1 4,2G 0 rom
iscsiadm -m discovery -t st -p 192.168.1.171
192.168.1.171:3260,1 iqn.2005-10.org.freenas.ctl:controlmMore info:
Code:iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 6.2.0.874-22
Target: iqn.2005-10.org.freenas.ctl:controlm (non-flash)
Current Portal: 192.168.1.171:3260,1
Persistent Portal: 192.168.1.171:3260,1
**********
Interface:
**********
Iface Name: ens36
Iface Transport: tcp
Iface Initiatorname: iqn.1994-05.com.redhat:1539a5acd564
Iface IPaddress: 192.168.1.151
Iface HWaddress: <empty>
Iface Netdev: <empty>
SID: 1
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
*********
Timeouts:
*********
Recovery Timeout: 120
Target Reset Timeout: 30
LUN Reset Timeout: 30
Abort Timeout: 15
*****
CHAP:
*****
username: <empty>
password: ********
username_in: <empty>
password_in: ********
************************
Negotiated iSCSI params:
************************
HeaderDigest: None
DataDigest: None
MaxRecvDataSegmentLength: 262144
MaxXmitDataSegmentLength: 131072
FirstBurstLength: 131072
MaxBurstLength: 16776192
ImmediateData: Yes
InitialR2T: Yes
MaxOutstandingR2T: 1
************************
Attached SCSI devices:
************************
Host Number: 33 State: running
scsi33 Channel 00 Id 0 Lun: 0
Attached scsi disk sdb State: runningThanks
Code:lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 35G 0 disk
sda1 8:1 0 1G 0 part /boot
sda2 8:2 0 34G 0 part
rhel-root 253:0 0 30,5G 0 lvm /
rhel-swap 253:1 0 3,5G 0 lvm [SWAP]
sr0 11:0 1 4,2G 0 rom
iscsiadm -m discovery -t st -p 192.168.1.171
192.168.1.171:3260,1 iqn.2005-10.org.freenas.ctl:controlmMore info:
Code:iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 6.2.0.874-22
Target: iqn.2005-10.org.freenas.ctl:controlm (non-flash)
Current Portal: 192.168.1.171:3260,1
Persistent Portal: 192.168.1.171:3260,1
**********
Interface:
**********
Iface Name: ens36
Iface Transport: tcp
Iface Initiatorname: iqn.1994-05.com.redhat:1539a5acd564
Iface IPaddress: 192.168.1.151
Iface HWaddress: <empty>
Iface Netdev: <empty>
SID: 1
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
*********
Timeouts:
*********
Recovery Timeout: 120
Target Reset Timeout: 30
LUN Reset Timeout: 30
Abort Timeout: 15
*****
CHAP:
*****
username: <empty>
password: ********
username_in: <empty>
password_in: ********
************************
Negotiated iSCSI params:
************************
HeaderDigest: None
DataDigest: None
MaxRecvDataSegmentLength: 262144
MaxXmitDataSegmentLength: 131072
FirstBurstLength: 131072
MaxBurstLength: 16776192
ImmediateData: Yes
InitialR2T: Yes
MaxOutstandingR2T: 1
************************
Attached SCSI devices:
************************
Host Number: 33 State: running
scsi33 Channel 00 Id 0 Lun: 0
Attached scsi disk sdb State: runningThanks