LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2017, 12:13 PM   #1
cjhund1969
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Rep: Reputation: Disabled
Multiple media changers with the same SN/WWN


Hi All,

I have a redhat box which was zoned up to a VTL (singular) on two fabrics. For that reason, there are two /dev/sg* devices for this VTL. These two devices share the same device serial number.

Within my backup application on this server (TSM), you can only point the device path for that VTL to one of these two devices, but I'd like the O/S to use them both. Is there some way at the O/S level in redhat to link those two devices together?

Sincere thanks,
C.J.
 
Old 02-22-2017, 12:19 PM   #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
This is what Linux multipath does - gives you a single device based on multiple paths to the device. Each path to a device would use standard scsi disk naming (/dev/sd*) but the multipath device uses a name (e.g. if using "friendly names") like /dev/mapper/mpath* and you set your processes to use that device instead of any of the underlying /dev/sd* devices. If one of the underlying paths goes away your processes still work because they can get to the disk via the other sd path.

If you do a web search for "multipath tutorial" you'll find various hits like this one:
http://thegeekdiary.com/beginners-gu...-multipathing/

Of course on rereading it appears you're talking about tape rather than disk and I've not done anything like that with tape. For our tape libraries we only have one path to tape for each drive and were told multipathing isn't possible. For your VTL I don't know the answer. I did find hits talking about multipathing for IBM and TSM:
https://adsm.org/forum/index.php?thr...ltipath.16459/ (For AIX?)
https://www.ibm.com/support/knowledg...4multipath.htm

Another hit I found mentions tape for standard Linux multipathing (device mapper multipath) but has no examples other than the disk multipathing I'm familiar with.

Last edited by MensaWater; 02-22-2017 at 12:28 PM.
 
  


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
CentOS 7.2 upgrade changes wwn ids PeterSteele CentOS 1 01-20-2016 09:54 AM
How to find WWN for /dev/sdc usao Linux - Server 16 10-30-2015 06:27 AM
how to configure a HBA card and see it's WWN ? compman Linux - Hardware 5 10-15-2014 11:13 AM
what is the command to find wwn in linux? sujithspillai90 Linux - Newbie 2 10-09-2012 02:19 AM
Pioneer SCSI CD disk changers Dan_D Linux - Hardware 0 02-18-2008 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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