LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-11-2018, 08:41 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 199

Rep: Reputation: 15
iSCSI Duplicate Devices


I'm running CENTOS 7 connecting to an iSCSI Target with 2 LUNS. I'm able to connect to the Target with no issues. Executing the command "sudo fdisk -l" shows two new devices "/dev/sdd" & "/dev/sde".

However, when I reboot my system it increases the number of devices by 2/two. Not only do I see still see "/dev/sdd", "/dev/sde" I also have 2/two additional devices showing: "/dev/sdf" & "/dev/sdg" which have not been added.

It appears that when the reboots occurs the iscsiadm command is logging on to the Target again and adding the LUNS a second time as "/dev/sdf" & "/dev/sdg", WHY?

What else be causing this to occur? I can successfully remove them and everything is fine but they should not be occurring in the first place. Is there some additional parameter that needs to be include with the iscsiadm command to prevent this from occurring?

Thanks
 
Old 10-12-2018, 08:36 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I haven't really played with iscsi. However, it is possible to have 2 or more paths to the same SCSI disk. I'm wondering if that is what is occurring here?

This page has discussion about multiple paths with iscsi so may be of some help.

Another idea: It is possible that a drive that was say /dev/sdi on one boot becomes say /dev/sdp on the next. Did you do something to make the the sdd and sde names get created manually on each boot (e.g. with udev rules)? If so is it possible the sdf and sdg names were created by the boot while the sdd and sde were created by your rules?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is ISCSI a protocol for SAN devices RHCE_ran Linux - Enterprise 1 01-20-2014 04:16 AM
Help on naming iscsi devices with udev TheR_ Linux - Server 1 09-09-2009 07:46 AM
iSCSI, LUN, and devices gmex Linux - Software 3 09-22-2007 09:13 AM
ISCSI initiator problems w/openfiler - no devices Jim Dowling Linux - Software 4 08-10-2007 02:17 PM
iSCSI Targets for Tape (character) Devices ben.kuiper Linux - Networking 3 03-15-2007 10:18 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:03 PM.

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