LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-29-2015, 12:14 PM   #1
bubai70
LQ Newbie
 
Registered: Aug 2012
Posts: 15

Rep: Reputation: Disabled
unable to see the LUN in RHEL6 where as successfully logged in


server ip: 192.168.1.1
client ip: 192.168.1.222
selinux = permissive
firewall = disabled

only "/dev/sda" disk is showing whereas "sdb" also should have shown under /dev directory .....
unable to confirm the actual problem




please give your valuable inputs guys ......
thanks in advance ......
Attached Thumbnails
Click image for larger version

Name:	error.PNG
Views:	35
Size:	43.9 KB
ID:	20162  
 
Old 11-29-2015, 12:30 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by bubai70 View Post
server ip: 192.168.1.1
client ip: 192.168.1.222
selinux = permissive
firewall = disabled

only "/dev/sda" disk is showing whereas "sdb" also should have shown under /dev directory ..... unable to confirm the actual problem

please give your valuable inputs guys ...... thanks in advance ......
First, read the "Question Guidelines" link in my posting signature. You are not providing NEAR enough information to let anyone help you. You say RHEL6, and post IP addresses. You leave out what kind of SAN you're attaching to, how you're attaching to it, over what kind of HBA, using which drivers, and how the SAN was configured, or what you've done/tried so far. In short, nothing that would let anyone help you.

Since you're using a SAN and RHEL, you can call Red Hat support, since you're PAYING FOR RHEL, right? They can assist you.
 
Old 11-29-2015, 04:06 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
What do you see in /var/log/messages?
 
Old 11-29-2015, 11:23 PM   #4
bubai70
LQ Newbie
 
Registered: Aug 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
i configured only rhel6 scsi storage in vmware8 in my win7 laptop. nothing else ..

/var/log/messeges screenshot attached ....
Attached Thumbnails
Click image for larger version

Name:	error2.PNG
Views:	18
Size:	49.9 KB
ID:	20174  
 
Old 11-29-2015, 11:41 PM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
It looks like there are no LUNs configured on the targed. Or not exposed to your initiator. /var/log/messages shows that you have access to the controller, but nothing else.

I forgot to also recommend the lsscsi command. It should confirm what I am saying. RHEL6 doesn't include it by default; run yum install lsscsi.
 
1 members found this post helpful.
Old 11-30-2015, 07:30 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by bubai70 View Post
i configured only rhel6 scsi storage in vmware8 in my win7 laptop. nothing else ..

/var/log/messeges screenshot attached ....
...and is there some reason you ignored ALL of the questions I asked you initially??? Again, you leave out what kind of SAN you're attaching to, how you're attaching to it, over what kind of HBA, using which drivers, and how the SAN was configured. Again, RHEL6 is NOT FREE...are you PAYING for RHEL6? And without an HBA or some sort of attachment to a SAN, how is it going to know about it?
 
Old 12-04-2015, 10:30 AM   #7
ksovi
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by bubai70 View Post
i configured only rhel6 scsi storage in vmware8 in my win7 laptop. nothing else ..

/var/log/messeges screenshot attached ....
it seems that on your iscsi server you have not mapped any LUNs to the target you are connecting to.
Go to your iscsi server and check /etc/tgt/targets.conf

maybe you need to reload the targets : tgt-admin --update ALL --force
 
Old 12-04-2015, 12:37 PM   #8
bubai70
LQ Newbie
 
Registered: Aug 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi

I have found the problem ... when I type the command "#tgt-admin --show" ....
It shows me the only lun0 and the volume I mapped with it is not showing


Where as I modified the newly created target in /etc/tgt/targets.Conf but after that while I tried to discover this lun from initiator through iscsiadm command it did not show me the modified value. It's showed me only the lun0.
 
Old 12-04-2015, 08:41 PM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
So - is it solved or not? If not, what do you get in /var/log/messages on the initiator?
I don't know where the target logs its messages, but look there as well.
 
1 members found this post helpful.
Old 12-05-2015, 09:45 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by berndbausch View Post
So - is it solved or not? If not, what do you get in /var/log/messages on the initiator?
I don't know where the target logs its messages, but look there as well.
Good luck..I asked several questions, and got answers to none of them. Even though the OP asked for our 'valuable inputs'.

OP, if you're not going to answer questions when asked, there isn't much point in posting in a forum. You'd be far better off (as I suggested initially), calling Red Hat support. Since, AGAIN, you are PAYING for RHEL, right?????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to discover LUN error Authentication Failure bubai70 Linux - Distributions 1 08-09-2015 12:46 AM
Unable to successfully run menulibre JKostaRibeiro Slackware 15 05-21-2015 04:30 PM
Unable To Successfully Change Root Password Robs58 Linux - Security 3 09-05-2014 10:57 AM
[SOLVED] Unknown, Unseen users logged into RHEL6 VMs! How Do I Trace? filius_deus Linux - Security 9 12-06-2013 10:53 AM
Unable to view Lun on RHEL4 AS limp2cwm Linux - Enterprise 7 03-02-2007 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:04 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