- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Linux RH 3.0 recognize only 7 tape drives.
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP