LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2024, 04:26 AM   #1
mierdatuti
Member
 
Registered: Aug 2008
Posts: 64

Rep: Reputation: 15
can't see iSCSI with lsblk


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:controlm
More 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: running
Thanks

Last edited by mierdatuti; 03-19-2024 at 04:55 AM. Reason: more info
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lsblk failed to read hansaplazt Linux - Server 2 04-27-2017 09:43 PM
lsblk looks Chinese Soapm Linux - Software 4 11-27-2014 02:19 PM
fdisk lsblk, parted do not work eliassal Linux - Newbie 4 06-25-2014 11:38 PM
[SOLVED] pacemaker - iscsi: how to set up iscsi targets/logical units? eantoranz Linux - Server 9 01-02-2013 08:38 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration