- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux RH 3.0 recognize only 7 tape drives.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 02:33 AM
тАО03-30-2005 02:33 AM
Linux RH 3.0 recognize only 7 tape drives.
my machine connected to P3000 Library.
the problem is that the machine recognize only 7 tape drives.
cat /proc/scsi/scsi show only
7 tape drives, but hbanyware show all 10 drives and the robot.
what can I do to recognize all tape drives?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 12:24 PM
тАО03-30-2005 12:24 PM
Re: Linux RH 3.0 recognize only 7 tape drives.
SCSI supports at least 15 devices nowadays, but the default driver seemingly does not.
I would check to see that the SCSI Id setup is correct on the tape array.
Also, if this device is part of a scsi chain, it needs a scsi card all to itself. Even if there is no conflict, a chained setup will create i/o bottlenecks and peformance issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 05:40 PM
тАО03-30-2005 05:40 PM
Re: Linux RH 3.0 recognize only 7 tape drives.
The linux kernel driver has a hard-coded limit of 7 tape drives.
<<< st.h >>>
#define ST_NBR_MODE_BITS 2
#define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)
#define ST_MAX_TAPES (1 << ST_MODE_SHIFT)
<<< /st.h >>>
From the README.st file:
The maximum number of tape devices is determined by the define ST_MAX_TAPES. If more tapes are detected at driver initialization, the maximum is adjusted accordingly.
Your best bet is to email the st driver maintainer => Kai.Makisara@kolumbus.fi
Or post a request to the Linux Kernel Mailinglist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 06:06 PM
тАО03-30-2005 06:06 PM
Re: Linux RH 3.0 recognize only 7 tape drives.
#define ST_MAX_TAPES 128
So this problem may be solved in RHEL4. Try it and please post the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2005 01:18 AM
тАО03-31-2005 01:18 AM
Re: Linux RH 3.0 recognize only 7 tape drives.
I will try it soon and write an update here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2005 01:39 AM
тАО03-31-2005 01:39 AM
Re: Linux RH 3.0 recognize only 7 tape drives.
I think I will change this parameter hard coded, and then try to work with.
Is this way recomended ?
if yes, the parameter now is:
" #define ST_MAX_TAPES (1 << ST_MODE_SHIFT)"
if I will just change it to
" #define ST_MAX_TAPES 128 " is it o.k. ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2005 02:29 AM
тАО03-31-2005 02:29 AM
Re: Linux RH 3.0 recognize only 7 tape drives.
SCSI howto says "The st driver is capable of recognizing 32 tape drives"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2005 04:15 AM
тАО03-31-2005 04:15 AM
Re: Linux RH 3.0 recognize only 7 tape drives.
Add "max_scsi_luns=128" and "scsi_allow_ghost_devices=1" to your boot string or the options scsi_mod in /etc/modules.conf.
My modules.conf has "options scsi_mod max_scsi_luns=128 scsi_allow_ghost_devices=1
".
Bill