- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SCSI TAPE: dev = 0xcd000000 Failed open - st_s...
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
12-08-2004 04:58 AM
12-08-2004 04:58 AM
SCSI TAPE: dev = 0xcd000000 Failed open - st_san_safe enabled
I have a rp-2400 box. Its is in SAN with multiple XP boxes and Tape libraries.
I am getting an error
"SCSI TAPE: dev = 0xcd000000 Failed open - st_san_safe enabled " in syslog and it is repeating. Anyway my normal operations are so far not affected.
Can anyone advice me what can be the issue ?
Regards
Raneesh Vijayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 05:11 AM
12-08-2004 05:11 AM
Re: SCSI TAPE: dev = 0xcd000000 Failed open - st_san_safe enabled
You can check your dmesg output
dmesg
You can run cstm,mstm or X Windows xstm and test the thing with an exercize command. You'll need a blank tape that you can write to for a complete test.
Lets say you don't have a drive.
You system has at one point detected a tape drive somewhere on the san and misses it.
the drivers should be in /dev/rmt
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 0/3/0/0.1.0 stape CLAIMED DEVICE HP Ultrium 1-SCSI
/dev/rmt/0m /dev/rmt/c4t1d0BEST
/dev/rmt/0mb /dev/rmt/c4t1d0BESTb
/dev/rmt/0mn /dev/rmt/c4t1d0BESTn
/dev/rmt/0mnb /dev/rmt/c4t1d0BESTnb
rmsf command will make those files go away.
If they keep coming back then there is an issue in the SAN configuration zoning that needs to be dealt with to make the error message stop.
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
12-08-2004 05:14 AM
12-08-2004 05:14 AM
Re: SCSI TAPE: dev = 0xcd000000 Failed open - st_san_safe enabled
/Quote/
This behavior occurred because the st_san_safe kernel parameter was set. When the st_san_safe kernel parameter is set, the rewind-on-close tape devices can not be used. Only a no-rewind tape device can be used, i.e. operations on a no-rewind device such as /dev/rmt/0mn will work as expected.
Any opens on a rewind-on-close device will return EINVAL and the following message will be sent to the syslog:
SCSI TAPE: dev = 0x%x Failed open - st_san_safe enabled
/EndQuote/
I would think that you should disable this parameter (set it to 0) in the kernel. Otherwise you won't be able to use the rewind device 0m/1m.. for backups.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 05:19 AM
12-08-2004 05:19 AM
Re: SCSI TAPE: dev = 0xcd000000 Failed open - st_san_safe enabled
http://www.informatik.uni-frankfurt.de/RBI/hp-service/patches/s700_800/11.X/PHKL_29899.txt
Another Quote:
When a host application is writing data to a tape, another tape command like mt(1) could be issued from a different host to the same device using a device file without the
no-rewind-on-close option (i.e rewind-on-close). This second command would issue a rewind-on-close to the drive between writes (of the first host) causing the tape toreposition to beginning of tape (BOT). The first host that is writing to the drive would have no knowledge thatthe tape was repositioned and it would then continue
writing from the BOT, effectively overwriting the previously written data.
Resolution:
This patch introduces a kernel tuneable called "st_san_safe" which has a default state of DISABLED when this patch is installed. When st_san_safe is enabled by
setting "st_san_safe=1", this forces the stape driver to fail all opens to device files which do not have the no-rewind-on-close option with the errno "EINVAL". The stape driver will also log an entry into the syslog like the following:
vmunix: SCSI TAPE: dev = 0xcd002000 Failed open - st_san_safe enabled
When st_san_safe is enabled, mksf(1M) will only create new device files with a no-rewind-on-close option. The mksf(1M) command will fail with an error indicating an
invalid option was provided in the command line arguments. With st_san_safe enabled, lssf(1M) will not fully decode the density attribute of a tape special device file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 11:30 PM
12-08-2004 11:30 PM
Re: SCSI TAPE: dev = 0xcd000000 Failed open - st_san_safe enabled
Thanks guys,
There was an Ultrium drive which gone offline in a tape Library.
Your inputs really helped me to trace the issue.
Regards
Raneesh Vijayan