- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tape drive troubles
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
05-29-2007 04:53 AM
05-29-2007 04:53 AM
I issue a backup (cpio -ocuvB) to the tape, and that seems to go well.
Next, issue rewind (mt rew) before I read back for a verify, and it can't find the device.
ioscan -fn shows the device is claimed and lists the dev's etc.
# mt -f /dev/rmt/c4t6d0BEST rew
/dev/rmt/c4t6d0BEST: No such device or address
# cpio -ictBv < /dev/rmt/c4t6d0BEST
sh: /dev/rmt/c4t6d0BEST: Cannot find or open the file.
# ls -l /dev/rmt/c4t6d0BEST
crw-rw-rw- 2 bin bin 205 0x046000 May 29 11:36 /dev/rmt/c4t6d0BEST
A few weeks back the same thing happened, except that the ioscan was flaky - sometimes it would not claim the device.
So, using my HP support, and on HP's recommendation, I had the drive replaced.
The replacement worked fine a few weeks. Now it's doing essentially the same thing, except that the device always seems to be claimed.
Can anyone give me some insight or some ideas as to how to approach this?
The odd thing is that a backup (cpio -ocuvB) appears to "work", that is, it runs for the expected amount of time, and stops without error.
Subsequent rewinds or tape listings fail.
Thanks in advance,
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 04:57 AM
05-29-2007 04:57 AM
Re: tape drive troubles
Could be another bad drive.
Check and replace cables, perhaps scsi card. These drives like being on their own exclusive scsi card, better throughput and reliability.
Also, I'd remove all drivers stape and tape drivers, rmsf, possibly re-arrange /etc/ioinit and start again.
cstm mstm xstm show no trouble?
Another idea: Bad or unsupported tape media.
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
05-29-2007 05:44 AM
05-29-2007 05:44 AM
Re: tape drive troubles
Here are the things that you should check:
1) Is the bus terminated in exactly two places? At the physical ends of the bus?
2) Is at least one device on the bus supplying termination power?
3) Does your total cable length exceed maximum bus length?
4) Most DLT-7000's were HVD (FWD) SCSI devices; if so, only one active DLT-7000 or 8000 is supported per bus.
If all of these conditions are met, I would replace the terminator(s) and see if the condition improves and then you are down to either the drive or the HBA --- or in very rare cases the cable --- but that is rare (but not unheard of) for intermittant problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 06:07 AM
05-29-2007 06:07 AM
Re: tape drive troubles
This drive is alone on the interface/bus, and is the only tape drive on the server.
I'm not thinking it's a tape issue - these are almost a year old and due for replacement but I've tried about 6 tapes, all same result.
I've never used the stm tool before, so that's been interesting. Selected the device easy enough. 'Information', 'Verify' and 'Exercise' all run clean after many iterations. Can't get 'Diagnose' to run, the interface (mstm) just beeps at me as though it's not an option that I can use.
At first opportunity I will re-seat the drive and cables, perhaps the interface card as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 08:07 AM
05-29-2007 08:07 AM
Re: tape drive troubles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2007 09:57 AM
05-29-2007 09:57 AM
Re: tape drive troubles
Of course, you should at least power off the drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 04:25 AM
05-30-2007 04:25 AM
Re: tape drive troubles
If this trend continues I'll call HP about another tape drive.
Still, more tests are warranted.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 07:51 AM
05-30-2007 07:51 AM
Re: tape drive troubles
Power-cycle and it's good again for a while.
I still haven't reseated cables/terminator but that's next.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 02:56 AM
06-05-2007 02:56 AM
Re: tape drive troubles
This whole business appears to be caused by running out of tape space. It's asking for a second volume.
It can get about 19 GB on there, but more than that and it fails.
The drive is a DLT7000, C6375A.
The tape is an HP DLT IV, which should be OK for 40-80 GB and I'm only getting 20, it would seem.
The device I'm using is /dev/rmt/c4t6d0BEST
I have others installed:
/dev/rmt/0m
/dev/rmt/0mb
/dev/rmt/0mn
/dev/rmt/0mnb
/dev/rmt/c4t6d0BEST
/dev/rmt/c4t6d0BESTb
/dev/rmt/c4t6d0BESTn
/dev/rmt/c4t6d0BESTnb
Am I using the wrong one? I'm not sure what the suffixes stand for in the dev names.
I'm running a cpio right now, and the "Compress" and "35.0" lights are lit.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 06:09 AM
06-05-2007 06:09 AM
Re: tape drive troubles
ALL of the device files you listed are compressed. You decode the device files using the lssf command and look for the words: "best density available". For modern tape drives (DLT, DDS, LTO, etc) this has nothing to do with density as it did in the ancient times of 1/2" reel-to-reel.
The problem with running out of tape is very likely your measurement method for the backup. If you save tens of thousands of files, there will be a high overhead relative to the size of the files, thus contributing to a lower value. Also, if you don't keep the data moving at full speed, you'll get terrible performance. cpio (and tar and pax, etc) are simply not suitable for high speed tape drives. Try fbackup and be sure to use the config file for best performance.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 06:36 AM
06-05-2007 06:36 AM
Re: tape drive troubles
As an administrator someplace else, I used it, but the scripts were written by others and frankly I never took the time to see what it all was doing.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2007 07:10 AM
06-19-2007 07:10 AM
Re: tape drive troubles
Mine seems to be running very slow; I re-seated cables but that didn't seem to make any difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 03:04 AM
06-20-2007 03:04 AM
Solutioncpio is a single threaded application so it has to read a record from disk, select the tape, write a record to it, wait for a status and then repeat. The old DLT7000 will likely never run a full speed, or more accurately, will run full speed for a few records, then stoip, back up, and wait for more data. tar, cpio, pax, dump, etc are not designed for modern tape drives and will be unable to handle large files (more than 10Gb).
If the drive is kept busy, you can backup about 18 Gb/hour with uncompressible data, perhaps more if the data can be compressed by the drive. Anything less and your backup program is the problem. The only built-in program that can keep the drive busy is fbackup, but only if you use a config file like this:
blocksperrecord 4096
records 64
checkpointfreq 4096
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000
---------------------------------------------
Example for a complete backup starting at / (root):
fbackup -i / -v -c config-file -f /dev/rmt/0m
Display the tape header with dates:
frecover -V - -f /dev/rmt/0m
Display the table of contents:
frecover -I - -f /dev/rmt/0m
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 04:44 AM
06-20-2007 04:44 AM
Re: tape drive troubles
It's taking me 5-6 hours to backup 17 GB right now, using cpio. I looked back over several years worth of records, and it used to be a little quicker (4 hours) but that's it.
The bulk of the data are Progress database files, and online packed backups of same.
At first I was thinking that there was a cable or hardware problem but I doubt that now.
I've never used fbackup but will give it a shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 12:43 AM
07-20-2007 12:43 AM
Re: tape drive troubles
I have some questions about fbackup and cpio, which I'll put in a new thread.