- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Shared Tape Issue in Linux
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
Forums
Discussions
Discussions
Discussions
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
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
08-03-2006 06:47 AM
08-03-2006 06:47 AM
We are trying to use tape drives via a tape SAN with Linux (DP media server). We are encountering the same issue on Linux that we do on other operating systems where the OS from one host tries to access the tape device for some reason (mt command, scsi probe etc) and it causes the tape to rewind resulting in serious issues for the backup software.
With HP-UX we use a st_san_safe switch in the kernel to avoid this behavior. With windows, we ensure that the SAN connected servers cannot see SAN tape drives from the OS.
Has anyone been succesful with Linux hosts connected to SAN based tape devices in a heterogenous environment?
Thanks.
HW - HP DL385 (AMD 64 bit)
OS - Linux (RHEL4.2)
HBAs- HP FCA2214 (Qlogic)
Drives - IBM LTO2, HPLTO1
Application - Data Protector 5.5
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2006 08:37 PM
08-03-2006 08:37 PM
Re: Shared Tape Issue in Linux
2) in DP ensure that all servers see the same device under the same serial number. Make sure the lock name is the same and also the Multipath device and Automatically discover changed SCSI address check boxes are checked.
You can always force a reload of the serial number too in DP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 03:25 AM
08-04-2006 03:25 AM
Re: Shared Tape Issue in Linux
What I would recommend to have the best shot at this is the following:
1) upgrade to rhel4u4
2) use the qlogic version of the hba drivers and firmware, not the redhat or hp versions.
3) do a good reading of the man files for the mt/mtx command series. There are several switches and raw device variants that may help run things slightly better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2006 09:01 AM
08-06-2006 09:01 AM
SolutionAs far as I know, DP configures Unix/Linux tape devices using the "no rewind" device file (ex : /dev/nst0 instead of /dev/st0).
Check this and change your configuration if needed.
Tip : delete the "rewind" device file (rm /dev/st0) to avoid other programs trying to access it.
Good lcuk.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 03:57 AM
08-15-2006 03:57 AM
Re: Shared Tape Issue in Linux
Red Hat recommeded that I change the default perms that the rewind devices were created with:
The easiest way should be to edit the:
/etc/udev/permissions.d/50-udev.permissions
Please make a backup of this file before editing.
Then remove the "st*:root:disk:0660" line.
But root can still issue commands against those devices. Also, when we reboot the Linux media server, it appears that we are hitting the rewind devices and corrupting backup jobs from other attached hosts.
I'll post an update should a solution become available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2006 02:22 AM
08-22-2006 02:22 AM
Re: Shared Tape Issue in Linux
I've been up and running for a couple of days now and hope we found a solution. Based on this experience, here are the lessons learned about running a Data Protector media server on Red Hat linux:
1) Don't use 64 bit Linux. This required a special dvbra to run sanconf.
2) If you're on a heterogeneous tape SAN, remove access to the rewind devices. This is how I approached it (based on suggestions from Red Hat support):
Rename rewind devices:
edit-> /etc/udev/rules.d/50-udev.rules
add-> KERNEL="st[0-9]*", BUS="scsi", NAME="xst%n"
Change default perms on rewind devices:
edit-> /etc/udev/permissions.d/50-udev.permissions
change st perms line to-> xst*:root:disk:0000
Of course, your mileage may vary, but this seems to be working well in our environment.