Help answer threads with 0 replies.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 10-11-2018, 08:41 PM   #1
Registered: Aug 2003
Posts: 158

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?

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

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
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?


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
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 > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:59 PM.

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